fixup! dt-bindings: pinctrl: Add DT bindings ep93xx pinctrl
authorNikita Shubin <nikita.shubin@maquefel.me>
Tue, 2 May 2023 07:45:32 +0000 (10:45 +0300)
committerNikita Shubin <nikita.shubin@maquefel.me>
Tue, 2 May 2023 07:58:57 +0000 (10:58 +0300)
Documentation/devicetree/bindings/pinctrl/cirrus,ep93xx-pinctrl.yaml

index 0e9e4558e4ac12a95a2800e62cc646361fa2638c..5fb398c955bb9f8e0491f4cd53b3c2628f64ef78 100644 (file)
@@ -10,6 +10,18 @@ maintainers:
   - Nikita Shubin <nikita.shubin@maquefel.me>
   - Alexander Sverdlin <alexander.sverdlin@gmail.com>
 
+properties:
+  compatible:
+    oneOf:
+      - const: cirrus,ep9301-pinctrl
+      - items:
+          - enum:
+              - cirrus,ep9302-pinctrl
+              - cirrus,ep9307-pinctrl
+              - cirrus,ep9312-pinctrl
+              - cirrus,ep9315-pinctrl
+          - const: cirrus,ep9301-pinctrl
+
 properties:
   compatible:
     enum:
@@ -52,7 +64,7 @@ examples:
       #clock-cells = <1>;
       #reset-cells = <1>;
       pinctrl {
-        compatible = "cirrus,ep9312-pinctrl";
+        compatible = "cirrus,ep9312-pinctrl", "cirrus,ep9301-pinctrl";
         spi_default_pins: pins-spi {
           function = "spi";
           groups = "ssp";