summaryrefslogtreecommitdiff
path: root/drivers/mfd
diff options
context:
space:
mode:
authorStefan Agner <stefan.agner@toradex.com>2013-12-09 16:29:12 +0100
committerMax Krummenacher <max.krummenacher@toradex.com>2015-12-26 14:11:28 +0100
commitdd00b720af8b66c0a30cbe1861cff83c931bb5be (patch)
tree96859300c69da5cec1c345f2f96f64405b8363d5 /drivers/mfd
parent824e28985b9cccb8906500aa20b7c33a95e6608a (diff)
iio: adc: add STMPE ADC driver using IIO framework
This adds an ADC driver for the STMPE device using the industrial input/output interface. The driver supports raw reading of values. The driver depends on the MFD stmpe driver. If the touchscreen block is enabled too, only for of the 8 ADC channels are available. Conflicts: drivers/mfd/Kconfig drivers/staging/iio/adc/Kconfig drivers/staging/iio/adc/Makefile Adaptions due to staging iio subsystem changes: drivers/staging/iio/adc/stmpe-adc.c
Diffstat (limited to 'drivers/mfd')
-rw-r--r--drivers/mfd/Kconfig3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/mfd/Kconfig b/drivers/mfd/Kconfig
index 459c14cd01c0..88994052c90e 100644
--- a/drivers/mfd/Kconfig
+++ b/drivers/mfd/Kconfig
@@ -689,7 +689,7 @@ config MFD_STMPE
Currently supported devices are:
- STMPE811: GPIO, Touchscreen
+ STMPE811: GPIO, Touchscreen, ADC
STMPE1601: GPIO, Keypad
STMPE1801: GPIO, Keypad
STMPE2401: GPIO, Keypad
@@ -702,6 +702,7 @@ config MFD_STMPE
GPIO: stmpe-gpio
Keypad: stmpe-keypad
Touchscreen: stmpe-ts
+ ADC: stmpe-adc
menu "STMicroelectronics STMPE Interface Drivers"
depends on MFD_STMPE