developer | 5d148cb | 2023-06-02 13:08:11 +0800 | [diff] [blame^] | 1 | From c0566aeb32196514614c335efb3e280595da99c3 Mon Sep 17 00:00:00 2001 |
| 2 | From: Sam Shih <sam.shih@mediatek.com> |
| 3 | Date: Fri, 2 Jun 2023 13:06:04 +0800 |
| 4 | Subject: [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 | |
developer | 2cdaeb1 | 2022-10-04 20:25:05 +0800 | [diff] [blame] | 12 | diff --git a/drivers/pinctrl/mediatek/Kconfig b/drivers/pinctrl/mediatek/Kconfig |
developer | 5d148cb | 2023-06-02 13:08:11 +0800 | [diff] [blame^] | 13 | index 9109f911a..a2223dbe0 100644 |
developer | 2cdaeb1 | 2022-10-04 20:25:05 +0800 | [diff] [blame] | 14 | --- a/drivers/pinctrl/mediatek/Kconfig |
| 15 | +++ b/drivers/pinctrl/mediatek/Kconfig |
developer | 5d148cb | 2023-06-02 13:08:11 +0800 | [diff] [blame^] | 16 | @@ -107,6 +107,13 @@ config PINCTRL_MT7986 |
developer | 2cdaeb1 | 2022-10-04 20:25:05 +0800 | [diff] [blame] | 17 | 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 |
| 30 | diff --git a/drivers/pinctrl/mediatek/Makefile b/drivers/pinctrl/mediatek/Makefile |
developer | 5d148cb | 2023-06-02 13:08:11 +0800 | [diff] [blame^] | 31 | index d4085859a..6526efc2c 100644 |
developer | 2cdaeb1 | 2022-10-04 20:25:05 +0800 | [diff] [blame] | 32 | --- a/drivers/pinctrl/mediatek/Makefile |
| 33 | +++ b/drivers/pinctrl/mediatek/Makefile |
developer | 5d148cb | 2023-06-02 13:08:11 +0800 | [diff] [blame^] | 34 | @@ -16,6 +16,7 @@ obj-$(CONFIG_PINCTRL_MT7622) += pinctrl-mt7622.o |
| 35 | obj-$(CONFIG_PINCTRL_MT7623) += pinctrl-mt7623.o |
developer | 2cdaeb1 | 2022-10-04 20:25:05 +0800 | [diff] [blame] | 36 | obj-$(CONFIG_PINCTRL_MT7629) += pinctrl-mt7629.o |
developer | 2cdaeb1 | 2022-10-04 20:25:05 +0800 | [diff] [blame] | 37 | 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 |
developer | 5d148cb | 2023-06-02 13:08:11 +0800 | [diff] [blame^] | 42 | -- |
| 43 | 2.34.1 |
| 44 | |