diff options
author | Hongzhou Yang <hongzhou.yang@mediatek.com> | 2015-05-19 08:11:17 +0200 |
---|---|---|
committer | Linus Walleij <linus.walleij@linaro.org> | 2015-05-19 11:16:17 +0200 |
commit | fc59e66c4284a420f9a1b3a0f99f784847bf3ef8 (patch) | |
tree | b5be264541f57953f5fc9e83a74242b9f177129e /drivers/pinctrl/mediatek/Kconfig | |
parent | pinctrl: mediatek: add ies/smt control to common code. (diff) | |
download | linux-fc59e66c4284a420f9a1b3a0f99f784847bf3ef8.tar.xz linux-fc59e66c4284a420f9a1b3a0f99f784847bf3ef8.zip |
pinctrl: mediatek: Add Pinctrl/GPIO driver for mt6397.
Add mt6397 support using mediatek common pinctrl driver.
mt6397 is a PMIC, and pinctrl/GPIO is part of 6397 chip.
Pinctrl/GPIO driver should obtain regmap from PMIC,
so adding this support to common code.
Also, mt6397 is no need to support interrupt controller,
so changing common code to skip it.
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/Kconfig | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/drivers/pinctrl/mediatek/Kconfig b/drivers/pinctrl/mediatek/Kconfig index 6b3551cad111..ddae4794abf6 100644 --- a/drivers/pinctrl/mediatek/Kconfig +++ b/drivers/pinctrl/mediatek/Kconfig @@ -23,4 +23,10 @@ config PINCTRL_MT8173 default ARM64 && ARCH_MEDIATEK select PINCTRL_MTK_COMMON +# For PMIC +config PINCTRL_MT6397 + bool "Mediatek MT6397 pin control" if COMPILE_TEST && !MFD_MT6397 + default MFD_MT6397 + select PINCTRL_MTK_COMMON + endif |