summaryrefslogtreecommitdiff
path: root/drivers/mfd/Kconfig
diff options
context:
space:
mode:
authorViresh Kumar <viresh.kumar@st.com>2011-11-17 05:32:21 (GMT)
committerSamuel Ortiz <sameo@linux.intel.com>2012-01-08 23:37:43 (GMT)
commite789995d5c612ecda83a9feb53fb2e42a51f685b (patch)
tree48f8b41b35ed5d096df820230021dc1328a02f5a /drivers/mfd/Kconfig
parent1a6e4b7415339e3b11a87cff0d701b8a2e55f062 (diff)
downloadlinux-e789995d5c612ecda83a9feb53fb2e42a51f685b.tar.xz
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/Kconfig8
1 files changed, 7 insertions, 1 deletions
diff --git a/drivers/mfd/Kconfig b/drivers/mfd/Kconfig
index 7bc5581..06766ec 100644
--- a/drivers/mfd/Kconfig
+++ b/drivers/mfd/Kconfig
@@ -258,7 +258,7 @@ config TWL6040_CORE
config MFD_STMPE
bool "Support STMicroelectronics STMPE"
- depends on I2C=y && GENERIC_HARDIRQS
+ depends on (I2C=y || SPI_MASTER=y) && GENERIC_HARDIRQS
select MFD_CORE
help
Support for the STMPE family of I/O Expanders from
@@ -288,6 +288,12 @@ config STMPE_I2C
default y
help
This is used to enable I2C interface of STMPE
+
+config STMPE_SPI
+ bool "STMPE SPI Inteface"
+ depends on SPI_MASTER
+ help
+ This is used to enable SPI interface of STMPE
endmenu
config MFD_TC3589X