iio:adc: add iio driver for Palmas (twl6035/7) gpadc
authorH. Nikolaus Schaller <hns@goldelico.com>
Fri, 16 Oct 2015 12:53:38 +0000 (14:53 +0200)
committerJonathan Cameron <jic23@kernel.org>
Sun, 25 Oct 2015 12:02:41 +0000 (12:02 +0000)
commite08e19c331fb249e6dc86365ee80d16045c4aeb1
tree4981f2fae39537788f0da5a1b39a65395b231755
parent75b6548f1793c7a79a8b063cd575df9c04dcc122
iio:adc: add iio driver for Palmas (twl6035/7) gpadc

This driver code was found as:

https://android.googlesource.com/kernel/tegra/+/aaabb2e045f31e5a970109ffdaae900dd403d17e/drivers/staging/iio/adc

Fixed various compilation issues and test this driver on omap5 evm.

Signed-off-by: Pradeep Goudagunta <pgoudagunta@nvidia.com>
Signed-off-by: H. Nikolaus Schaller <hns@goldelico.com>
Signed-off-by: Marek Belisko <marek@goldelico.com>
Acked-by: Laxman Dewangan <ldewangan@nvidia.com>
Reviewed-by: Jonathan Cameron <jic23@kernel.org>
Acked-by: Lee Jones <lee.jones@linaro.org>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
drivers/iio/adc/Kconfig
drivers/iio/adc/Makefile
drivers/iio/adc/palmas_gpadc.c [new file with mode: 0644]
include/linux/mfd/palmas.h