Skip to content

Commit 6c83b2d

Browse files
dangowrtlinusw
authored andcommitted
pinctrl: add mt7981 pinctrl driver
Add pinctrl driver for the MediaTek MT7981 SoC, based on the driver which can also be found the SDK. Signed-off-by: Daniel Golle <[email protected]> Reviewed-by: Rob Herring <[email protected]> Link: https://lore.kernel.org/r/ef5112946d16cacc67e65e439ba7b52a9950c1bb.1674693008.git.daniel@makrotopia.org Signed-off-by: Linus Walleij <[email protected]>
1 parent d4059de commit 6c83b2d

File tree

3 files changed

+1054
-0
lines changed

3 files changed

+1054
-0
lines changed

drivers/pinctrl/mediatek/Kconfig

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -127,6 +127,11 @@ config PINCTRL_MT7622
127127
default ARM64 && ARCH_MEDIATEK
128128
select PINCTRL_MTK_MOORE
129129

130+
config PINCTRL_MT7981
131+
bool "Mediatek MT7981 pin control"
132+
depends on OF
133+
select PINCTRL_MTK_MOORE
134+
130135
config PINCTRL_MT7986
131136
bool "Mediatek MT7986 pin control"
132137
depends on OF

drivers/pinctrl/mediatek/Makefile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ obj-$(CONFIG_PINCTRL_MT6797) += pinctrl-mt6797.o
1818
obj-$(CONFIG_PINCTRL_MT7622) += pinctrl-mt7622.o
1919
obj-$(CONFIG_PINCTRL_MT7623) += pinctrl-mt7623.o
2020
obj-$(CONFIG_PINCTRL_MT7629) += pinctrl-mt7629.o
21+
obj-$(CONFIG_PINCTRL_MT7981) += pinctrl-mt7981.o
2122
obj-$(CONFIG_PINCTRL_MT7986) += pinctrl-mt7986.o
2223
obj-$(CONFIG_PINCTRL_MT8167) += pinctrl-mt8167.o
2324
obj-$(CONFIG_PINCTRL_MT8173) += pinctrl-mt8173.o

0 commit comments

Comments
 (0)