Linux IIO development
 help / color / mirror / Atom feed
* [PATCH 0/3] iio: adc: ti-ads112c14: buffered read support
@ 2026-07-15  0:19 David Lechner (TI)
  2026-07-15  0:19 ` [PATCH 1/3] iio: adc: ti-ads112c14: add debugfs register access David Lechner (TI)
                   ` (2 more replies)
  0 siblings, 3 replies; 13+ messages in thread
From: David Lechner (TI) @ 2026-07-15  0:19 UTC (permalink / raw)
  To: Jonathan Cameron, Nuno Sá, Andy Shevchenko
  Cc: Chris Hall, Patrick Edwards, Kurt Borja, Nguyen Minh Tien,
	linux-iio, linux-kernel, David Lechner (TI)

This is the next phase of ti-ads112c14 support after [1].

Some design decision notes:
* These chips do have a continuous mode for sampling, but since it would
  only allow for enabling a single channel at a time, we have
  implemented buffered mode using the single-shot mode instead. We
  may consider adding continuous mode support later if there is a need
  for it (e.g. a need for higher sampling rates). It could be a bit
  complicated to do that though because it also changes timings. The
  timing issues will be discussed more in some later patches for adding
  settling time support.
* We wanted to enable CRC checking for data integrity, so it is just
  always enabled. This way, the buffer layout is always the same. I
  don't think we have an existing control for toggling CRC checking
  anyway.

[1]: https://lore.kernel.org/linux-iio/20260714-iio-adc-ti-ads122c14-v4-0-25f8e3084485@baylibre.com/

Signed-off-by: David Lechner (TI) <dlechner@baylibre.com>
---
David Lechner (TI) (3):
      iio: adc: ti-ads112c14: add debugfs register access
      iio: adc: ti-ads112c14: add support for I2C CRC8
      iio: adc: ti-ads112c14: add support for buffered read

 drivers/iio/adc/Kconfig        |   1 -
 drivers/iio/adc/ti-ads112c14.c | 262 +++++++++++++++++++++++++++++++++++++++--
 2 files changed, 253 insertions(+), 10 deletions(-)
---
base-commit: aa58ecc73466d0cb8c418de98e2225490bf600e3
change-id: 20260714-iio-adc-ti-ads112c14-buffered-read-41e5d1ca0dc3
prerequisite-change-id: 20260514-iio-adc-ti-ads122c14-d0b92479334e:v4
prerequisite-patch-id: c1c08977625bbf2bbafc19e53dcde79dadada9f3
prerequisite-patch-id: 9f9caedc1d3f82b572dfdb6599403802b0dc3954
prerequisite-patch-id: 32f19f729d27a1f3b3b4bf864f77a9a28b958e73
prerequisite-patch-id: ee6122649d9d716c023021058a1cb8ea7e94d58f
prerequisite-patch-id: b8e99497e6e6eee077330c6acca4f02baf2a6a18
prerequisite-patch-id: 10640e5e6b1414fd58124180a7510278f6315cc6
prerequisite-patch-id: 0c2d694a901eec7f25b2945b270cde91108c0beb
prerequisite-patch-id: de25580ebcfb560cc094ec3fa37c4eadc6ffac3c

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


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

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

Thread overview: 13+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-07-15  0:19 [PATCH 0/3] iio: adc: ti-ads112c14: buffered read support David Lechner (TI)
2026-07-15  0:19 ` [PATCH 1/3] iio: adc: ti-ads112c14: add debugfs register access David Lechner (TI)
2026-07-20  0:24   ` Jonathan Cameron
2026-07-22 22:52     ` David Lechner
2026-07-23 23:18       ` Jonathan Cameron
2026-07-15  0:19 ` [PATCH 2/3] iio: adc: ti-ads112c14: add support for I2C CRC8 David Lechner (TI)
2026-07-20  0:35   ` Jonathan Cameron
2026-07-15  0:19 ` [PATCH 3/3] iio: adc: ti-ads112c14: add support for buffered read David Lechner (TI)
2026-07-20  0:55   ` Jonathan Cameron
2026-07-21 23:23     ` David Lechner
2026-07-23 23:25       ` Jonathan Cameron
2026-07-24 14:47         ` David Lechner
2026-07-24 21:34           ` Jonathan Cameron

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