blob: a02873db51fdb96760397fff4709cb00fc492e12 [file] [log] [blame]
developerfd40db22021-04-29 10:08:25 +08001diff --git a/drivers/pinctrl/mediatek/Kconfig b/drivers/pinctrl/mediatek/Kconfig
2index 701f9af..9109f91 100644
3--- a/drivers/pinctrl/mediatek/Kconfig
4+++ b/drivers/pinctrl/mediatek/Kconfig
5@@ -100,6 +100,13 @@ config PINCTRL_MT7622
6 default ARM64 && ARCH_MEDIATEK
7 select PINCTRL_MTK_MOORE
8
9+config PINCTRL_MT7986
10+ bool "Mediatek MT7986 pin control"
11+ depends on OF
12+ depends on ARM64 || COMPILE_TEST
13+ default ARM64 && ARCH_MEDIATEK
14+ select PINCTRL_MTK_MOORE
15+
16 config PINCTRL_MT8173
17 bool "Mediatek MT8173 pin control"
18 depends on OF
19diff --git a/drivers/pinctrl/mediatek/Makefile b/drivers/pinctrl/mediatek/Makefile
20index a74325a..d408585 100644
21--- a/drivers/pinctrl/mediatek/Makefile
22+++ b/drivers/pinctrl/mediatek/Makefile
23@@ -15,6 +15,7 @@ obj-$(CONFIG_PINCTRL_MT6797) += pinctrl-mt6797.o
24 obj-$(CONFIG_PINCTRL_MT7622) += pinctrl-mt7622.o
25 obj-$(CONFIG_PINCTRL_MT7623) += pinctrl-mt7623.o
26 obj-$(CONFIG_PINCTRL_MT7629) += pinctrl-mt7629.o
27+obj-$(CONFIG_PINCTRL_MT7986) += pinctrl-mt7986.o
28 obj-$(CONFIG_PINCTRL_MT8173) += pinctrl-mt8173.o
29 obj-$(CONFIG_PINCTRL_MT8183) += pinctrl-mt8183.o
30 obj-$(CONFIG_PINCTRL_MT8516) += pinctrl-mt8516.o