OSDN Git Service

dt-bindings: mfd: qcom,spmi-pmic: Use generic node name "gpio"
authorKrzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Thu, 8 Sep 2022 08:09:38 +0000 (10:09 +0200)
committerLee Jones <lee@kernel.org>
Wed, 7 Dec 2022 13:28:08 +0000 (13:28 +0000)
GPIO controller nodes are named by convention just "gpio", not "gpios".

Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Acked-by: Rob Herring <robh@kernel.org>
Signed-off-by: Lee Jones <lee@kernel.org>
Link: https://lore.kernel.org/r/20220908080938.29199-3-krzysztof.kozlowski@linaro.org
Documentation/devicetree/bindings/mfd/qcom,spmi-pmic.yaml

index 777f2da..c8362ef 100644 (file)
@@ -119,7 +119,7 @@ patternProperties:
     type: object
     $ref: /schemas/extcon/qcom,pm8941-misc.yaml#
 
-  "gpio(s)?@[0-9a-f]+$":
+  "gpio@[0-9a-f]+$":
     type: object
     $ref: /schemas/pinctrl/qcom,pmic-gpio.yaml#
 
@@ -199,7 +199,7 @@ examples:
             #address-cells = <1>;
             #size-cells = <0>;
 
-            pmi8998_gpio: gpios@c000 {
+            pmi8998_gpio: gpio@c000 {
                 compatible = "qcom,pmi8998-gpio", "qcom,spmi-gpio";
                 reg = <0xc000>;
                 gpio-controller;
@@ -284,7 +284,7 @@ examples:
             };
         };
 
-        pm6150_gpio: gpios@c000 {
+        pm6150_gpio: gpio@c000 {
             compatible = "qcom,pm6150-gpio", "qcom,spmi-gpio";
             reg = <0xc000>;
             gpio-controller;