Commit ea87f1eb authored by Rob Herring's avatar Rob Herring
Browse files

dt-bindings: arm: Allow 32-bit 'cpu-release-addr' values



While the DT Spec says 'cpu-release-addr' is always 64-bit, some 32-bit Arm
DTs used a 32-bit value. We're now stuck with those cases, so add uint32 as
a valid type.

Signed-off-by: default avatarRob Herring <robh@kernel.org>
Acked-by: default avatarKrzysztof Kozlowski <krzysztof.kozlowski@canonical.com>
Link: https://lore.kernel.org/r/20220303165710.1859862-1-robh@kernel.org
parent 309d9559
Loading
Loading
Loading
Loading
+5 −5
Original line number Diff line number Diff line
@@ -232,14 +232,14 @@ properties:
          - ti,am4372

  cpu-release-addr:
    $ref: '/schemas/types.yaml#/definitions/uint64'

    oneOf:
      - $ref: '/schemas/types.yaml#/definitions/uint32'
      - $ref: '/schemas/types.yaml#/definitions/uint64'
    description:
      The DT specification defines this as 64-bit always, but some 32-bit Arm
      systems have used a 32-bit value which must be supported.
      Required for systems that have an "enable-method"
        property value of "spin-table".
      On ARM v8 64-bit systems must be a two cell
        property identifying a 64-bit zero-initialised
        memory location.

  cpu-idle-states:
    $ref: '/schemas/types.yaml#/definitions/phandle-array'