aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/mfd/stmpe.h
diff options
context:
space:
mode:
authorViresh Kumar <viresh.kumar@st.com>2011-11-17 00:32:21 -0500
committerSamuel Ortiz <sameo@linux.intel.com>2012-01-08 18:37:43 -0500
commite789995d5c612ecda83a9feb53fb2e42a51f685b (patch)
tree48f8b41b35ed5d096df820230021dc1328a02f5a /drivers/mfd/stmpe.h
parent1a6e4b7415339e3b11a87cff0d701b8a2e55f062 (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/stmpe.h')
-rw-r--r--drivers/mfd/stmpe.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/mfd/stmpe.h b/drivers/mfd/stmpe.h
index 18d89a68ce40..a73f4c1085f2 100644
--- a/drivers/mfd/stmpe.h
+++ b/drivers/mfd/stmpe.h
@@ -120,6 +120,7 @@ int stmpe_remove(struct stmpe *stmpe);
120 120
121#define STMPE811_REG_CHIP_ID 0x00 121#define STMPE811_REG_CHIP_ID 0x00
122#define STMPE811_REG_SYS_CTRL2 0x04 122#define STMPE811_REG_SYS_CTRL2 0x04
123#define STMPE811_REG_SPI_CFG 0x08
123#define STMPE811_REG_INT_CTRL 0x09 124#define STMPE811_REG_INT_CTRL 0x09
124#define STMPE811_REG_INT_EN 0x0A 125#define STMPE811_REG_INT_EN 0x0A
125#define STMPE811_REG_INT_STA 0x0B 126#define STMPE811_REG_INT_STA 0x0B