aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/pinctrl/Kconfig
diff options
context:
space:
mode:
authorPaul Cercueil <paul@crapouillou.net>2018-08-21 18:42:32 +0200
committerLinus Walleij <linus.walleij@linaro.org>2018-08-29 13:36:48 +0200
commite72394e2ea196a0cba70c7aeb861ff9c1fa2b1b6 (patch)
tree7ffd2c3a524d15bcd1a971913f335af126612eda /drivers/pinctrl/Kconfig
parentpinctrl: ingenic: Mark probe function as __init (diff)
downloadlinux-dev-e72394e2ea196a0cba70c7aeb861ff9c1fa2b1b6.tar.xz
linux-dev-e72394e2ea196a0cba70c7aeb861ff9c1fa2b1b6.zip
pinctrl: ingenic: Merge GPIO functionality
Merge the code of the gpio-ingenic driver into the pinctrl-ingenic driver. The reason behind this, is that the same hardware block handles both pin config / muxing and GPIO. ingenic_gpio_probe() have been marked as __init, but for the most part, the code is the exact same as what it was in the gpio-ingenic driver. Signed-off-by: Paul Cercueil <paul@crapouillou.net> Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'drivers/pinctrl/Kconfig')
-rw-r--r--drivers/pinctrl/Kconfig2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/pinctrl/Kconfig b/drivers/pinctrl/Kconfig
index e86752be1f19..3843a3609a32 100644
--- a/drivers/pinctrl/Kconfig
+++ b/drivers/pinctrl/Kconfig
@@ -315,6 +315,8 @@ config PINCTRL_INGENIC
select GENERIC_PINCONF
select GENERIC_PINCTRL_GROUPS
select GENERIC_PINMUX_FUNCTIONS
+ select GPIOLIB
+ select GPIOLIB_IRQCHIP
select REGMAP_MMIO
config PINCTRL_RK805