Skip to content

Commit 360de67

Browse files
SamShih33Linus Walleij
authored andcommitted
pinctrl: mediatek: add support for MT7986 SoC
This commit includes pinctrl driver for Mediatek MT7986 The difference of pinctrl between mt7986a and mt7986b is that pin-41 to pin-65 do not exist on mt7986b Signed-off-by: Sam Shih <sam.shih@mediatek.com> Acked-by: Sean Wang <sean.wang@kernel.org> Link: https://lore.kernel.org/r/20211022124036.5291-3-sam.shih@mediatek.com Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
1 parent 65916a1 commit 360de67

3 files changed

Lines changed: 935 additions & 0 deletions

File tree

drivers/pinctrl/mediatek/Kconfig

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -119,6 +119,13 @@ config PINCTRL_MT7622
119119
default ARM64 && ARCH_MEDIATEK
120120
select PINCTRL_MTK_MOORE
121121

122+
config PINCTRL_MT7986
123+
bool "Mediatek MT7986 pin control"
124+
depends on OF
125+
depends on ARM64 || COMPILE_TEST
126+
default ARM64 && ARCH_MEDIATEK
127+
select PINCTRL_MTK_MOORE
128+
122129
config PINCTRL_MT8167
123130
bool "Mediatek MT8167 pin control"
124131
depends on OF

drivers/pinctrl/mediatek/Makefile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ obj-$(CONFIG_PINCTRL_MT6797) += pinctrl-mt6797.o
1717
obj-$(CONFIG_PINCTRL_MT7622) += pinctrl-mt7622.o
1818
obj-$(CONFIG_PINCTRL_MT7623) += pinctrl-mt7623.o
1919
obj-$(CONFIG_PINCTRL_MT7629) += pinctrl-mt7629.o
20+
obj-$(CONFIG_PINCTRL_MT7986) += pinctrl-mt7986.o
2021
obj-$(CONFIG_PINCTRL_MT8167) += pinctrl-mt8167.o
2122
obj-$(CONFIG_PINCTRL_MT8173) += pinctrl-mt8173.o
2223
obj-$(CONFIG_PINCTRL_MT8183) += pinctrl-mt8183.o

0 commit comments

Comments
 (0)