This version is outdated by a newer approved version.DiffThis version (23 May 2018 11:07) is a draft.
Approvals: 0/1

This is an old revision of the document!

AD5758 IIO DAC Linux Driver

Supported Devices

This driver supports the

Evaluation Boards


This is a Linux industrial I/O (IIO) subsystem driver, targeting multi-channel serial interface DACs. The industrial I/O subsystem provides a unified framework for drivers for many different types of converters and sensors using a number of different physical interfaces (i2c, spi, etc). See IIO for more information.

Source Code


Source Mainlined?
git [In progress…]



Required properties for the AD5758:

  • compatible: Must be “adi,ad5758”
  • reg: SPI chip select number for the device
  • spi-max-frequency: Max SPI frequency to use (< 50000000)
  • spi-cpha: is the only mode that is supported

Optional properties:

  • reset-gpios : GPIO spec for the RESET pin. If specified, it will be asserted during driver probe.
  • adi,dc-dc-mode: Mode of operation of the dc-to-dc converter
  • adi,dc-dc-ilim: The dc-to-dc converter current limit
  • adi,slew: Array of slewrate settings should contain 3 fields:
  • adi,range: The output range
	#address-cells = <1>;
	#size-cells = <0>;
	status = "okay";

	ad5758@0 {
                compatible = "adi,ad5758";
                reg = <0>;
                spi-max-frequency = <1000000>;

                reset-gpios = <&gpio 22 0>;  /* optional */

                adi,dc-dc-mode = <2>;
                adi,dc-dc-ilim = <200>;
                adi,slew = <1 200000 12>;
                adi,range = <1>;
resources/tools-software/linux-drivers/iio-dac/ad5758.1527066472.txt.gz · Last modified: 23 May 2018 11:07 by Stefan Popa