]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commitdiff
dt-bindings: pinctrl: qcom,pmic-mpp: Fix schema for "qcom,paired"
authorRob Herring <robh@kernel.org>
Tue, 18 Apr 2023 15:06:06 +0000 (10:06 -0500)
committerRob Herring <robh@kernel.org>
Tue, 13 Jun 2023 13:58:47 +0000 (07:58 -0600)
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: f9a06b810951 ("dt-bindings: pinctrl: qcom,pmic-mpp: Convert qcom pmic mpp bindings to YAML")
Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Link: https://lore.kernel.org/r/20230418150606.1528107-1-robh@kernel.org
Signed-off-by: Rob Herring <robh@kernel.org>
Documentation/devicetree/bindings/pinctrl/qcom,pmic-mpp.yaml

index c91d3e3a094b8f319785e2c0aefcf8d1761c31db..80f960671857042ca4018b6a495822dbb3056c6e 100644 (file)
@@ -144,8 +144,9 @@ $defs:
         enum: [0, 1, 2, 3, 4, 5, 6, 7]
 
       qcom,paired:
-        - description:
-            Indicates that the pin should be operating in paired mode.
+        type: boolean
+        description:
+          Indicates that the pin should be operating in paired mode.
 
     required:
       - pins