Skip to content

Commit 920e469

Browse files
Hanks-Chenlinusw
authored andcommitted
pinctrl: mediatek: add pinctrl support for MT6779 SoC
This adds MT6779 pinctrl driver based on MediaTek pinctrl-paris core. Signed-off-by: Mars Cheng <[email protected]> Signed-off-by: Andy Teng <[email protected]> Signed-off-by: Hanks Chen <[email protected]> Acked-by: Sean Wang <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Linus Walleij <[email protected]>
1 parent edd5464 commit 920e469

File tree

4 files changed

+2875
-0
lines changed

4 files changed

+2875
-0
lines changed

drivers/pinctrl/mediatek/Kconfig

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -93,6 +93,18 @@ config PINCTRL_MT6765
9393
default ARM64 && ARCH_MEDIATEK
9494
select PINCTRL_MTK_PARIS
9595

96+
config PINCTRL_MT6779
97+
tristate "Mediatek MT6779 pin control"
98+
depends on OF
99+
depends on ARM64 || COMPILE_TEST
100+
default ARM64 && ARCH_MEDIATEK
101+
select PINCTRL_MTK_PARIS
102+
help
103+
Say yes here to support pin controller and gpio driver
104+
on Mediatek MT6779 SoC.
105+
In MTK platform, we support virtual gpio and use it to
106+
map specific eint which doesn't have real gpio pin.
107+
96108
config PINCTRL_MT6797
97109
bool "Mediatek MT6797 pin control"
98110
depends on OF

drivers/pinctrl/mediatek/Makefile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ obj-$(CONFIG_PINCTRL_MT2712) += pinctrl-mt2712.o
1212
obj-$(CONFIG_PINCTRL_MT8135) += pinctrl-mt8135.o
1313
obj-$(CONFIG_PINCTRL_MT8127) += pinctrl-mt8127.o
1414
obj-$(CONFIG_PINCTRL_MT6765) += pinctrl-mt6765.o
15+
obj-$(CONFIG_PINCTRL_MT6779) += pinctrl-mt6779.o
1516
obj-$(CONFIG_PINCTRL_MT6797) += pinctrl-mt6797.o
1617
obj-$(CONFIG_PINCTRL_MT7622) += pinctrl-mt7622.o
1718
obj-$(CONFIG_PINCTRL_MT7623) += pinctrl-mt7623.o

0 commit comments

Comments
 (0)