public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/2] iio: adc: ad4695: implement triggered buffer
@ 2024-08-07 20:02 David Lechner
  2024-08-07 20:02 ` [PATCH 1/2] " David Lechner
  2024-08-07 20:02 ` [PATCH 2/2] doc: iio: ad4695: document buffered read David Lechner
  0 siblings, 2 replies; 12+ messages in thread
From: David Lechner @ 2024-08-07 20:02 UTC (permalink / raw)
  To: Jonathan Cameron
  Cc: David Lechner, Michael Hennerich, Nuno Sá, Jonathan Corbet,
	linux-iio, linux-kernel, linux-doc

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

^ permalink raw reply	[flat|nested] 12+ messages in thread

end of thread, other threads:[~2024-08-14 18:56 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-08-07 20:02 [PATCH 0/2] iio: adc: ad4695: implement triggered buffer David Lechner
2024-08-07 20:02 ` [PATCH 1/2] " David Lechner
2024-08-08  8:52   ` kernel test robot
2024-08-10  9:20     ` Jonathan Cameron
2024-08-09 14:24   ` Nuno Sá
2024-08-09 16:01     ` David Lechner
2024-08-10  9:35   ` Jonathan Cameron
2024-08-12 17:03     ` David Lechner
2024-08-13  7:28       ` Nuno Sá
2024-08-14 18:56         ` Jonathan Cameron
2024-08-07 20:02 ` [PATCH 2/2] doc: iio: ad4695: document buffered read David Lechner
2024-08-10  9:36   ` Jonathan Cameron

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox