• Pierre Gondois's avatar
    arm64: dts: qcom: Update cache properties · 9435294c
    Pierre Gondois authored
    The DeviceTree Specification v0.3 specifies that the cache node
    'compatible' and 'cache-level' properties are 'required'. Cf.
    s3.8 Multi-level and Shared Cache Nodes
    The 'cache-unified' property should be present if one of the
    properties for unified cache is present ('cache-size', ...).
    
    Update the Device Trees accordingly.
    
    About msm8953.dtsi:
    According to the Devicetree Specification v0.3,
    s3.7.3 'Internal (L1) Cache Properties',
      cache-unified:
      If present, specifies the cache has a unified or-
      ganization. If not present, specifies that the
      cache has a Harvard architecture with separate
      caches for instructions and data.
    Plus, the 'cache-level' property seems to be reserved to higher
    cache levels (cf s3.8).
    
    To describe a l1 data/instruction cache couple, no cache
    information should be described. Remove the l1 cache nodes.
    Signed-off-by: default avatarPierre Gondois <pierre.gondois@arm.com>
    [bjorn: Moved "qcom" to $subject prefix]
    Signed-off-by: default avatarBjorn Andersson <andersson@kernel.org>
    Link: https://lore.kernel.org/r/20221107155825.1644604-17-pierre.gondois@arm.com
    9435294c
sm6350.dtsi 43.9 KB