iio: adc: Add support for axp288 adc
authorJacob Pan <jacob.jun.pan@linux.intel.com>
Tue, 7 Oct 2014 04:17:15 +0000 (21:17 -0700)
committerLee Jones <lee.jones@linaro.org>
Tue, 7 Oct 2014 08:30:08 +0000 (09:30 +0100)
commitde89bd7f215b44ef18f56b0ddb579b44a1180958
tree64790163888bbcac839506e352cea230bc85d7bf
parentaf7e9069543aabd415d7c543f3f89b143ac1a932
iio: adc: Add support for axp288 adc

Platform driver for X-Powers AXP288 ADC, which is a sub-device of the
customized AXP288 PMIC for Intel Baytrail-CR platforms. GPADC device
enumerates as one of the MFD cell devices. It uses IIO infrastructure
to communicate with userspace and consumer drivers.

Usages of ADC channels include battery charging and thermal sensors.

Based on initial work by:
Ramakrishna Pallala <ramakrishna.pallala@intel.com>

Acked-by: Jonathan Cameron <jic23@kernel.org>
Signed-off-by: Jacob Pan <jacob.jun.pan@linux.intel.com>
Signed-off-by: Lee Jones <lee.jones@linaro.org>
drivers/iio/adc/Kconfig
drivers/iio/adc/Makefile
drivers/iio/adc/axp288_adc.c [new file with mode: 0644]