blob: 10f09380877a040a9baf1b332296ca7ae601b32e [file] [log] [blame]
developer5d148cb2023-06-02 13:08:11 +08001From af29af4ab3fb39d3884ea9f7352e672c89093c3b Mon Sep 17 00:00:00 2001
developer6747cdd2021-09-29 17:00:51 +08002From: Sam Shih <sam.shih@mediatek.com>
developer5d148cb2023-06-02 13:08:11 +08003Date: Fri, 2 Jun 2023 13:06:04 +0800
4Subject: [PATCH] [basic-part][999-2022-pinctrl-add-mt7981-driver.patch]
developer6747cdd2021-09-29 17:00:51 +08005
6---
developer5d148cb2023-06-02 13:08:11 +08007 drivers/pinctrl/mediatek/Kconfig | 5 +++++
developer6747cdd2021-09-29 17:00:51 +08008 drivers/pinctrl/mediatek/Makefile | 1 +
developer5d148cb2023-06-02 13:08:11 +08009 2 files changed, 6 insertions(+)
developer6747cdd2021-09-29 17:00:51 +080010
11diff --git a/drivers/pinctrl/mediatek/Kconfig b/drivers/pinctrl/mediatek/Kconfig
developer5d148cb2023-06-02 13:08:11 +080012index a2223dbe0..b6341dd83 100644
developer6747cdd2021-09-29 17:00:51 +080013--- a/drivers/pinctrl/mediatek/Kconfig
14+++ b/drivers/pinctrl/mediatek/Kconfig
15@@ -100,6 +100,11 @@ config PINCTRL_MT7622
16 default ARM64 && ARCH_MEDIATEK
17 select PINCTRL_MTK_MOORE
18
19+config PINCTRL_MT7981
20+ bool "Mediatek MT7981 pin control"
21+ depends on OF
22+ select PINCTRL_MTK_MOORE
23+
24 config PINCTRL_MT7986
25 bool "Mediatek MT7986 pin control"
26 depends on OF
27diff --git a/drivers/pinctrl/mediatek/Makefile b/drivers/pinctrl/mediatek/Makefile
developer5d148cb2023-06-02 13:08:11 +080028index 6526efc2c..b80ef66da 100644
developer6747cdd2021-09-29 17:00:51 +080029--- a/drivers/pinctrl/mediatek/Makefile
30+++ b/drivers/pinctrl/mediatek/Makefile
31@@ -15,6 +15,7 @@ obj-$(CONFIG_PINCTRL_MT6797) += pinctrl-mt6797.o
32 obj-$(CONFIG_PINCTRL_MT7622) += pinctrl-mt7622.o
33 obj-$(CONFIG_PINCTRL_MT7623) += pinctrl-mt7623.o
34 obj-$(CONFIG_PINCTRL_MT7629) += pinctrl-mt7629.o
35+obj-$(CONFIG_PINCTRL_MT7981) += pinctrl-mt7981.o
36 obj-$(CONFIG_PINCTRL_MT7986) += pinctrl-mt7986.o
developer5d148cb2023-06-02 13:08:11 +080037 obj-$(CONFIG_PINCTRL_MT7988) += pinctrl-mt7988.o
developer6747cdd2021-09-29 17:00:51 +080038 obj-$(CONFIG_PINCTRL_MT8173) += pinctrl-mt8173.o
developer6747cdd2021-09-29 17:00:51 +080039--
developer5d148cb2023-06-02 13:08:11 +0800402.34.1
developer6747cdd2021-09-29 17:00:51 +080041