forked from Minki/linux
30f010f5c4
Add mt8173 support using mediatek common pinctrl driver. MT8173 have a different ies_smt setting register than mt8135, so adding this support to common code. Signed-off-by: Hongzhou Yang <hongzhou.yang@mediatek.com> Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
19 lines
272 B
Plaintext
19 lines
272 B
Plaintext
if ARCH_MEDIATEK
|
|
|
|
config PINCTRL_MTK_COMMON
|
|
bool
|
|
select PINMUX
|
|
select GENERIC_PINCONF
|
|
select GPIOLIB
|
|
select OF_GPIO
|
|
|
|
config PINCTRL_MT8135
|
|
def_bool MACH_MT8135
|
|
select PINCTRL_MTK_COMMON
|
|
|
|
config PINCTRL_MT8173
|
|
def_bool MACH_MT8173
|
|
select PINCTRL_MTK_COMMON
|
|
|
|
endif
|