summaryrefslogtreecommitdiff
path: root/drivers/pinctrl/mediatek/Kconfig
diff options
context:
space:
mode:
authorHongzhou Yang <hongzhou.yang@mediatek.com>2015-01-21 13:28:15 +0800
committerLinus Walleij <linus.walleij@linaro.org>2015-03-18 02:02:14 +0100
commita6df410d420aa4ff316797d352f69e7ebae5ff98 (patch)
tree0dfeffd944810059bf7efa91b32e587c96446964 /drivers/pinctrl/mediatek/Kconfig
parentddac96118f3d2c28813ba98cda79c1e29a902e02 (diff)
pinctrl: mediatek: Add Pinctrl/GPIO driver for mt8135.
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>
Diffstat (limited to 'drivers/pinctrl/mediatek/Kconfig')
-rw-r--r--drivers/pinctrl/mediatek/Kconfig14
1 files changed, 14 insertions, 0 deletions
diff --git a/drivers/pinctrl/mediatek/Kconfig b/drivers/pinctrl/mediatek/Kconfig
new file mode 100644
index 000000000000..70bbf39379ae
--- /dev/null
+++ b/drivers/pinctrl/mediatek/Kconfig
@@ -0,0 +1,14 @@
+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