developer | 5d148cb | 2023-06-02 13:08:11 +0800 | [diff] [blame] | 1 | From 1cbd50ca51ad80b9c2527c1aaccb57b92dd6d635 Mon Sep 17 00:00:00 2001 |
| 2 | From: Sam Shih <sam.shih@mediatek.com> |
| 3 | Date: Fri, 2 Jun 2023 13:06:03 +0800 |
| 4 | Subject: [PATCH] [basic-part][999-2020-pinctrl-add-mt7986-driver.patch] |
| 5 | |
| 6 | --- |
| 7 | drivers/pinctrl/mediatek/Kconfig | 7 +++++++ |
| 8 | drivers/pinctrl/mediatek/Makefile | 1 + |
| 9 | 2 files changed, 8 insertions(+) |
| 10 | |
developer | fd40db2 | 2021-04-29 10:08:25 +0800 | [diff] [blame] | 11 | diff --git a/drivers/pinctrl/mediatek/Kconfig b/drivers/pinctrl/mediatek/Kconfig |
developer | 5d148cb | 2023-06-02 13:08:11 +0800 | [diff] [blame] | 12 | index 701f9af63..9109f911a 100644 |
developer | fd40db2 | 2021-04-29 10:08:25 +0800 | [diff] [blame] | 13 | --- a/drivers/pinctrl/mediatek/Kconfig |
| 14 | +++ b/drivers/pinctrl/mediatek/Kconfig |
| 15 | @@ -100,6 +100,13 @@ config PINCTRL_MT7622 |
| 16 | default ARM64 && ARCH_MEDIATEK |
| 17 | select PINCTRL_MTK_MOORE |
| 18 | |
| 19 | +config PINCTRL_MT7986 |
| 20 | + bool "Mediatek MT7986 pin control" |
| 21 | + depends on OF |
| 22 | + depends on ARM64 || COMPILE_TEST |
| 23 | + default ARM64 && ARCH_MEDIATEK |
| 24 | + select PINCTRL_MTK_MOORE |
| 25 | + |
| 26 | config PINCTRL_MT8173 |
| 27 | bool "Mediatek MT8173 pin control" |
| 28 | depends on OF |
| 29 | diff --git a/drivers/pinctrl/mediatek/Makefile b/drivers/pinctrl/mediatek/Makefile |
developer | 5d148cb | 2023-06-02 13:08:11 +0800 | [diff] [blame] | 30 | index a74325abd..d4085859a 100644 |
developer | fd40db2 | 2021-04-29 10:08:25 +0800 | [diff] [blame] | 31 | --- a/drivers/pinctrl/mediatek/Makefile |
| 32 | +++ b/drivers/pinctrl/mediatek/Makefile |
| 33 | @@ -15,6 +15,7 @@ obj-$(CONFIG_PINCTRL_MT6797) += pinctrl-mt6797.o |
| 34 | obj-$(CONFIG_PINCTRL_MT7622) += pinctrl-mt7622.o |
| 35 | obj-$(CONFIG_PINCTRL_MT7623) += pinctrl-mt7623.o |
| 36 | obj-$(CONFIG_PINCTRL_MT7629) += pinctrl-mt7629.o |
| 37 | +obj-$(CONFIG_PINCTRL_MT7986) += pinctrl-mt7986.o |
| 38 | obj-$(CONFIG_PINCTRL_MT8173) += pinctrl-mt8173.o |
| 39 | obj-$(CONFIG_PINCTRL_MT8183) += pinctrl-mt8183.o |
| 40 | obj-$(CONFIG_PINCTRL_MT8516) += pinctrl-mt8516.o |
developer | 5d148cb | 2023-06-02 13:08:11 +0800 | [diff] [blame] | 41 | -- |
| 42 | 2.34.1 |
| 43 | |