Skip to content

Commit 08bec85

Browse files
dangowrtLinus Walleij
authored andcommitted
pinctrl: mediatek: add MT7988 pinctrl driver
Add pinctrl driver for the MediaTek MT7988 SoC. Signed-off-by: Sam Shih <sam.shih@mediatek.com> Signed-off-by: Daniel Golle <daniel@makrotopia.org> [correctly initialise for the function_desc structure] Signed-off-by: Arınç ÜNAL <arinc.unal@arinc9.com> Signed-off-by: Frank Wunderlich <frank-w@public-files.de> Reviewed-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com> Link: https://lore.kernel.org/20241217085435.9586-3-linux@fw-web.de Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
1 parent 1673d72 commit 08bec85

3 files changed

Lines changed: 1564 additions & 0 deletions

File tree

drivers/pinctrl/mediatek/Kconfig

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -202,6 +202,13 @@ config PINCTRL_MT7986
202202
default ARM64 && ARCH_MEDIATEK
203203
select PINCTRL_MTK_MOORE
204204

205+
config PINCTRL_MT7988
206+
bool "Mediatek MT7988 pin control"
207+
depends on OF
208+
depends on ARM64 || COMPILE_TEST
209+
default ARM64 && ARCH_MEDIATEK
210+
select PINCTRL_MTK_MOORE
211+
205212
config PINCTRL_MT8167
206213
bool "MediaTek MT8167 pin control"
207214
depends on OF

drivers/pinctrl/mediatek/Makefile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@ obj-$(CONFIG_PINCTRL_MT7623) += pinctrl-mt7623.o
2828
obj-$(CONFIG_PINCTRL_MT7629) += pinctrl-mt7629.o
2929
obj-$(CONFIG_PINCTRL_MT7981) += pinctrl-mt7981.o
3030
obj-$(CONFIG_PINCTRL_MT7986) += pinctrl-mt7986.o
31+
obj-$(CONFIG_PINCTRL_MT7988) += pinctrl-mt7988.o
3132
obj-$(CONFIG_PINCTRL_MT8167) += pinctrl-mt8167.o
3233
obj-$(CONFIG_PINCTRL_MT8173) += pinctrl-mt8173.o
3334
obj-$(CONFIG_PINCTRL_MT8183) += pinctrl-mt8183.o

0 commit comments

Comments
 (0)