[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20240807-iio-adc-ad4695-buffered-read-v1-0-bdafc39b2283@baylibre.com>
Date: Wed, 7 Aug 2024 15:02:09 -0500
From: David Lechner <dlechner@...libre.com>
To: Jonathan Cameron <jic23@...nel.org>
Cc: David Lechner <dlechner@...libre.com>,
Michael Hennerich <Michael.Hennerich@...log.com>,
Nuno Sá <nuno.sa@...log.com>,
Jonathan Corbet <corbet@....net>,
linux-iio@...r.kernel.org,
linux-kernel@...r.kernel.org,
linux-doc@...r.kernel.org
Subject: [PATCH 0/2] iio: adc: ad4695: implement triggered buffer
This is a fairly simple series that adds support for triggered buffers
to the ad4695 driver.
Not directly related to this patch, but as a side discussion about
future possibilities with this chip while we are here...
The advanced sequencer on this chip can repeat the same channel multiple
times which, when combined with the autocycle feature, can be used to
create different effective sampling rates for individual channels.
For example if we set up the sequence [IN1, IN2, IN1, IN3] and the time
between each individual sample in the sequence is the same, then IN1 has
an effective sampling rate of 2x the other channels.
Have there ever been discussions before about implementing something
like this in the IIO subsystem? I didn't see anything that looked like
this already implemented in the kernel.
---
David Lechner (2):
iio: adc: ad4695: implement triggered buffer
doc: iio: ad4695: document buffered read
Documentation/iio/ad4695.rst | 12 ++-
drivers/iio/adc/ad4695.c | 233 ++++++++++++++++++++++++++++++++++++++++++-
2 files changed, 241 insertions(+), 4 deletions(-)
---
base-commit: 7cad163c39cb642ed587d3eeb37a5637ee02740f
change-id: 20240807-iio-adc-ad4695-buffered-read-f49eb511e300
Powered by blists - more mailing lists