a6df410d42
The mediatek SoCs have GPIO controller that handle both the muxing and GPIOs. The GPIO controller have pinmux, pull enable, pull select, direction and output high/low control. This driver include common driver and mt8135 part. The common driver include the pinctrl driver and GPIO driver. The mt8135 part contain its special device data. Signed-off-by: Hongzhou Yang <hongzhou.yang@mediatek.com> Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
15 lines
200 B
Plaintext
15 lines
200 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
|
|
|
|
endif
|