diff options
author | Viresh Kumar <viresh.kumar@st.com> | 2011-11-17 00:32:21 -0500 |
---|---|---|
committer | Samuel Ortiz <sameo@linux.intel.com> | 2012-01-08 18:37:43 -0500 |
commit | e789995d5c612ecda83a9feb53fb2e42a51f685b (patch) | |
tree | 48f8b41b35ed5d096df820230021dc1328a02f5a /drivers/mfd/Kconfig | |
parent | 1a6e4b7415339e3b11a87cff0d701b8a2e55f062 (diff) |
mfd: Add support for STMPE SPI interface
Few STMPE controller can have register interface over SPI or I2C. Current
implementation only supports I2C.
This patch adds support for SPI interface for accessing STMPE's address space.
Signed-off-by: Viresh Kumar <viresh.kumar@st.com>
Acked-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
Diffstat (limited to 'drivers/mfd/Kconfig')
-rw-r--r-- | drivers/mfd/Kconfig | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/drivers/mfd/Kconfig b/drivers/mfd/Kconfig index 7bc55819ab4a..06766ec5e288 100644 --- a/drivers/mfd/Kconfig +++ b/drivers/mfd/Kconfig | |||
@@ -258,7 +258,7 @@ config TWL6040_CORE | |||
258 | 258 | ||
259 | config MFD_STMPE | 259 | config MFD_STMPE |
260 | bool "Support STMicroelectronics STMPE" | 260 | bool "Support STMicroelectronics STMPE" |
261 | depends on I2C=y && GENERIC_HARDIRQS | 261 | depends on (I2C=y || SPI_MASTER=y) && GENERIC_HARDIRQS |
262 | select MFD_CORE | 262 | select MFD_CORE |
263 | help | 263 | help |
264 | Support for the STMPE family of I/O Expanders from | 264 | Support for the STMPE family of I/O Expanders from |
@@ -288,6 +288,12 @@ config STMPE_I2C | |||
288 | default y | 288 | default y |
289 | help | 289 | help |
290 | This is used to enable I2C interface of STMPE | 290 | This is used to enable I2C interface of STMPE |
291 | |||
292 | config STMPE_SPI | ||
293 | bool "STMPE SPI Inteface" | ||
294 | depends on SPI_MASTER | ||
295 | help | ||
296 | This is used to enable SPI interface of STMPE | ||
291 | endmenu | 297 | endmenu |
292 | 298 | ||
293 | config MFD_TC3589X | 299 | config MFD_TC3589X |