aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpio/Kconfig
diff options
context:
space:
mode:
authorRajmohan Mani <rajmohan.mani@intel.com>2017-07-28 17:30:25 -0700
committerLinus Walleij <linus.walleij@linaro.org>2017-08-14 15:37:38 +0200
commit275b13a65547e2dc39c75d660d2e0f0fddde90f6 (patch)
treea6caacea07617b1dafb78ba26293dac6999b1352 /drivers/gpio/Kconfig
parentgpio: davinci: Handle the return value of davinci_gpio_irq_setup function (diff)
downloadlinux-dev-275b13a65547e2dc39c75d660d2e0f0fddde90f6.tar.xz
linux-dev-275b13a65547e2dc39c75d660d2e0f0fddde90f6.zip
gpio: Add support for TPS68470 GPIOs
This patch adds support for TPS68470 GPIOs. There are 7 GPIOs and a few sensor related GPIOs. These GPIOs can be requested and configured as appropriate. The GPIOs are also provided with descriptive names. However, the typical use case is that the OS GPIO driver will interact with TPS68470 GPIO driver to configure these GPIOs, as requested by the platform firmware. Signed-off-by: Rajmohan Mani <rajmohan.mani@intel.com> Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'drivers/gpio/Kconfig')
-rw-r--r--drivers/gpio/Kconfig15
1 files changed, 15 insertions, 0 deletions
diff --git a/drivers/gpio/Kconfig b/drivers/gpio/Kconfig
index 461d6fc3688b..b304579fc4cd 100644
--- a/drivers/gpio/Kconfig
+++ b/drivers/gpio/Kconfig
@@ -1065,6 +1065,21 @@ config GPIO_TPS65912
help
This driver supports TPS65912 gpio chip
+config GPIO_TPS68470
+ bool "TPS68470 GPIO"
+ depends on MFD_TPS68470
+ help
+ Select this option to enable GPIO driver for the TPS68470
+ chip family.
+ There are 7 GPIOs and few sensor related GPIOs supported
+ by the TPS68470. While the 7 GPIOs can be configured as
+ input or output as appropriate, the sensor related GPIOs
+ are "output only" GPIOs.
+
+ This driver config is bool, as the GPIO functionality
+ of the TPS68470 must be available before dependent
+ drivers are loaded.
+
config GPIO_TWL4030
tristate "TWL4030, TWL5030, and TPS659x0 GPIOs"
depends on TWL4030_CORE