2023-06-27 00:06:47 +00:00
|
|
|
--- a/drivers/pinctrl/mediatek/Kconfig
|
|
|
|
+++ b/drivers/pinctrl/mediatek/Kconfig
|
2023-06-27 00:15:55 +00:00
|
|
|
@@ -141,6 +141,13 @@ config PINCTRL_MT7986
|
2023-06-27 00:06:47 +00:00
|
|
|
default ARM64 && ARCH_MEDIATEK
|
|
|
|
select PINCTRL_MTK_MOORE
|
|
|
|
|
|
|
|
+config PINCTRL_MT7988
|
|
|
|
+ bool "Mediatek MT7988 pin control"
|
|
|
|
+ depends on OF
|
|
|
|
+ depends on ARM64 || COMPILE_TEST
|
|
|
|
+ default ARCH_MEDIATEK
|
|
|
|
+ select PINCTRL_MTK_MOORE
|
|
|
|
+
|
|
|
|
config PINCTRL_MT8167
|
|
|
|
bool "Mediatek MT8167 pin control"
|
|
|
|
depends on OF
|
|
|
|
--- a/drivers/pinctrl/mediatek/Makefile
|
|
|
|
+++ b/drivers/pinctrl/mediatek/Makefile
|
2023-06-27 00:15:55 +00:00
|
|
|
@@ -20,6 +20,7 @@ obj-$(CONFIG_PINCTRL_MT7623) += pinctrl-
|
2023-06-27 00:06:47 +00:00
|
|
|
obj-$(CONFIG_PINCTRL_MT7629) += pinctrl-mt7629.o
|
2023-06-27 00:15:55 +00:00
|
|
|
obj-$(CONFIG_PINCTRL_MT7981) += pinctrl-mt7981.o
|
2023-06-27 00:06:47 +00:00
|
|
|
obj-$(CONFIG_PINCTRL_MT7986) += pinctrl-mt7986.o
|
|
|
|
+obj-$(CONFIG_PINCTRL_MT7988) += pinctrl-mt7988.o
|
|
|
|
obj-$(CONFIG_PINCTRL_MT8167) += pinctrl-mt8167.o
|
|
|
|
obj-$(CONFIG_PINCTRL_MT8173) += pinctrl-mt8173.o
|
|
|
|
obj-$(CONFIG_PINCTRL_MT8183) += pinctrl-mt8183.o
|