]> git.baikalelectronics.ru Git - kernel.git/commit
iio: adc: ad7476: Generate CONVST signal internally
authorDragos Bogdan <dragos.bogdan@analog.com>
Wed, 11 Mar 2020 08:43:25 +0000 (10:43 +0200)
committerJonathan Cameron <Jonathan.Cameron@huawei.com>
Sat, 21 Mar 2020 10:27:36 +0000 (10:27 +0000)
commitfbdc41904088128b6e77440a842755f80ad94acf
tree0f4b5de509653ffe4bf4eb25e8bc1c095d3c1d5b
parentf7503fac600be428eafccad55c53979650dafc2a
iio: adc: ad7476: Generate CONVST signal internally

Compared to the other supported parts, AD7091R are dependent of
a CONVST signal that initiates the conversion. At this moment, only
sampling in buffered mode is supported for AD7091R and the only
option until now was to generate this signal externally using an
IIO trigger. This patch adds the option of generating it internally,
more compatible triggers being available in this case.

Also, it is an intermediate step of adding support more devices.

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