[PATCH 0/3] Add support for AD5706R DAC

Alexis Czezar Torreno posted 3 patches 1 month, 3 weeks ago
There is a newer version of this series
.../devicetree/bindings/iio/dac/adi,ad5706r.yaml   |   96 +
MAINTAINERS                                        |    8 +
drivers/iio/dac/Kconfig                            |   11 +
drivers/iio/dac/Makefile                           |    1 +
drivers/iio/dac/ad5706r.c                          | 2290 ++++++++++++++++++++
5 files changed, 2406 insertions(+)
[PATCH 0/3] Add support for AD5706R DAC
Posted by Alexis Czezar Torreno 1 month, 3 weeks ago
This series adds support for the Analog Devices AD5706R, a 4-channel
16-bit current output digital-to-analog converter with SPI interface.

The AD5706R features:
  - 4 independent current output DAC channels
  - Configurable output ranges (50mA, 150mA, 200mA, 300mA)
  - Hardware and software LDAC trigger with configurable edge selection
  - Toggle and dither modes per channel
  - Internal or external voltage reference selection
  - PWM-controlled LDAC
  - Dynamic change SPI speed

The driver exposes standard IIO raw/scale/offset channel attributes for
DAC output control, sampling frequency for PWM-based LDAC timing, and
extended attributes for device configuration including output range
selection, trigger mode, and multiplexer output.

This driver is developed and tested on the Cora Z7S platform using
the AXI SPI Engine and AXI CLKGEN IP cores. The 'clocks' property
enables dynamic SPI clock rate management via the CLKGEN.

Datasheet: https://www.analog.com/en/products/ad5706r.html

Signed-off-by: Alexis Czezar Torreno <alexisczezar.torreno@analog.com>
---
Alexis Czezar Torreno (3):
      dt-bindings: iio: dac: Add binding for AD5706R
      iio: dac: ad5706r: Add support for AD5706R DAC
      MAINTAINERS: Add entry for AD5706R DAC driver

 .../devicetree/bindings/iio/dac/adi,ad5706r.yaml   |   96 +
 MAINTAINERS                                        |    8 +
 drivers/iio/dac/Kconfig                            |   11 +
 drivers/iio/dac/Makefile                           |    1 +
 drivers/iio/dac/ad5706r.c                          | 2290 ++++++++++++++++++++
 5 files changed, 2406 insertions(+)
---
base-commit: 3674f3ca92730d9a07b42b311f1337d83c4d5605
change-id: 20260220-dev_ad5706r-2105e1dd29ab

Best regards,
-- 
Alexis Czezar Torreno <alexisczezar.torreno@analog.com>
Re: [PATCH 0/3] Add support for AD5706R DAC
Posted by Andy Shevchenko 1 month, 3 weeks ago
On Fri, Feb 20, 2026 at 04:02:55PM +0800, Alexis Czezar Torreno wrote:
> This series adds support for the Analog Devices AD5706R, a 4-channel
> 16-bit current output digital-to-analog converter with SPI interface.
> 
> The AD5706R features:
>   - 4 independent current output DAC channels
>   - Configurable output ranges (50mA, 150mA, 200mA, 300mA)
>   - Hardware and software LDAC trigger with configurable edge selection
>   - Toggle and dither modes per channel
>   - Internal or external voltage reference selection
>   - PWM-controlled LDAC
>   - Dynamic change SPI speed

It's ~2300 LoC file, please split by features, so the first patch brings basics
and a few followups that add the rest.

> The driver exposes standard IIO raw/scale/offset channel attributes for
> DAC output control, sampling frequency for PWM-based LDAC timing, and
> extended attributes for device configuration including output range
> selection, trigger mode, and multiplexer output.
> 
> This driver is developed and tested on the Cora Z7S platform using
> the AXI SPI Engine and AXI CLKGEN IP cores. The 'clocks' property
> enables dynamic SPI clock rate management via the CLKGEN.
> 
> Datasheet: https://www.analog.com/en/products/ad5706r.html

> 

No blank lines in the tag block.
(Not sure if `b4` can spread it over the series either way.)

> Signed-off-by: Alexis Czezar Torreno <alexisczezar.torreno@analog.com>


-- 
With Best Regards,
Andy Shevchenko