|
|
Log in / Subscribe / Register

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

From:  David Marinović <david.marinovic-AT-pupin.rs>
To:  jic23-AT-kernel.org
Subject:  [PATCH v3 0/3] iio: dac: ltc2632: add support for LTC2654 DAC family
Date:  Fri, 20 Mar 2026 16:09:45 +0100
Message-ID:  <20260320150957.105571-1-david.marinovic@pupin.rs>
Cc:  andriy.shevchenko-AT-intel.com, dlechner-AT-baylibre.com, nuno.sa-AT-analog.com, robh-AT-kernel.org, krzk+dt-AT-kernel.org, conor+dt-AT-kernel.org, michael.hennerich-AT-analog.com, linux-iio-AT-vger.kernel.org, devicetree-AT-vger.kernel.org, linux-kernel-AT-vger.kernel.org, David Marinovic <david.marinovic-AT-pupin.rs>
Archive-link:  Article

From: David Marinovic <david.marinovic@pupin.rs>

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(-)

-- 
2.50.1




Copyright © 2026, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds