Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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: Rob Herring (Arm) <robh@kernel.org>
Acked-by: Peng Fan <peng.fan@nxp.com>
Link: https://lore.kernel.org/r/20240807225959.3343093-1-robh@kernel.org
Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>

authored by

Rob Herring (Arm) and committed by
Krzysztof Kozlowski
e3e4e771 23d22b0f

+11 -14
+11 -14
Documentation/devicetree/bindings/memory-controllers/fsl/fsl,imx-weim.yaml
··· 134 134 properties: 135 135 fsl,weim-cs-timing: 136 136 items: 137 - items: 138 - - description: CSxU 139 - - description: CSxL 137 + - description: CSxU 138 + - description: CSxL 140 139 - if: 141 140 properties: 142 141 compatible: ··· 150 151 properties: 151 152 fsl,weim-cs-timing: 152 153 items: 153 - items: 154 - - description: CSCRxU 155 - - description: CSCRxL 156 - - description: CSCRxA 154 + - description: CSCRxU 155 + - description: CSCRxL 156 + - description: CSCRxA 157 157 - if: 158 158 properties: 159 159 compatible: ··· 169 171 properties: 170 172 fsl,weim-cs-timing: 171 173 items: 172 - items: 173 - - description: CSxGCR1 174 - - description: CSxGCR2 175 - - description: CSxRCR1 176 - - description: CSxRCR2 177 - - description: CSxWCR1 178 - - description: CSxWCR2 174 + - description: CSxGCR1 175 + - description: CSxGCR2 176 + - description: CSxRCR1 177 + - description: CSxRCR2 178 + - description: CSxWCR1 179 + - description: CSxWCR2 179 180 180 181 additionalProperties: false 181 182