mirror of
https://github.com/raspberrypi/linux.git
synced 2025-12-06 10:00:17 +00:00
pinctrl: mediatek: Add pinctrl driver for mt8189
Add pinctrl driver support for MediaTek Soc mt8189. Signed-off-by: Cathy Xu <ot_cathy.xu@mediatek.com> Reviewed-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com> Link: https://lore.kernel.org/20250711094513.17073-4-ot_cathy.xu@mediatek.com Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
This commit is contained in:
@@ -259,6 +259,18 @@ config PINCTRL_MT8188
|
|||||||
In MTK platform, we support virtual gpio and use it to
|
In MTK platform, we support virtual gpio and use it to
|
||||||
map specific eint which doesn't have real gpio pin.
|
map specific eint which doesn't have real gpio pin.
|
||||||
|
|
||||||
|
config PINCTRL_MT8189
|
||||||
|
bool "MediaTek MT8189 pin control"
|
||||||
|
depends on OF
|
||||||
|
depends on ARM64 || COMPILE_TEST
|
||||||
|
default ARM64 && ARCH_MEDIATEK
|
||||||
|
select PINCTRL_MTK_PARIS
|
||||||
|
help
|
||||||
|
Say yes here to support pin controller and gpio driver
|
||||||
|
on MediaTek MT8189 SoC.
|
||||||
|
In MTK platform, we support virtual gpio and use it to
|
||||||
|
map specific eint which doesn't have real gpio pin.
|
||||||
|
|
||||||
config PINCTRL_MT8192
|
config PINCTRL_MT8192
|
||||||
bool "MediaTek MT8192 pin control"
|
bool "MediaTek MT8192 pin control"
|
||||||
depends on OF
|
depends on OF
|
||||||
|
|||||||
@@ -35,6 +35,7 @@ obj-$(CONFIG_PINCTRL_MT8173) += pinctrl-mt8173.o
|
|||||||
obj-$(CONFIG_PINCTRL_MT8183) += pinctrl-mt8183.o
|
obj-$(CONFIG_PINCTRL_MT8183) += pinctrl-mt8183.o
|
||||||
obj-$(CONFIG_PINCTRL_MT8186) += pinctrl-mt8186.o
|
obj-$(CONFIG_PINCTRL_MT8186) += pinctrl-mt8186.o
|
||||||
obj-$(CONFIG_PINCTRL_MT8188) += pinctrl-mt8188.o
|
obj-$(CONFIG_PINCTRL_MT8188) += pinctrl-mt8188.o
|
||||||
|
obj-$(CONFIG_PINCTRL_MT8189) += pinctrl-mt8189.o
|
||||||
obj-$(CONFIG_PINCTRL_MT8192) += pinctrl-mt8192.o
|
obj-$(CONFIG_PINCTRL_MT8192) += pinctrl-mt8192.o
|
||||||
obj-$(CONFIG_PINCTRL_MT8195) += pinctrl-mt8195.o
|
obj-$(CONFIG_PINCTRL_MT8195) += pinctrl-mt8195.o
|
||||||
obj-$(CONFIG_PINCTRL_MT8196) += pinctrl-mt8196.o
|
obj-$(CONFIG_PINCTRL_MT8196) += pinctrl-mt8196.o
|
||||||
|
|||||||
1700
drivers/pinctrl/mediatek/pinctrl-mt8189.c
Normal file
1700
drivers/pinctrl/mediatek/pinctrl-mt8189.c
Normal file
File diff suppressed because it is too large
Load Diff
2452
drivers/pinctrl/mediatek/pinctrl-mtk-mt8189.h
Normal file
2452
drivers/pinctrl/mediatek/pinctrl-mtk-mt8189.h
Normal file
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user