aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpio/Kconfig
diff options
context:
space:
mode:
authorShiraz Hashim <shiraz.hashim@st.com>2012-11-16 00:15:25 -0500
committerLinus Walleij <linus.walleij@linaro.org>2012-11-17 18:01:27 -0500
commitb53bc2819a71099ecfc3d61ba0796b3dcc6be321 (patch)
treea8d5efe5711a737a2bda7faa00371eebef848905 /drivers/gpio/Kconfig
parent8754fccbae661a0020923cffd63e21de36d51e2e (diff)
gpio: SPEAr: add spi chipselect control driver
SPEAr platform provides a provision to control chipselects of ARM PL022 Prime Cell spi controller through its system registers, which otherwise remains under PL022 control which some protocols do not want. This commit intends to provide the spi chipselect control in software over gpiolib interface. spi chip drivers can use the exported gpiolib interface to define their chipselect through DT or platform data. Cc: Grant Likely <grant.likely@secretlab.ca> Signed-off-by: Shiraz Hashim <shiraz.hashim@st.com> Reviewed-by: Vipin Kumar <vipin.kumar@st.com> Acked-by: Arnd Bergmann <arnd@arndb.de> Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org> Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'drivers/gpio/Kconfig')
-rw-r--r--drivers/gpio/Kconfig7
1 files changed, 7 insertions, 0 deletions
diff --git a/drivers/gpio/Kconfig b/drivers/gpio/Kconfig
index 9e3fb343871..4f592c61599 100644
--- a/drivers/gpio/Kconfig
+++ b/drivers/gpio/Kconfig
@@ -196,6 +196,13 @@ config GPIO_PXA
196 help 196 help
197 Say yes here to support the PXA GPIO device 197 Say yes here to support the PXA GPIO device
198 198
199config GPIO_SPEAR_SPICS
200 bool "ST SPEAr13xx SPI Chip Select as GPIO support"
201 depends on PLAT_SPEAR
202 select GENERIC_IRQ_CHIP
203 help
204 Say yes here to support ST SPEAr SPI Chip Select as GPIO device
205
199config GPIO_STA2X11 206config GPIO_STA2X11
200 bool "STA2x11/ConneXt GPIO support" 207 bool "STA2x11/ConneXt GPIO support"
201 depends on MFD_STA2X11 208 depends on MFD_STA2X11