developer | 2cdaeb1 | 2022-10-04 20:25:05 +0800 | [diff] [blame] | 1 | diff --git a/drivers/pinctrl/mediatek/Kconfig b/drivers/pinctrl/mediatek/Kconfig |
| 2 | index e7ec276..b6341dd 100644 |
| 3 | --- a/drivers/pinctrl/mediatek/Kconfig |
| 4 | +++ b/drivers/pinctrl/mediatek/Kconfig |
| 5 | @@ -112,6 +112,13 @@ config PINCTRL_MT7986 |
| 6 | default ARM64 && ARCH_MEDIATEK |
| 7 | select PINCTRL_MTK_MOORE |
| 8 | |
| 9 | +config PINCTRL_MT7988 |
| 10 | + bool "Mediatek MT7988 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 |
| 19 | diff --git a/drivers/pinctrl/mediatek/Makefile b/drivers/pinctrl/mediatek/Makefile |
| 20 | index e6813cf..6e28df9 100644 |
| 21 | --- a/drivers/pinctrl/mediatek/Makefile |
| 22 | +++ b/drivers/pinctrl/mediatek/Makefile |
| 23 | @@ -17,6 +17,7 @@ obj-$(CONFIG_PINCTRL_MT7623) += pinctrl-mt7623.o |
| 24 | obj-$(CONFIG_PINCTRL_MT7629) += pinctrl-mt7629.o |
| 25 | obj-$(CONFIG_PINCTRL_MT7981) += pinctrl-mt7981.o |
| 26 | obj-$(CONFIG_PINCTRL_MT7986) += pinctrl-mt7986.o |
| 27 | +obj-$(CONFIG_PINCTRL_MT7988) += pinctrl-mt7988.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 |