Skip to content

Commit c7753ed

Browse files
committed
dt-bindings: pinctrl: qcom,pmic-mpp: Fix schema for "qcom,paired"
The "qcom,paired" schema is all wrong. First, it's a list rather than an object(dictionary). Second, it is missing a required type. The meta-schema normally catches this, but schemas under "$defs" was not getting checked. A fix for that is pending. Fixes: f9a06b8 ("dt-bindings: pinctrl: qcom,pmic-mpp: Convert qcom pmic mpp bindings to YAML") Reviewed-by: Krzysztof Kozlowski <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Rob Herring <[email protected]>
1 parent 5b47f56 commit c7753ed

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

Documentation/devicetree/bindings/pinctrl/qcom,pmic-mpp.yaml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -144,8 +144,9 @@ $defs:
144144
enum: [0, 1, 2, 3, 4, 5, 6, 7]
145145

146146
qcom,paired:
147-
- description:
148-
Indicates that the pin should be operating in paired mode.
147+
type: boolean
148+
description:
149+
Indicates that the pin should be operating in paired mode.
149150

150151
required:
151152
- pins

0 commit comments

Comments
 (0)