summaryrefslogtreecommitdiffstats
path: root/drivers/gpio/Kconfig
diff options
context:
space:
mode:
authorAlexander Shiyan <shc_work@mail.ru>2014-03-11 18:55:14 +0100
committerLinus Walleij <linus.walleij@linaro.org>2014-03-18 09:28:31 +0100
commit6a8a0c1d87377c6ce97de2fedc0762c2fa8233ac (patch)
treef587b88cc527e7902dbf07bbc5b21310cce1ef32 /drivers/gpio/Kconfig
parentgpio: generic: Use platform_device_id->driver_data field for driver flags (diff)
downloadlinux-6a8a0c1d87377c6ce97de2fedc0762c2fa8233ac.tar.xz
linux-6a8a0c1d87377c6ce97de2fedc0762c2fa8233ac.zip
gpio: Driver for SYSCON-based GPIOs
SYSCON driver was designed for using memory areas (registers) that are used in several subsystems. There are systems (CPUs) which use bits in one register for various purposes and thus should be handled by various kernel subsystems. This driver allows you to use the individual SYSCON bits as GPIOs. ARM CLPS711X SYSFLG1 input lines has been added as first user of this driver. Signed-off-by: Alexander Shiyan <shc_work@mail.ru> Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'drivers/gpio/Kconfig')
-rw-r--r--drivers/gpio/Kconfig6
1 files changed, 6 insertions, 0 deletions
diff --git a/drivers/gpio/Kconfig b/drivers/gpio/Kconfig
index 8ca94e10aed5..2e461e459d88 100644
--- a/drivers/gpio/Kconfig
+++ b/drivers/gpio/Kconfig
@@ -290,6 +290,12 @@ config GPIO_STA2X11
Say yes here to support the STA2x11/ConneXt GPIO device.
The GPIO module has 128 GPIO pins with alternate functions.
+config GPIO_SYSCON
+ tristate "GPIO based on SYSCON"
+ depends on MFD_SYSCON && OF
+ help
+ Say yes here to support GPIO functionality though SYSCON driver.
+
config GPIO_TS5500
tristate "TS-5500 DIO blocks and compatibles"
depends on TS5500 || COMPILE_TEST