Skip to content

iio: dac: ltc2632: add support for LTC2654 DAC family

David Marinović linux-devicetree linux-iio lkml 3 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v3 Latest3 patches 5 repliesIn review
  2. v23 patches 2 repliesSuperseded
  3. v12 patches 3 repliesSuperseded

Changes in v3 from the cover letter

- Patch 1 unchanged
- DT bindings use fallback compatibles for LTC2654-L12 and LTC2654-H12, which are register-compatible with LTC2634-L12 and LTC2634-H12
- LTC2654-L16 and LTC2654-H16 keep separate compatible strings as no existing compatible supports 16-bit resolution
- 12-bit variants reuse existing LTC2634 chip_info structures, so only two new chip_info structures are added for 16-bit variants

Patches in v3 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3iio: dac: ltc2632: drop enum and use individual chip_info objectsdrivers/iio/dac/ltc2632.c+142 -1850 replies
2/3dt-bindings: iio: dac: ltc2632: add LTC2654 compatible stringsDocumentation/devicetree/bindings/iio/dac/lltc,ltc2632.yaml+35 -222 replies
3/3iio: dac: ltc2632: add support for LTC2654 DAC familydrivers/iio/dac/ltc2632.c+23 -31 reply

Reviews trailers per patch

2 of 3 patches have a Reviewed-by or Acked-by.

PatchAndy ShevchenkoConor Dooley
1/3R-b
2/3A-b
3/3

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v3 thread

Cover letter [PATCH v3 0/3] iio: dac: ltc2632: add support for LTC2654 DAC family

From: David Marinovic <[email protected]>

Greetings!

This is v3 of the LTC2654 DAC support patch series.

The LTC2654 is a quad-channel, 16-/12-bit DAC with internal reference voltage and SPI interface, sharing the same 24-bit SPI protocol as the LTC2632/2634/2636 family.

The LTC2654L-16 variant was tested on a Phytec phyCORE-STM32MP1 board with the DAC connected via SPI1. The driver probes successfully and all 4 channels are accessible via IIO sysfs.

Changes in v3:
- Patch 1 unchanged
- DT bindings use fallback compatibles for LTC2654-L12 and LTC2654-H12, which are register-compatible with LTC2634-L12 and LTC2634-H12
- LTC2654-L16 and LTC2654-H16 keep separate compatible strings as no existing compatible supports 16-bit resolution
- 12-bit variants reuse existing LTC2634 chip_info structures, so only two new chip_info structures are added for 16-bit variants

David Marinovic (3):
iio: dac: ltc2632: drop enum and use individual chip_info objects
dt-bindings: iio: dac: ltc2632: add LTC2654 compatible strings
iio: dac: ltc2632: add support for LTC2654 DAC family

 .../bindings/iio/dac/lltc,ltc2632.yaml        |  12 +-
 drivers/iio/dac/ltc2632.c                     | 367 +++++++++---------
 2 files changed, 188 insertions(+), 191 deletions(-)
Signature · 1 line
2.50.1