Skip to contentSkip to conversation

dt-bindings: pinctrl: Fix MT6797 pin nodes

PATCH In review Rob Herring (Arm) 2 participants 2 messages Sep 22 – Sep 23

Subsystems (5)
lore
Share & tools
lore

Rob Herring (Arm)

author maintainer
#0 lore raw

PATCH 1/1 dt-bindings: pinctrl: Fix MT6797 pin nodes

Allow MT6797 pinctrl state nodes named *-pins directly under the pinctrl controller. The existing mt6797.dtsi uses nodes such as i2c0-pins and uart0-pins, each with pins-* child nodes, while the conversion only allowed numbered state nodes such as foo-0.

Assisted-by LLM
---
 .../devicetree/bindings/pinctrl/mediatek,mt6779-pinctrl.yaml  | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
Documentation/devicetree/bindings/pinctrl/mediatek,mt6779-pinctrl.yaml +2 -2
index f4bab7a132d3..dba2dec15477 100644
@@ -111,12 +111,12 @@ allOf:
         - "#interrupt-cells"
 
 patternProperties:
-  '-[0-9]*$':
+  '(-pins|-[0-9]+)$':
     type: object
     additionalProperties: false
 
     patternProperties:
-      '-pins*$':
+      '.*pins.*':
         type: object
         description:
           A pinctrl node should contain at least one subnodes representing the
Signature · 1 line
2.53.0
maintainer Reviewed-by on v1 1/1
#1 lore raw
Quoted 7 lines · Rob Herring (Arm)

Allow MT6797 pinctrl state nodes named *-pins directly under the pinctrl controller. The existing mt6797.dtsi uses nodes such as i2c0-pins and uart0-pins, each with pins-* child nodes, while the conversion only allowed numbered state nodes such as foo-0.

Assisted-by LLM