1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
2 # Copyright 2020 Analog Devices Inc.
5 $id: http://devicetree.org/schemas/bindings/iio/dac/adi,ad5770r.yaml#
6 $schema: http://devicetree.org/meta-schemas/core.yaml#
8 title: Analog Devices AD5770R DAC device driver
11 - Mircea Caprioru <mircea.caprioru@analog.com>
14 Bindings for the Analog Devices AD5770R current DAC device. Datasheet can be
16 https://www.analog.com/media/en/technical-documentation/data-sheets/AD5770R.pdf
28 AVdd voltage supply. Represents two different supplies in the datasheet
29 that are in fact the same.
33 Voltage supply for the chip interface.
36 description: Specify the voltage of the external reference used.
37 Available reference options are 1.25 V or 2.5 V. If no
38 external reference declared then the device will use the
39 internal reference of 1.25 V.
41 adi,external-resistor:
42 description: Specify if an external 2.5k ohm resistor is used. If not
43 specified the device will use an internal 2.5k ohm resistor.
44 The precision resistor is used for reference current generation.
48 description: GPIO spec for the RESET pin. If specified, it will be
49 asserted during driver probe.
53 description: Represents an external channel which are
54 connected to the DAC. Channel 0 can act both as a current
60 description: This represents the channel number.
65 description: Output range of the channel.
67 - $ref: /schemas/types.yaml#/definitions/int32-array
71 - enum: [-60000 300000]
74 description: Represents an external channel which are
80 description: This represents the channel number.
85 description: Output range of the channel.
87 - $ref: /schemas/types.yaml#/definitions/uint32-array
93 description: Represents an external channel which are
99 description: This represents the channel number.
104 description: Output range of the channel.
106 - $ref: /schemas/types.yaml#/definitions/uint32-array
114 description: Represents the external channels which are connected to the DAC.
117 description: This represents the channel number.
123 description: Output range of the channel.
125 - $ref: /schemas/types.yaml#/definitions/uint32-array
143 #address-cells = <1>;
147 compatible = "ad5770r";
149 spi-max-frequency = <1000000>;
150 vref-supply = <&vref>;
151 adi,external-resistor;
152 reset-gpios = <&gpio 22 0>;
156 adi,range-microamp = <(-60000) 300000>;
161 adi,range-microamp = <0 140000>;
166 adi,range-microamp = <0 55000>;
171 adi,range-microamp = <0 45000>;
176 adi,range-microamp = <0 45000>;
181 adi,range-microamp = <0 45000>;