]> asedeno.scripts.mit.edu Git - linux.git/commit
iio: adc: add STMPE ADC driver using IIO framework
authorStefan Agner <stefan@agner.ch>
Fri, 21 Dec 2018 13:46:34 +0000 (14:46 +0100)
committerLee Jones <lee.jones@linaro.org>
Wed, 16 Jan 2019 12:37:04 +0000 (12:37 +0000)
commit9f3d084965a5544f096d4f769e274d4c2892079b
tree6900e8810e65ec6b96b870c5ec6eab30ca472669
parent88f29d0f2c8f0d8097dfca9fc3619dfe893e0b15
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 four of the 8 ADC channels are available.

Signed-off-by: Stefan Agner <stefan@agner.ch>
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
Signed-off-by: Philippe Schenker <philippe.schenker@toradex.com>
Reviewed-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Signed-off-by: Lee Jones <lee.jones@linaro.org>
drivers/iio/adc/Kconfig
drivers/iio/adc/Makefile
drivers/iio/adc/stmpe-adc.c [new file with mode: 0644]