Commit e3e4e771 authored by Rob Herring (Arm)'s avatar Rob Herring (Arm) Committed by Krzysztof Kozlowski

dt-bindings: memory-controllers: fsl,imx-weim: Fix "fsl,weim-cs-timing" schema

The "fsl,weim-cs-timing" property is an array, but the constraints in
the if/then schema are for a matrix. That worked fine when all
properties were decoded into a matrix, but now dtschema decodes
properties into scalars and arrays based on their type.
Signed-off-by: default avatarRob Herring (Arm) <robh@kernel.org>
Acked-by: default avatarPeng Fan <peng.fan@nxp.com>
Link: https://lore.kernel.org/r/20240807225959.3343093-1-robh@kernel.orgSigned-off-by: default avatarKrzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
parent 23d22b0f
...@@ -134,9 +134,8 @@ allOf: ...@@ -134,9 +134,8 @@ allOf:
properties: properties:
fsl,weim-cs-timing: fsl,weim-cs-timing:
items: items:
items: - description: CSxU
- description: CSxU - description: CSxL
- description: CSxL
- if: - if:
properties: properties:
compatible: compatible:
...@@ -151,10 +150,9 @@ allOf: ...@@ -151,10 +150,9 @@ allOf:
properties: properties:
fsl,weim-cs-timing: fsl,weim-cs-timing:
items: items:
items: - description: CSCRxU
- description: CSCRxU - description: CSCRxL
- description: CSCRxL - description: CSCRxA
- description: CSCRxA
- if: - if:
properties: properties:
compatible: compatible:
...@@ -171,13 +169,12 @@ allOf: ...@@ -171,13 +169,12 @@ allOf:
properties: properties:
fsl,weim-cs-timing: fsl,weim-cs-timing:
items: items:
items: - description: CSxGCR1
- description: CSxGCR1 - description: CSxGCR2
- description: CSxGCR2 - description: CSxRCR1
- description: CSxRCR1 - description: CSxRCR2
- description: CSxRCR2 - description: CSxWCR1
- description: CSxWCR1 - description: CSxWCR2
- description: CSxWCR2
additionalProperties: false additionalProperties: false
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment