Skip to content

Commit a3fe132

Browse files
CathyXu12linusw
authored andcommitted
pinctrl: mediatek: Add pinctrl driver for mt8189
Add pinctrl driver support for MediaTek Soc mt8189. Signed-off-by: Cathy Xu <[email protected]> Reviewed-by: AngeloGioacchino Del Regno <[email protected]> Link: https://lore.kernel.org/[email protected] Signed-off-by: Linus Walleij <[email protected]>
1 parent b225010 commit a3fe132

File tree

4 files changed

+4165
-0
lines changed

4 files changed

+4165
-0
lines changed

drivers/pinctrl/mediatek/Kconfig

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -259,6 +259,18 @@ config PINCTRL_MT8188
259259
In MTK platform, we support virtual gpio and use it to
260260
map specific eint which doesn't have real gpio pin.
261261

262+
config PINCTRL_MT8189
263+
bool "MediaTek MT8189 pin control"
264+
depends on OF
265+
depends on ARM64 || COMPILE_TEST
266+
default ARM64 && ARCH_MEDIATEK
267+
select PINCTRL_MTK_PARIS
268+
help
269+
Say yes here to support pin controller and gpio driver
270+
on MediaTek MT8189 SoC.
271+
In MTK platform, we support virtual gpio and use it to
272+
map specific eint which doesn't have real gpio pin.
273+
262274
config PINCTRL_MT8192
263275
bool "MediaTek MT8192 pin control"
264276
depends on OF

drivers/pinctrl/mediatek/Makefile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,7 @@ obj-$(CONFIG_PINCTRL_MT8173) += pinctrl-mt8173.o
3535
obj-$(CONFIG_PINCTRL_MT8183) += pinctrl-mt8183.o
3636
obj-$(CONFIG_PINCTRL_MT8186) += pinctrl-mt8186.o
3737
obj-$(CONFIG_PINCTRL_MT8188) += pinctrl-mt8188.o
38+
obj-$(CONFIG_PINCTRL_MT8189) += pinctrl-mt8189.o
3839
obj-$(CONFIG_PINCTRL_MT8192) += pinctrl-mt8192.o
3940
obj-$(CONFIG_PINCTRL_MT8195) += pinctrl-mt8195.o
4041
obj-$(CONFIG_PINCTRL_MT8196) += pinctrl-mt8196.o

0 commit comments

Comments
 (0)