iio: adc: Add Texas Instruments ADC081C021/027 support
authorThierry Reding <thierry.reding@avionic-design.de>
Fri, 23 Nov 2012 15:13:00 +0000 (15:13 +0000)
committerJonathan Cameron <jic23@kernel.org>
Fri, 30 Nov 2012 12:57:09 +0000 (12:57 +0000)
commitbc0a409c5ffd91b5403037ab2798b84dccee4f06
tree7a73516c4980b26215c93ae3e1d9836a4bb7ecd8
parentfd1a8b9128410c2ea7da69180788e5d144c6ef46
iio: adc: Add Texas Instruments ADC081C021/027 support

Add support for reading conversion results from the ADC and provide them
through a single IIO channel. A proper scaling factor is also exported
based on the reference voltage provided by a regulator.

Signed-off-by: Thierry Reding <thierry.reding@avionic-design.de>
Reviewed-by: Lars-Peter Clausen <lars@metafoo.de>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
drivers/iio/adc/Kconfig
drivers/iio/adc/Makefile
drivers/iio/adc/ti-adc081c.c [new file with mode: 0644]