linux/drivers/iio/addac
William Breathitt Gray 7c95a3f51a iio: addac: stx104: Use regmap_read_poll_timeout() for conversion poll
ADC sample captures take a certain amount of time to complete after
initiated; this conversion time range can be anywhere from 5
microseconds to 53.68 seconds depending on the configuration of the
Analog Input Frame Timer register. When the conversion is in progress,
the ADC Status register CNV bit is high. Call regmap_read_poll_timeout()
to poll until the ADC conversion is completed (or timeout if more than
53.68 seconds passes).

Suggested-by: Jonathan Cameron <jic23@kernel.org>
Signed-off-by: William Breathitt Gray <william.gray@linaro.org>
Link: https://lore.kernel.org/r/9ef433f107afd1d4dcd2d97ef0e932d7045c2bbd.1680790580.git.william.gray@linaro.org
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
2023-04-10 12:26:34 +01:00
..
ad74115.c iio: addac: ad74115: remove unused ad74115_dac_slew_rate_hz_tbl 2022-11-24 19:23:57 +00:00
ad74413r.c iio: addac: ad74413r: fix Current Input, Loop Powered Mode 2023-03-12 15:50:15 +00:00
Kconfig iio: addac: stx104: Migrate to the regmap API 2023-04-10 12:26:34 +01:00
Makefile iio: addac: add AD74115 driver 2022-11-23 20:49:00 +00:00
stx104.c iio: addac: stx104: Use regmap_read_poll_timeout() for conversion poll 2023-04-10 12:26:34 +01:00