diff options
author | Rabin Vincent <rabin.vincent@stericsson.com> | 2010-07-02 07:22:08 -0400 |
---|---|---|
committer | Samuel Ortiz <sameo@linux.intel.com> | 2010-08-12 05:27:24 -0400 |
commit | 27e34995e1a863c1e9beba30e51dfe2a083f918d (patch) | |
tree | e7ad3ee4794a3c2cf7d3922610335a6391c987c8 /drivers/mfd/Kconfig | |
parent | d2d272a965baeb3d78f843374bc48f0cbce8ac3d (diff) |
mfd: Add STMPE I/O Expander support
Add support for the STMPE family of I/O Expanders from
STMicroelectronics. These devices include upto 24 gpios and a varying
selection of blocks, including PWM, keypad, and touchscreen controllers.
This patch adds the MFD core.
[l.fu@pengutronix.de: fix stmpe811 enable hook]
[l.fu@pengutronix.de: add touchscreen platform data]
Acked-by: Luotao Fu <l.fu@pengutronix.de>
Acked-by: Linus Walleij <linus.walleij@stericsson.com>
Signed-off-by: Rabin Vincent <rabin.vincent@stericsson.com>
Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
Diffstat (limited to 'drivers/mfd/Kconfig')
-rw-r--r-- | drivers/mfd/Kconfig | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/drivers/mfd/Kconfig b/drivers/mfd/Kconfig index 29781ca1eb6f..8f5145b4b56f 100644 --- a/drivers/mfd/Kconfig +++ b/drivers/mfd/Kconfig | |||
@@ -186,6 +186,29 @@ config TWL4030_CODEC | |||
186 | select MFD_CORE | 186 | select MFD_CORE |
187 | default n | 187 | default n |
188 | 188 | ||
189 | config MFD_STMPE | ||
190 | bool "Support STMicroelectronics STMPE" | ||
191 | depends on I2C=y && GENERIC_HARDIRQS | ||
192 | select MFD_CORE | ||
193 | help | ||
194 | Support for the STMPE family of I/O Expanders from | ||
195 | STMicroelectronics. | ||
196 | |||
197 | Currently supported devices are: | ||
198 | |||
199 | STMPE811: GPIO, Touchscreen | ||
200 | STMPE1601: GPIO, Keypad | ||
201 | STMPE2401: GPIO, Keypad | ||
202 | STMPE2403: GPIO, Keypad | ||
203 | |||
204 | This driver provides common support for accessing the device, | ||
205 | additional drivers must be enabled in order to use the functionality | ||
206 | of the device. Currently available sub drivers are: | ||
207 | |||
208 | GPIO: stmpe-gpio | ||
209 | Keypad: stmpe-keypad | ||
210 | Touchscreen: stmpe-ts | ||
211 | |||
189 | config MFD_TC35892 | 212 | config MFD_TC35892 |
190 | bool "Support Toshiba TC35892" | 213 | bool "Support Toshiba TC35892" |
191 | depends on I2C=y && GENERIC_HARDIRQS | 214 | depends on I2C=y && GENERIC_HARDIRQS |