mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH 0/2] iio: adc: ti-ads112c14: continuous mode support
@ 2026-07-24 20:13 David Lechner (TI)
  2026-07-24 20:13 ` [PATCH 1/2] iio: adc: ti-ads112c14: add DRDY interrupt support David Lechner (TI)
  2026-07-24 20:13 ` [PATCH 2/2] iio: adc: ti-ads112c14: add continuous mode support David Lechner (TI)
  0 siblings, 2 replies; 7+ messages in thread
From: David Lechner (TI) @ 2026-07-24 20:13 UTC (permalink / raw)
  To: Jonathan Cameron, Nuno Sá, Andy Shevchenko
  Cc: Chris Hall, Patrick Edwards, Kurt Borja, linux-iio, linux-kernel,
	David Lechner (TI)

The TI ADS112C14 ADC has a continuous mode where it can trigger
conversions using its own clock and signals that data is ready using
the /DRDY line. This allows capturing data at higher rates since it
avoids the settling time between conversions. But it is limited to only
being able to sample one channel at a time.

Users will be able to select between continuous and single-shot mode
for buffered reads by selecting the trigger. If the "own" trigger from
the /DRDY interrupt is selected, continuous mode will be used. Or if
some other (software) trigger is selected, single-shot mode will be used
as was already implemented before this series.

Supporting open-drain /DRDY is deferred for future work. In simple cases
we have just done a `drive-open-drain` DT property for this, but on this
chip there is more than one pin (GPIO, FAULT interrupt) that could also
need to be open-drain and not all at the same time.

Signed-off-by: David Lechner (TI) <dlechner@baylibre.com>
---
David Lechner (TI) (2):
      iio: adc: ti-ads112c14: add DRDY interrupt support
      iio: adc: ti-ads112c14: add continuous mode support

 drivers/iio/adc/ti-ads112c14.c | 278 +++++++++++++++++++++++++++++++++++++----
 1 file changed, 251 insertions(+), 27 deletions(-)
---
base-commit: 0b5e142ced4bcf20532da051934bd694d1bbd470
change-id: 20260724-iio-adc-ti-ads112c14-continuous-mode-dd1580754609
prerequisite-change-id: 20260714-iio-adc-ti-ads112c14-buffered-read-41e5d1ca0dc3:v2
prerequisite-patch-id: 8723aa599dcf5b836fb81cf1efb6c9096bf60b7a
prerequisite-patch-id: 12754335ccf210bcdeaa8a5d60b2280618d50993

Best regards,
--  
David Lechner (TI) <dlechner@baylibre.com>


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

end of thread, other threads:[~2026-07-27 21:18 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-07-24 20:13 [PATCH 0/2] iio: adc: ti-ads112c14: continuous mode support David Lechner (TI)
2026-07-24 20:13 ` [PATCH 1/2] iio: adc: ti-ads112c14: add DRDY interrupt support David Lechner (TI)
2026-07-27  1:34   ` Jonathan Cameron
2026-07-24 20:13 ` [PATCH 2/2] iio: adc: ti-ads112c14: add continuous mode support David Lechner (TI)
2026-07-27  1:45   ` Jonathan Cameron
2026-07-27 13:45     ` David Lechner
2026-07-27 21:18       ` Jonathan Cameron

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

all inboxes | Powered by JetHome®