fixup! dt-bindings: pinctrl: Add DT bindings ep93xx pinctrl
authorNikita Shubin <nikita.shubin@maquefel.me>
Fri, 28 Apr 2023 13:39:41 +0000 (16:39 +0300)
committerNikita Shubin <nikita.shubin@maquefel.me>
Fri, 28 Apr 2023 18:11:32 +0000 (21:11 +0300)
Documentation/devicetree/bindings/pinctrl/cirrus,ep93xx-pinctrl.yaml

index cba4be7c5994ae677f5b877073e5885ef5ddfd8b..c29fdd52b59ccadd6d0750318a02df94bc4dd3f5 100644 (file)
@@ -16,19 +16,16 @@ properties:
       - cirrus,ep9301-pinctrl
       - cirrus,ep9307-pinctrl
       - cirrus,ep9312-pinctrl
-  regmap:
-    description: phandle to syscon
 
 patternProperties:
-  '^pinctrl-':
+  '^pins-':
     type: object
     description: pin node
     $ref: pinmux-node.yaml#
 
     properties:
       function:
-        enum: [ spi, ac97, i2s, pwm, keypad, pata, lcd, gpio1, gpio2, gpio3,
-                gpio4, gpio6, gpio7 ]
+        enum: [ spi, ac97, i2s, pwm, keypad, pata, lcd, gpio ]
       groups:
         minItems: 1
         maxItems: 2
@@ -43,24 +40,22 @@ patternProperties:
 
 required:
   - compatible
-  - regmap
 
 additionalProperties: false
 
 examples:
   - |
-    syscon: syscon@80930000 {
-        compatible = "cirrus,ep9301-syscon",
-                     "syscon", "simple-mfd";
-        reg = <0x80930000 0x1000>;
-        #clock-cells = <1>;
-        #reset-cells = <1>;
-        pinctrl: pinctrl {
-                compatible = "cirrus,ep9312-pinctrl";
-                regmap = <&syscon>;
-                spi_default_pins: pinctrl-spi {
-                        function = "spi";
-                        groups = "ssp";
-                };
+    syscon@80930000 {
+      compatible = "cirrus,ep9301-syscon",
+                  "syscon", "simple-mfd";
+      reg = <0x80930000 0x1000>;
+      #clock-cells = <1>;
+      #reset-cells = <1>;
+      pinctrl {
+        compatible = "cirrus,ep9312-pinctrl";
+        spi_default_pins: pinctrl-spi {
+          function = "spi";
+          groups = "ssp";
         };
+      };
     };