diff options
author | Rob Herring <robh@kernel.org> | 2023-01-25 16:14:50 -0600 |
---|---|---|
committer | Rob Herring <robh@kernel.org> | 2023-01-31 19:22:34 -0600 |
commit | 18b616d0c0ff51136b775429dfb2b9432459fe47 (patch) | |
tree | 916d058d96f73391d3cd1f8819caa259261be70f /Documentation/devicetree/bindings/reserved-memory | |
parent | 92ec34fecc5d0f652f5adeb0c19e051981c15b42 (diff) |
dt-bindings: reserved-memory: Refine 'size' and 'alignment' types
Both 'size' and 'alignment' are single values, but can be 32 or 64 bits.
Use the precise types rather than the 2 32-bit cell encoding.
Link: https://lore.kernel.org/r/20230125221450.3058762-1-robh@kernel.org
Signed-off-by: Rob Herring <robh@kernel.org>
Diffstat (limited to 'Documentation/devicetree/bindings/reserved-memory')
-rw-r--r-- | Documentation/devicetree/bindings/reserved-memory/reserved-memory.yaml | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/Documentation/devicetree/bindings/reserved-memory/reserved-memory.yaml b/Documentation/devicetree/bindings/reserved-memory/reserved-memory.yaml index 44f72bcf1782..b205215b130d 100644 --- a/Documentation/devicetree/bindings/reserved-memory/reserved-memory.yaml +++ b/Documentation/devicetree/bindings/reserved-memory/reserved-memory.yaml @@ -31,17 +31,17 @@ properties: reg: true size: - $ref: /schemas/types.yaml#/definitions/uint32-array - minItems: 1 - maxItems: 2 + oneOf: + - $ref: /schemas/types.yaml#/definitions/uint32 + - $ref: /schemas/types.yaml#/definitions/uint64 description: > Length based on parent's \#size-cells. Size in bytes of memory to reserve. alignment: - $ref: /schemas/types.yaml#/definitions/uint32-array - minItems: 1 - maxItems: 2 + oneOf: + - $ref: /schemas/types.yaml#/definitions/uint32 + - $ref: /schemas/types.yaml#/definitions/uint64 description: > Length based on parent's \#size-cells. Address boundary for alignment of allocation. |