iio: adc: ad7476: Add IIO_CHAN_INFO_RAW for AD7091R
authorDragos Bogdan <dragos.bogdan@analog.com>
Wed, 11 Mar 2020 08:43:26 +0000 (10:43 +0200)
committerJonathan Cameron <Jonathan.Cameron@huawei.com>
Sat, 21 Mar 2020 10:27:45 +0000 (10:27 +0000)
commit3a6af93dd66eba90cee3eb778b83bdccb2202d4f
tree2e1b48dc46193996e5af5cff8d052529a3e38a8d
parentaf37e4703d00cea66e467ffe69afe2540fa32f75
iio: adc: ad7476: Add IIO_CHAN_INFO_RAW for AD7091R

When CONVST signal is generated internally, IIO_CHAN_INFO_RAW can be
made available for AD7091R for single reads. This patch enables it and
makes supporting more devices by this driver easier.

Signed-off-by: Dragos Bogdan <dragos.bogdan@analog.com>
Signed-off-by: Beniamin Bia <beniamin.bia@analog.com>
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
drivers/iio/adc/ad7476.c