diff options
| author | David Lechner (TI) <dlechner@baylibre.com> | 2026-07-27 09:09:51 -0500 |
|---|---|---|
| committer | Jonathan Cameron <jonathan.cameron@oss.qualcomm.com> | 2026-08-03 22:32:31 +0100 |
| commit | 31640de34d5a2fdd9a150bca1fa8f15796eae358 (patch) | |
| tree | ff099553a0c4041f43ea69344dece12672902c9d /tools/perf/scripts/python/stackcollapse.py | |
| parent | c6955f7de5506990853ca7da74950088da101b2d (diff) | |
iio: adc: ti-ads112c14: add support for buffered read
Add support for buffered reads using a triggered buffer.
The device has a continuous conversion mode, but that can only be used
with one channel at a time since there is nothing like a sequencer to
support that in hardware. Instead, we use single-shot reads like we do
for direct reads to be able to read multiple channels.
Since CRC is always enabled, buffered reads include the CRC byte along
with the raw data without verifying it. This allows userspace to perform
it's own CRC verification per-sample and drop bad samples rather than
failing the entire buffered read for one bad sample.
Support for continuous conversion mode could be added in the future if
needed.
Signed-off-by: David Lechner (TI) <dlechner@baylibre.com>
Signed-off-by: Jonathan Cameron <jonathan.cameron@oss.qualcomm.com>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions
