mirror of
https://github.com/raspberrypi/linux.git
synced 2025-12-06 10:00:17 +00:00
pinctrl: mediatek: Add pinctrl driver on mt8196
Add pinctrl driver support for MediaTek Soc mt8196. Signed-off-by: Guodong Liu <guodong.liu@mediatek.com> Signed-off-by: Cathy Xu <ot_cathy.xu@mediatek.com> Reviewed-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com> Link: https://lore.kernel.org/20250414090215.16091-4-ot_cathy.xu@mediatek.com Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
This commit is contained in:
committed by
Linus Walleij
parent
4c9891e588
commit
f7a29377c2
@@ -273,6 +273,18 @@ config PINCTRL_MT8195
|
|||||||
default ARM64 && ARCH_MEDIATEK
|
default ARM64 && ARCH_MEDIATEK
|
||||||
select PINCTRL_MTK_PARIS
|
select PINCTRL_MTK_PARIS
|
||||||
|
|
||||||
|
config PINCTRL_MT8196
|
||||||
|
bool "MediaTek MT8196 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 MT8196 SoC.
|
||||||
|
In MTK platform, we support virtual gpio and use it to
|
||||||
|
map specific eint which doesn't have real gpio pin.
|
||||||
|
|
||||||
config PINCTRL_MT8365
|
config PINCTRL_MT8365
|
||||||
bool "MediaTek MT8365 pin control"
|
bool "MediaTek MT8365 pin control"
|
||||||
depends on OF
|
depends on OF
|
||||||
|
|||||||
@@ -37,6 +37,7 @@ obj-$(CONFIG_PINCTRL_MT8186) += pinctrl-mt8186.o
|
|||||||
obj-$(CONFIG_PINCTRL_MT8188) += pinctrl-mt8188.o
|
obj-$(CONFIG_PINCTRL_MT8188) += pinctrl-mt8188.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_MT8365) += pinctrl-mt8365.o
|
obj-$(CONFIG_PINCTRL_MT8365) += pinctrl-mt8365.o
|
||||||
obj-$(CONFIG_PINCTRL_MT8516) += pinctrl-mt8516.o
|
obj-$(CONFIG_PINCTRL_MT8516) += pinctrl-mt8516.o
|
||||||
obj-$(CONFIG_PINCTRL_MT6397) += pinctrl-mt6397.o
|
obj-$(CONFIG_PINCTRL_MT6397) += pinctrl-mt6397.o
|
||||||
|
|||||||
1859
drivers/pinctrl/mediatek/pinctrl-mt8196.c
Normal file
1859
drivers/pinctrl/mediatek/pinctrl-mt8196.c
Normal file
File diff suppressed because it is too large
Load Diff
2789
drivers/pinctrl/mediatek/pinctrl-mtk-mt8196.h
Normal file
2789
drivers/pinctrl/mediatek/pinctrl-mtk-mt8196.h
Normal file
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user