Commit 18b616d0 authored by Rob Herring's avatar Rob Herring
Browse files

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: default avatarRob Herring <robh@kernel.org>
parent 92ec34fe
Loading
Loading
Loading
Loading
+6 −6
Original line number Diff line number Diff line
@@ -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.