]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit51f37a6ff32d2a135c3aadd2e4a03c4e0c9c4d63
tree7a73516c4980b26215c93ae3e1d9836a4bb7ecd8
parent46a044f7d07863cea340674effb74426ae378dc7
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]