diff options
author | Rob Herring <robh@kernel.org> | 2022-03-03 19:57:09 +0300 |
---|---|---|
committer | Rob Herring <robh@kernel.org> | 2022-03-05 01:11:59 +0300 |
commit | ea87f1eb4fd81375a3abf564f6f2999561985831 (patch) | |
tree | af13524e6c35427ac68bcc21965fb2eba2587579 /Documentation/devicetree/bindings/arm/cpus.yaml | |
parent | 309d955985ee9e94697c197b7b489555f1ac7259 (diff) | |
download | linux-ea87f1eb4fd81375a3abf564f6f2999561985831.tar.xz |
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: Rob Herring <robh@kernel.org>
Acked-by: Krzysztof Kozlowski <krzysztof.kozlowski@canonical.com>
Link: https://lore.kernel.org/r/20220303165710.1859862-1-robh@kernel.org
Diffstat (limited to 'Documentation/devicetree/bindings/arm/cpus.yaml')
-rw-r--r-- | Documentation/devicetree/bindings/arm/cpus.yaml | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/Documentation/devicetree/bindings/arm/cpus.yaml b/Documentation/devicetree/bindings/arm/cpus.yaml index 916a5aebefff..cddc3f63c9fd 100644 --- a/Documentation/devicetree/bindings/arm/cpus.yaml +++ b/Documentation/devicetree/bindings/arm/cpus.yaml @@ -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' |