995e0dc7ed844d781c006412c531a9ec688ad110
[openwrt/staging/ldir.git] /
1 From c0ad453e94e5c404efbcf668648d07eaa1a71ed7 Mon Sep 17 00:00:00 2001
2 From: =?UTF-8?q?Ar=C4=B1n=C3=A7=20=C3=9CNAL?= <arinc.unal@arinc9.com>
3 Date: Sat, 18 Feb 2023 09:51:06 +0300
4 Subject: [PATCH] pinctrl: mediatek: add missing options to PINCTRL_MT7981
5 MIME-Version: 1.0
6 Content-Type: text/plain; charset=UTF-8
7 Content-Transfer-Encoding: 8bit
8
9 There are options missing from PINCTRL_MT7981 whilst being on every other
10 pin controller. Add them.
11
12 Signed-off-by: Arınç ÜNAL <arinc.unal@arinc9.com>
13 Acked-by: Daniel Golle <daniel@makrotopia.org>
14 Link: https://lore.kernel.org/r/20230218065108.8958-1-arinc.unal@arinc9.com
15 Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
16 ---
17 drivers/pinctrl/mediatek/Kconfig | 2 ++
18 1 file changed, 2 insertions(+)
19
20 --- a/drivers/pinctrl/mediatek/Kconfig
21 +++ b/drivers/pinctrl/mediatek/Kconfig
22 @@ -130,6 +130,8 @@ config PINCTRL_MT7622
23 config PINCTRL_MT7981
24 bool "Mediatek MT7981 pin control"
25 depends on OF
26 + depends on ARM64 || COMPILE_TEST
27 + default ARM64 && ARCH_MEDIATEK
28 select PINCTRL_MTK_MOORE
29
30 config PINCTRL_MT7986