1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
4 $id: http://devicetree.org/schemas/iio/dac/adi,ad5755.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: Analog Devices AD5755 Multi-Channel DAC
10 - Sean Nyekjaer <sean.nyekjaer@prevas.dk>
25 description: Either this or spi-cpol but not both.
28 adi,ext-dc-dc-compenstation-resistor:
29 $ref: /schemas/types.yaml#/definitions/flag
31 Set if the hardware have an external resistor and thereby bypasses
32 the internal compensation resistor.
35 $ref: /schemas/types.yaml#/definitions/uint32
38 Valid values for DC DC Phase control is:
39 0: All dc-to-dc converters clock on the same edge.
40 1: Channel A and Channel B clock on the same edge,
41 Channel C and Channel D clock on opposite edges.
42 2: Channel A and Channel C clock on the same edge,
43 Channel B and Channel D clock on opposite edges.
44 3: Channel A, Channel B, Channel C, and Channel D
45 clock 90 degrees out of phase from each other.
48 enum: [250000, 410000, 650000]
50 adi,dc-dc-max-microvolt:
52 Maximum allowed Vboost voltage supplied by the dc-to-dc converter.
53 enum: [23000000, 24500000, 27000000, 29500000]
71 description: Child node to describe a channel
77 $ref: /schemas/types.yaml#/definitions/uint32
81 Valid values for DAC modes is:
82 0: 0 V to 5 V voltage range.
83 1: 0 V to 10 V voltage range.
84 2: Plus minus 5 V voltage range.
85 3: Plus minus 10 V voltage range.
86 4: 4 mA to 20 mA current range.
87 5: 0 mA to 20 mA current range.
88 6: 0 mA to 24 mA current range.
90 adi,ext-current-sense-resistor:
91 $ref: /schemas/types.yaml#/definitions/flag
93 Set if the hardware has an external current sense resistor
95 adi,enable-voltage-overrange:
96 $ref: /schemas/types.yaml#/definitions/flag
97 description: Enable voltage overrange
100 $ref: /schemas/types.yaml#/definitions/uint32-array
102 Array of slewrate settings should contain 3 fields:
103 1: Should be either 0 or 1 in order to enable or disable slewrate.
104 2: Slew rate update frequency
108 - enum: [64000, 32000, 16000, 8000, 4000, 2000, 1000, 500, 250, 125, 64, 32, 16, 8, 4, 0]
109 - enum: [1, 2, 4, 16, 32, 64, 128, 256]
114 additionalProperties: false
123 - $ref: /schemas/spi/spi-peripheral-props.yaml#
125 unevaluatedProperties: false
130 #address-cells = <1>;
134 #address-cells = <1>;
136 compatible = "adi,ad5755";
138 spi-max-frequency = <1000000>;
140 adi,dc-dc-phase = <0>;
141 adi,dc-dc-freq-hz = <410000>;
142 adi,dc-dc-max-microvolt = <23000000>;
146 adi,ext-current-sense-resistor;
147 adi,slew = <0 64000 1>;
152 adi,ext-current-sense-resistor;
153 adi,slew = <0 64000 1>;
158 adi,ext-current-sense-resistor;
159 adi,slew = <0 64000 1>;
164 adi,ext-current-sense-resistor;
165 adi,slew = <0 64000 1>;