[PATCH 10/12] dt-bindings: pinctrl: airoha: describe all EN7523 GPIO mux groups

Zhengping Zhang zhengping.zhang at airoha.com
Tue Nov 10 01:43:37 PST 2026


Expand the GPIO mux groups from GPIO28-29 to GPIO0-29 to describe
explicit GPIO mode selection across the controller's GPIO range.
Allow multiple GPIO groups in a single mux state.

The corresponding driver support is added in a subsequent patch.

Signed-off-by: Zhengping Zhang <zhengping.zhang at airoha.com>
---
 .../bindings/pinctrl/airoha,en7523-pinctrl.yaml          | 9 ++++++++-
 1 file changed, 8 insertions(+), 1 deletion(-)

diff --git a/Documentation/devicetree/bindings/pinctrl/airoha,en7523-pinctrl.yaml b/Documentation/devicetree/bindings/pinctrl/airoha,en7523-pinctrl.yaml
index 599f80e94432b..d93cf3a3532a2 100644
--- a/Documentation/devicetree/bindings/pinctrl/airoha,en7523-pinctrl.yaml
+++ b/Documentation/devicetree/bindings/pinctrl/airoha,en7523-pinctrl.yaml
@@ -178,7 +178,14 @@ patternProperties:
             then:
               properties:
                 groups:
-                  enum: [gpio28, gpio29]
+                  items:
+                    enum: [gpio0, gpio1, gpio2, gpio3, gpio4, gpio5, gpio6,
+                           gpio7, gpio8, gpio9, gpio10, gpio11, gpio12, gpio13,
+                           gpio14, gpio15, gpio16, gpio17, gpio18, gpio19, gpio20,
+                           gpio21, gpio22, gpio23, gpio24, gpio25, gpio26, gpio27,
+                           gpio28, gpio29]
+                  minItems: 1
+                  maxItems: 30
           - if:
               properties:
                 function:
-- 
2.43.0




More information about the Linux-mediatek mailing list