blob: 9e67ee7dbe2cd931d56f171acbbad341e7bca669 [file] [log] [blame]
developerec4ebe42022-04-12 11:17:45 +08001From 1b529849f324edec053a34292e3f874bde8f7401 Mon Sep 17 00:00:00 2001
2From: Sam Shih <sam.shih@mediatek.com>
3Date: Fri, 25 Jun 2021 15:43:55 +0800
4Subject: [PATCH] Add mt7981 pinctrl driver support
5
6---
7 drivers/pinctrl/mediatek/Kconfig | 7 +++++++
8 drivers/pinctrl/mediatek/Makefile | 1 +
9 2 files changed, 8 insertions(+)
10
11diff --git a/drivers/pinctrl/mediatek/Kconfig b/drivers/pinctrl/mediatek/Kconfig
12index 9109f91..d40aee5 100644
13--- 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
28index d408585..e6813cf 100644
29--- 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
37 obj-$(CONFIG_PINCTRL_MT8173) += pinctrl-mt8173.o
38 obj-$(CONFIG_PINCTRL_MT8183) += pinctrl-mt8183.o
39--
402.6.4
41