blob: 84f0b841a5418187996a5d37eb7a778c11812b12 [file] [log] [blame]
developer5d148cb2023-06-02 13:08:11 +08001From c0566aeb32196514614c335efb3e280595da99c3 Mon Sep 17 00:00:00 2001
2From: Sam Shih <sam.shih@mediatek.com>
3Date: Fri, 2 Jun 2023 13:06:04 +0800
4Subject: [PATCH]
5 [basic-part][999-2021-pinctrl-enable-mt7988-pinctrl-config.patch]
6
7---
8 drivers/pinctrl/mediatek/Kconfig | 7 +++++++
9 drivers/pinctrl/mediatek/Makefile | 1 +
10 2 files changed, 8 insertions(+)
11
developer2cdaeb12022-10-04 20:25:05 +080012diff --git a/drivers/pinctrl/mediatek/Kconfig b/drivers/pinctrl/mediatek/Kconfig
developer5d148cb2023-06-02 13:08:11 +080013index 9109f911a..a2223dbe0 100644
developer2cdaeb12022-10-04 20:25:05 +080014--- a/drivers/pinctrl/mediatek/Kconfig
15+++ b/drivers/pinctrl/mediatek/Kconfig
developer5d148cb2023-06-02 13:08:11 +080016@@ -107,6 +107,13 @@ config PINCTRL_MT7986
developer2cdaeb12022-10-04 20:25:05 +080017 default ARM64 && ARCH_MEDIATEK
18 select PINCTRL_MTK_MOORE
19
20+config PINCTRL_MT7988
21+ bool "Mediatek MT7988 pin control"
22+ depends on OF
23+ depends on ARM64 || COMPILE_TEST
24+ default ARM64 && ARCH_MEDIATEK
25+ select PINCTRL_MTK_MOORE
26+
27 config PINCTRL_MT8173
28 bool "Mediatek MT8173 pin control"
29 depends on OF
30diff --git a/drivers/pinctrl/mediatek/Makefile b/drivers/pinctrl/mediatek/Makefile
developer5d148cb2023-06-02 13:08:11 +080031index d4085859a..6526efc2c 100644
developer2cdaeb12022-10-04 20:25:05 +080032--- a/drivers/pinctrl/mediatek/Makefile
33+++ b/drivers/pinctrl/mediatek/Makefile
developer5d148cb2023-06-02 13:08:11 +080034@@ -16,6 +16,7 @@ obj-$(CONFIG_PINCTRL_MT7622) += pinctrl-mt7622.o
35 obj-$(CONFIG_PINCTRL_MT7623) += pinctrl-mt7623.o
developer2cdaeb12022-10-04 20:25:05 +080036 obj-$(CONFIG_PINCTRL_MT7629) += pinctrl-mt7629.o
developer2cdaeb12022-10-04 20:25:05 +080037 obj-$(CONFIG_PINCTRL_MT7986) += pinctrl-mt7986.o
38+obj-$(CONFIG_PINCTRL_MT7988) += pinctrl-mt7988.o
39 obj-$(CONFIG_PINCTRL_MT8173) += pinctrl-mt8173.o
40 obj-$(CONFIG_PINCTRL_MT8183) += pinctrl-mt8183.o
41 obj-$(CONFIG_PINCTRL_MT8516) += pinctrl-mt8516.o
developer5d148cb2023-06-02 13:08:11 +080042--
432.34.1
44