All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v2 0/2] iio: adc: ti-ads112c14: buffered read support
@ 2026-07-24 15:55 David Lechner (TI)
  2026-07-24 15:55 ` [PATCH v2 1/2] iio: adc: ti-ads112c14: add support for I2C CRC8 David Lechner (TI)
  2026-07-24 15:55 ` [PATCH v2 2/2] iio: adc: ti-ads112c14: add support for buffered read David Lechner (TI)
  0 siblings, 2 replies; 7+ messages in thread
From: David Lechner (TI) @ 2026-07-24 15:55 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:
* This just includes support for software triggers using the single-shot
  mode for now. We will follow up later with DRDY interrupt support and
  a new trigger to allow using the continuous mode.
* 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>
---
Changes in v2:
- Dropped debugfs patch that was applied.
- Adjusted for tweaks made to [1] when it was applied.
- Made some clarifications in the last patch (commit message and comments).
- Refactored the index tracking (`i` variable) in the last patch.
- Link to v1: https://patch.msgid.link/20260714-iio-adc-ti-ads112c14-buffered-read-v1-0-fe6e1c971288@baylibre.com

---
David Lechner (TI) (2):
      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 | 255 +++++++++++++++++++++++++++++++++++++++--
 2 files changed, 243 insertions(+), 13 deletions(-)
---
base-commit: 0b5e142ced4bcf20532da051934bd694d1bbd470
change-id: 20260714-iio-adc-ti-ads112c14-buffered-read-41e5d1ca0dc3

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  1:10 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-07-24 15:55 [PATCH v2 0/2] iio: adc: ti-ads112c14: buffered read support David Lechner (TI)
2026-07-24 15:55 ` [PATCH v2 1/2] iio: adc: ti-ads112c14: add support for I2C CRC8 David Lechner (TI)
2026-07-24 18:33   ` David Lechner
2026-07-27  1:03   ` Jonathan Cameron
2026-07-24 15:55 ` [PATCH v2 2/2] iio: adc: ti-ads112c14: add support for buffered read David Lechner (TI)
2026-07-24 18:34   ` David Lechner
2026-07-27  1:09   ` Jonathan Cameron

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.