Skip to content

Commit 2e1ccc6

Browse files
AngeloGioacchino Del RegnoLinus Walleij
authored andcommitted
pinctrl: mediatek: Add pinctrl driver for MT6795 Helio X10
Add support for the MediaTek Helio X10 (MT6795) SoC's GPIO/pinmux controller. Signed-off-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com> Link: https://lore.kernel.org/r/20220517083957.11816-3-angelogioacchino.delregno@collabora.com Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
1 parent 81557a7 commit 2e1ccc6

4 files changed

Lines changed: 2329 additions & 0 deletions

File tree

drivers/pinctrl/mediatek/Kconfig

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -106,6 +106,13 @@ config PINCTRL_MT6779
106106
In MTK platform, we support virtual gpio and use it to
107107
map specific eint which doesn't have real gpio pin.
108108

109+
config PINCTRL_MT6795
110+
bool "Mediatek MT6795 pin control"
111+
depends on OF
112+
depends on ARM64 || COMPILE_TEST
113+
default ARM64 && ARCH_MEDIATEK
114+
select PINCTRL_MTK_PARIS
115+
109116
config PINCTRL_MT6797
110117
bool "Mediatek MT6797 pin control"
111118
depends on OF

drivers/pinctrl/mediatek/Makefile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ obj-$(CONFIG_PINCTRL_MT8135) += pinctrl-mt8135.o
1313
obj-$(CONFIG_PINCTRL_MT8127) += pinctrl-mt8127.o
1414
obj-$(CONFIG_PINCTRL_MT6765) += pinctrl-mt6765.o
1515
obj-$(CONFIG_PINCTRL_MT6779) += pinctrl-mt6779.o
16+
obj-$(CONFIG_PINCTRL_MT6795) += pinctrl-mt6795.o
1617
obj-$(CONFIG_PINCTRL_MT6797) += pinctrl-mt6797.o
1718
obj-$(CONFIG_PINCTRL_MT7622) += pinctrl-mt7622.o
1819
obj-$(CONFIG_PINCTRL_MT7623) += pinctrl-mt7623.o

0 commit comments

Comments
 (0)