]> git.ipfire.org Git - thirdparty/kernel/stable.git/commitdiff
dt-bindings: pinctrl: mediatek,mt7622-pinctrl: Add missing base reg
authorAngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
Thu, 24 Jul 2025 08:38:44 +0000 (10:38 +0200)
committerRob Herring (Arm) <robh@kernel.org>
Fri, 26 Sep 2025 19:50:44 +0000 (14:50 -0500)
The pin controller for both MT7622 and MT7629 need both a "base"
and an "eint" MMIO like the ones found on other MediaTek SoCs:
while devicetrees have always been correct, the binding is not,
as it only allows an "eint" reg.

Add "base" to reg-names and increment maxItems for reg to two.

Signed-off-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Signed-off-by: Rob Herring (Arm) <robh@kernel.org>
Documentation/devicetree/bindings/pinctrl/mediatek,mt7622-pinctrl.yaml

index 57b19031925d2e32c21286652b3608c2075d2d34..6b925c5099cc942d8bc9aa9b993ac76612f52429 100644 (file)
@@ -19,10 +19,11 @@ properties:
       - mediatek,mt7629-pinctrl
 
   reg:
-    maxItems: 1
+    maxItems: 2
 
   reg-names:
     items:
+      - const: base
       - const: eint
 
   gpio-controller: true
@@ -367,7 +368,8 @@ examples:
 
         pio: pinctrl@10211000 {
             compatible = "mediatek,mt7622-pinctrl";
-            reg = <0 0x10211000 0 0x1000>;
+            reg = <0 0x10211000 0 0x1000>,
+                  <0 0x10005000 0 0x1000>;
             gpio-controller;
             #gpio-cells = <2>;