dt-bindings: Unify "fsl,liodn" type definitions
Subsystems (4)
Rob Herring (Arm)
maintainerPATCH 1/1 dt-bindings: Unify "fsl,liodn" type definitions
The type definition of "fsl,liodn" is defined as uint32 in crypto/fsl,sec-v4.0.yaml and uint32-array in soc/fsl/fsl,bman.yaml, soc/fsl/fsl,qman-portal.yaml, and soc/fsl/fsl,qman.yaml. Unify the type to be uint32-array and constraint the single entry cases.
Signed-off-by Rob Herring (Arm) <[email protected]>
--- .../devicetree/bindings/crypto/fsl,sec-v4.0.yaml | 10 ++++++---- .../devicetree/bindings/soc/fsl/fsl,qman-portal.yaml | 2 ++ 2 files changed, 8 insertions(+), 4 deletions(-)
Documentation/devicetree/bindings/crypto/fsl,sec-v4.0.yaml +6 -4
@@ -114,8 +114,9 @@ patternProperties: table that specifies the PPID to LIODN mapping. Needed if the PAMU is used. Value is a 12 bit value where value is a LIODN ID for this JR. This property is normally set by boot firmware. - $ref: /schemas/types.yaml#/definitions/uint32 - maximum: 0xfff + $ref: /schemas/types.yaml#/definitions/uint32-array + items: + - maximum: 0xfff '^rtic@[0-9a-f]+$': type: object
@@ -186,8 +187,9 @@ patternProperties: Needed if the PAMU is used. Value is a 12 bit value where value is a LIODN ID for this JR. This property is normally set by boot firmware. - $ref: /schemas/types.yaml#/definitions/uint32 - maximum: 0xfff + $ref: /schemas/types.yaml#/definitions/uint32-array + items: + - maximum: 0xfff fsl,rtic-region: description:
Documentation/devicetree/bindings/soc/fsl/fsl,qman-portal.yaml +2 -0
@@ -35,6 +35,7 @@ properties: fsl,liodn: $ref: /schemas/types.yaml#/definitions/uint32-array + maxItems: 2 description: See pamu.txt. Two LIODN(s). DQRR LIODN (DLIODN) and Frame LIODN (FLIODN)
@@ -69,6 +70,7 @@ patternProperties: type: object properties: fsl,liodn: + $ref: /schemas/types.yaml#/definitions/uint32-array description: See pamu.txt, PAMU property used for static LIODN assignment fsl,iommu-parent:
Signature · 1 line
2.45.2
Quoted 6 lines · Rob Herring (Arm)
The type definition of "fsl,liodn" is defined as uint32 in
crypto/fsl,sec-v4.0.yamland uint32-array insoc/fsl/fsl,bman.yaml,soc/fsl/fsl,qman-portal.yaml, andsoc/fsl/fsl,qman.yaml. Unify the type to be uint32-array and constraint the single entry cases.Signed-off-by Rob Herring (Arm) <[email protected]>
Reviewed-by Conor Dooley <[email protected]>