]> git.hungrycats.org Git - linux/commitdiff
pinctrl: airoha: an7583: add missed gpio22 pin group
authorMikhail Kshevetskiy <mikhail.kshevetskiy@iopsys.eu>
Sat, 6 Jun 2026 02:03:40 +0000 (05:03 +0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 14 Sep 2026 11:36:19 +0000 (13:36 +0200)
[ Upstream commit 9ef86358855d5fd89db019ace33c097d2d752b9d ]

gpio22 pin group is missed, fix it.

Fixes: 3ffeb17a9a27 ("pinctrl: airoha: add support for Airoha AN7583 PINs")
Signed-off-by: Mikhail Kshevetskiy <mikhail.kshevetskiy@iopsys.eu>
Signed-off-by: Linus Walleij <linusw@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/pinctrl/mediatek/pinctrl-airoha.c

index 9821e2f6f27dd710d04d2b59d027e0ceeb327795..bdb5e7012d46b908ce091e381d6b19ec9947c474 100644 (file)
@@ -768,6 +768,7 @@ static const int an7583_gpio18_pins[] = { 20 };
 static const int an7583_gpio19_pins[] = { 21 };
 static const int an7583_gpio20_pins[] = { 22 };
 static const int an7583_gpio21_pins[] = { 23 };
+static const int an7583_gpio22_pins[] = { 24 };
 static const int an7583_gpio23_pins[] = { 25 };
 static const int an7583_gpio24_pins[] = { 26 };
 static const int an7583_gpio25_pins[] = { 27 };
@@ -851,6 +852,7 @@ static const struct pingroup an7583_pinctrl_groups[] = {
        PINCTRL_PIN_GROUP("gpio19", an7583_gpio19),
        PINCTRL_PIN_GROUP("gpio20", an7583_gpio20),
        PINCTRL_PIN_GROUP("gpio21", an7583_gpio21),
+       PINCTRL_PIN_GROUP("gpio22", an7583_gpio22),
        PINCTRL_PIN_GROUP("gpio23", an7583_gpio23),
        PINCTRL_PIN_GROUP("gpio24", an7583_gpio24),
        PINCTRL_PIN_GROUP("gpio25", an7583_gpio25),