Skip to content

iio: adc: Add support for LTC2378 and similar ADCs

Marcelo Schmitt linux-devicetree linux-iio lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest4 patches 7 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4dt-bindings: iio: adc: Add ltc2378Documentation/devicetree/bindings/iio/adc/adi,ltc2378.yaml MAINTAINERS+138 -02 replies
2/4iio: adc: Add support for LTC2378-20 and similar ADCsMAINTAINERS drivers/iio/adc/Kconfig drivers/iio/adc/Makefile +2 more+414 -01 reply
3/4iio: adc: ltc2378: Enable high-speed data capturedrivers/iio/adc/Kconfig drivers/iio/adc/Makefile drivers/iio/adc/ltc2378-offload-buffer.c +2 more+406 -03 replies
4/4iio: adc: ltc2378: Enable triggered buffer data capturedrivers/iio/adc/Kconfig drivers/iio/adc/ltc2378.c+37 -31 reply

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH v1 0/4] iio: adc: Add support for LTC2378 and similar ADCs

From: Marcelo Schmitt <[email protected]>

This patch series adds support for LTC2378 and similar low noise, low power, high speed, successive approximation register (SAR) ADCs. These ADCs are similar among each other, varying mainly on the amount of precision bits, maximum sample rate, and input configuration (either fully differential or pseudo-differential).

The initial support patch enables single-shot sample read with a GPIO connected to the CNV pin.

The second support patch enables high-speed data captures with SPI offloading. The setup is similar to AD4030, with a specialized PWM generator being used both for SPI offload triggering and conversion start signaling.

The last support patch enables running buffered data captures without SPI offloading.

Some structures and variables are introduced earlier to reduce diff in latter patches.

With best regards,
Marcelo

Marcelo Schmitt (4):
dt-bindings: iio: adc: Add ltc2378
iio: adc: Add support for LTC2378-20 and similar ADCs
iio: adc: ltc2378: Enable high-speed data capture
iio: adc: ltc2378: Enable triggered buffer data capture

 .../bindings/iio/adc/adi,ltc2378.yaml         | 131 +++++
 MAINTAINERS                                   |   8 +
 drivers/iio/adc/Kconfig                       |  25 +
 drivers/iio/adc/Makefile                      |   2 +
 drivers/iio/adc/ltc2378-offload-buffer.c      | 297 ++++++++++++
 drivers/iio/adc/ltc2378.c                     | 447 ++++++++++++++++++
 drivers/iio/adc/ltc2378.h                     |  82 ++++
 7 files changed, 992 insertions(+)
 create mode 100644 Documentation/devicetree/bindings/iio/adc/adi,ltc2378.yaml
 create mode 100644 drivers/iio/adc/ltc2378-offload-buffer.c
 create mode 100644 drivers/iio/adc/ltc2378.c
 create mode 100644 drivers/iio/adc/ltc2378.h

base-commit: 8678fb54958893818ddeccd05fea560a4e1fc759

Signature · 1 line
2.53.0