iio:adc:palmas: add DT support
authorMarek Belisko <marek@goldelico.com>
Fri, 16 Oct 2015 12:53:39 +0000 (14:53 +0200)
committerJonathan Cameron <jic23@kernel.org>
Sun, 25 Oct 2015 12:05:49 +0000 (12:05 +0000)
commitf0b1643581b376ebd97a0068cbc3d146d6abdff1
treee529892e1080cb63e152785cf65581ec616778d1
parente08e19c331fb249e6dc86365ee80d16045c4aeb1
iio:adc:palmas: add DT support

Code was found at:
https://android.googlesource.com/kernel/tegra/+/a90856a6626d502d42c6e7abccbdf9d730b36270%5E%21/#F1

Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com>
Signed-off-by: Marek Belisko <marek@goldelico.com> [Fixed minor typos + add channels list to documentation]
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
Documentation/devicetree/bindings/iio/adc/palmas-gpadc.txt [new file with mode: 0644]
drivers/iio/adc/palmas_gpadc.c