]> git.itanic.dy.fi Git - linux-stable/commitdiff
pinctrl: mediatek: add missing options to PINCTRL_MT7981
authorArınç ÜNAL <arinc.unal@arinc9.com>
Sat, 18 Feb 2023 06:51:06 +0000 (09:51 +0300)
committerLinus Walleij <linus.walleij@linaro.org>
Mon, 6 Mar 2023 13:22:34 +0000 (14:22 +0100)
There are options missing from PINCTRL_MT7981 whilst being on every other
pin controller. Add them.

Signed-off-by: Arınç ÜNAL <arinc.unal@arinc9.com>
Acked-by: Daniel Golle <daniel@makrotopia.org>
Link: https://lore.kernel.org/r/20230218065108.8958-1-arinc.unal@arinc9.com
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/pinctrl/mediatek/Kconfig

index f20c28334bcbf68e85665c31b49357d79508904c..67818ba14d4e4f5df60ae6ba749a033cb93ced08 100644 (file)
@@ -130,6 +130,8 @@ config PINCTRL_MT7622
 config PINCTRL_MT7981
        bool "Mediatek MT7981 pin control"
        depends on OF
+       depends on ARM64 || COMPILE_TEST
+       default ARM64 && ARCH_MEDIATEK
        select PINCTRL_MTK_MOORE
 
 config PINCTRL_MT7986