blob: 7b9858809bd698ab8e628ab4ef136531e493f567 [file] [log] [blame]
developer87a78c32024-10-17 17:04:30 +08001--- a/drivers/pinctrl/mediatek/Kconfig
2+++ b/drivers/pinctrl/mediatek/Kconfig
3@@ -112,6 +112,13 @@ config PINCTRL_MT7986
4 default ARM64 && ARCH_MEDIATEK
5 select PINCTRL_MTK_MOORE
6
7+config PINCTRL_MT7987
8+ bool "Mediatek MT7987 pin control"
9+ depends on OF
10+ depends on ARM64 || COMPILE_TEST
11+ default ARM64 && ARCH_MEDIATEK
12+ select PINCTRL_MTK_MOORE
13+
14 config PINCTRL_MT7988
15 bool "Mediatek MT7988 pin control"
16 depends on OF
17--- a/drivers/pinctrl/mediatek/Makefile
18+++ b/drivers/pinctrl/mediatek/Makefile
19@@ -17,6 +17,7 @@ obj-$(CONFIG_PINCTRL_MT7623) += pinctrl-
20 obj-$(CONFIG_PINCTRL_MT7629) += pinctrl-mt7629.o
21 obj-$(CONFIG_PINCTRL_MT7981) += pinctrl-mt7981.o
22 obj-$(CONFIG_PINCTRL_MT7986) += pinctrl-mt7986.o
23+obj-$(CONFIG_PINCTRL_MT7987) += pinctrl-mt7987.o
24 obj-$(CONFIG_PINCTRL_MT7988) += pinctrl-mt7988.o
25 obj-$(CONFIG_PINCTRL_MT8173) += pinctrl-mt8173.o
26 obj-$(CONFIG_PINCTRL_MT8183) += pinctrl-mt8183.o