iio: adc: ti-adc161s626: add regulator support
authorMatt Ranostay <mranostay@gmail.com>
Sun, 18 Sep 2016 22:42:15 +0000 (15:42 -0700)
committerJonathan Cameron <jic23@kernel.org>
Tue, 27 Sep 2016 19:33:03 +0000 (20:33 +0100)
commit92f0afb5b2be2e137ff223654af51f521dd74c3a
tree8c151d10dac0842e3da3903e6009af8c83de0087
parent0023e67dd8951737588b8af0469446df3ec52afe
iio: adc: ti-adc161s626: add regulator support

Allow IIO_CHAN_INFO_SCALE and IIO_CHAN_INFO_OFFSET attributes for
processing by checking voltage from a regulator.

Signed-off-by: Matt Ranostay <matt@ranostay.consulting>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
Documentation/devicetree/bindings/iio/adc/ti-adc161s626.txt
drivers/iio/adc/ti-adc161s626.c