mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-27 01:11:14 +00:00
18a9ae56e9
Backport the pinctrl driver for the MT7981 SoC. The driver has also been submitted upstream and is part of Linux 6.3. Signed-off-by: Daniel Golle <daniel@makrotopia.org>
27 lines
921 B
Diff
27 lines
921 B
Diff
--- a/drivers/pinctrl/mediatek/Kconfig
|
|
+++ b/drivers/pinctrl/mediatek/Kconfig
|
|
@@ -120,6 +120,13 @@ config PINCTRL_MT7622
|
|
default ARM64 && ARCH_MEDIATEK
|
|
select PINCTRL_MTK_MOORE
|
|
|
|
+config PINCTRL_MT7981
|
|
+ bool "Mediatek MT7981 pin control"
|
|
+ depends on OF
|
|
+ depends on ARM64 || COMPILE_TEST
|
|
+ default ARM64 && ARCH_MEDIATEK
|
|
+ select PINCTRL_MTK_MOORE
|
|
+
|
|
config PINCTRL_MT7986
|
|
bool "Mediatek MT7986 pin control"
|
|
depends on OF
|
|
--- a/drivers/pinctrl/mediatek/Makefile
|
|
+++ b/drivers/pinctrl/mediatek/Makefile
|
|
@@ -17,6 +17,7 @@ obj-$(CONFIG_PINCTRL_MT6797) += pinctrl-
|
|
obj-$(CONFIG_PINCTRL_MT7622) += pinctrl-mt7622.o
|
|
obj-$(CONFIG_PINCTRL_MT7623) += pinctrl-mt7623.o
|
|
obj-$(CONFIG_PINCTRL_MT7629) += pinctrl-mt7629.o
|
|
+obj-$(CONFIG_PINCTRL_MT7986) += pinctrl-mt7981.o
|
|
obj-$(CONFIG_PINCTRL_MT7986) += pinctrl-mt7986.o
|
|
obj-$(CONFIG_PINCTRL_MT8167) += pinctrl-mt8167.o
|
|
obj-$(CONFIG_PINCTRL_MT8173) += pinctrl-mt8173.o
|