Skip to content

Commit 08bec85

Browse files
dangowrtLinus Walleij
authored andcommitted
pinctrl: mediatek: add MT7988 pinctrl driver
Add pinctrl driver for the MediaTek MT7988 SoC. Signed-off-by: Sam Shih <[email protected]> Signed-off-by: Daniel Golle <[email protected]> [correctly initialise for the function_desc structure] Signed-off-by: Arınç ÜNAL <[email protected]> Signed-off-by: Frank Wunderlich <[email protected]> Reviewed-by: AngeloGioacchino Del Regno <[email protected]> Link: https://lore.kernel.org/[email protected] Signed-off-by: Linus Walleij <[email protected]>
1 parent 1673d72 commit 08bec85

File tree

3 files changed

+1564
-0
lines changed

3 files changed

+1564
-0
lines changed

drivers/pinctrl/mediatek/Kconfig

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -202,6 +202,13 @@ config PINCTRL_MT7986
202202
default ARM64 && ARCH_MEDIATEK
203203
select PINCTRL_MTK_MOORE
204204

205+
config PINCTRL_MT7988
206+
bool "Mediatek MT7988 pin control"
207+
depends on OF
208+
depends on ARM64 || COMPILE_TEST
209+
default ARM64 && ARCH_MEDIATEK
210+
select PINCTRL_MTK_MOORE
211+
205212
config PINCTRL_MT8167
206213
bool "MediaTek MT8167 pin control"
207214
depends on OF

drivers/pinctrl/mediatek/Makefile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@ obj-$(CONFIG_PINCTRL_MT7623) += pinctrl-mt7623.o
2828
obj-$(CONFIG_PINCTRL_MT7629) += pinctrl-mt7629.o
2929
obj-$(CONFIG_PINCTRL_MT7981) += pinctrl-mt7981.o
3030
obj-$(CONFIG_PINCTRL_MT7986) += pinctrl-mt7986.o
31+
obj-$(CONFIG_PINCTRL_MT7988) += pinctrl-mt7988.o
3132
obj-$(CONFIG_PINCTRL_MT8167) += pinctrl-mt8167.o
3233
obj-$(CONFIG_PINCTRL_MT8173) += pinctrl-mt8173.o
3334
obj-$(CONFIG_PINCTRL_MT8183) += pinctrl-mt8183.o

0 commit comments

Comments
 (0)