blob: ba9e2bbc3aca2deb75b74cfabdee94260d82c045 [file] [log] [blame]
developer5d148cb2023-06-02 13:08:11 +08001From 1cbd50ca51ad80b9c2527c1aaccb57b92dd6d635 Mon Sep 17 00:00:00 2001
2From: Sam Shih <sam.shih@mediatek.com>
3Date: Fri, 2 Jun 2023 13:06:03 +0800
4Subject: [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
developerfd40db22021-04-29 10:08:25 +080011diff --git a/drivers/pinctrl/mediatek/Kconfig b/drivers/pinctrl/mediatek/Kconfig
developer5d148cb2023-06-02 13:08:11 +080012index 701f9af63..9109f911a 100644
developerfd40db22021-04-29 10:08:25 +080013--- 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
29diff --git a/drivers/pinctrl/mediatek/Makefile b/drivers/pinctrl/mediatek/Makefile
developer5d148cb2023-06-02 13:08:11 +080030index a74325abd..d4085859a 100644
developerfd40db22021-04-29 10:08:25 +080031--- 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
developer5d148cb2023-06-02 13:08:11 +080041--
422.34.1
43