blob: 5022e49a2a5abc684f8d642837628e5385840d48 [file] [log] [blame]
developerec4ebe42022-04-12 11:17:45 +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,11 @@ 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+ select PINCTRL_MTK_MOORE
13+
14 config PINCTRL_MT8173
15 bool "Mediatek MT8173 pin control"
16 depends on OF
17diff --git a/drivers/pinctrl/mediatek/Makefile b/drivers/pinctrl/mediatek/Makefile
18index a74325a..d408585 100644
19--- a/drivers/pinctrl/mediatek/Makefile
20+++ b/drivers/pinctrl/mediatek/Makefile
21@@ -15,6 +15,7 @@ obj-$(CONFIG_PINCTRL_MT6797) += pinctrl-mt6797.o
22 obj-$(CONFIG_PINCTRL_MT7622) += pinctrl-mt7622.o
23 obj-$(CONFIG_PINCTRL_MT7623) += pinctrl-mt7623.o
24 obj-$(CONFIG_PINCTRL_MT7629) += pinctrl-mt7629.o
25+obj-$(CONFIG_PINCTRL_MT7986) += pinctrl-mt7986.o
26 obj-$(CONFIG_PINCTRL_MT8173) += pinctrl-mt8173.o
27 obj-$(CONFIG_PINCTRL_MT8183) += pinctrl-mt8183.o
28 obj-$(CONFIG_PINCTRL_MT8516) += pinctrl-mt8516.o