xref: /freebsd/sys/contrib/device-tree/Bindings/iio/dac/adi,ad3530r.yaml (revision ae5de77ed78ae54d86cead5604869212e8008e6b)
1*ae5de77eSEmmanuel Vadot# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
2*ae5de77eSEmmanuel Vadot%YAML 1.2
3*ae5de77eSEmmanuel Vadot---
4*ae5de77eSEmmanuel Vadot$id: http://devicetree.org/schemas/iio/dac/adi,ad3530r.yaml#
5*ae5de77eSEmmanuel Vadot$schema: http://devicetree.org/meta-schemas/core.yaml#
6*ae5de77eSEmmanuel Vadot
7*ae5de77eSEmmanuel Vadottitle: Analog Devices AD3530R and Similar DACs
8*ae5de77eSEmmanuel Vadot
9*ae5de77eSEmmanuel Vadotmaintainers:
10*ae5de77eSEmmanuel Vadot  - Kim Seer Paller <kimseer.paller@analog.com>
11*ae5de77eSEmmanuel Vadot
12*ae5de77eSEmmanuel Vadotdescription: |
13*ae5de77eSEmmanuel Vadot  The AD3530/AD3530R (8-channel) and AD3531/AD3531R (4-channel) are low-power,
14*ae5de77eSEmmanuel Vadot  16-bit, buffered voltage output digital-to-analog converters (DACs) with
15*ae5de77eSEmmanuel Vadot  software-programmable gain controls, providing full-scale output spans of 2.5V
16*ae5de77eSEmmanuel Vadot  or 5V for reference voltages of 2.5V. These devices operate from a single 2.7V
17*ae5de77eSEmmanuel Vadot  to 5.5V supply and are guaranteed monotonic by design. The "R" variants
18*ae5de77eSEmmanuel Vadot  include a 2.5V, 5ppmC internal reference, which is disabled by default.
19*ae5de77eSEmmanuel Vadot  Datasheet can be found here:
20*ae5de77eSEmmanuel Vadot  https://www.analog.com/media/en/technical-documentation/data-sheets/ad3530_ad530r.pdf
21*ae5de77eSEmmanuel Vadot  https://www.analog.com/media/en/technical-documentation/data-sheets/ad3531-ad3531r.pdf
22*ae5de77eSEmmanuel Vadot
23*ae5de77eSEmmanuel Vadotproperties:
24*ae5de77eSEmmanuel Vadot  compatible:
25*ae5de77eSEmmanuel Vadot    enum:
26*ae5de77eSEmmanuel Vadot      - adi,ad3530
27*ae5de77eSEmmanuel Vadot      - adi,ad3530r
28*ae5de77eSEmmanuel Vadot      - adi,ad3531
29*ae5de77eSEmmanuel Vadot      - adi,ad3531r
30*ae5de77eSEmmanuel Vadot
31*ae5de77eSEmmanuel Vadot  reg:
32*ae5de77eSEmmanuel Vadot    maxItems: 1
33*ae5de77eSEmmanuel Vadot
34*ae5de77eSEmmanuel Vadot  spi-max-frequency:
35*ae5de77eSEmmanuel Vadot    maximum: 50000000
36*ae5de77eSEmmanuel Vadot
37*ae5de77eSEmmanuel Vadot  vdd-supply:
38*ae5de77eSEmmanuel Vadot    description: Power Supply Input.
39*ae5de77eSEmmanuel Vadot
40*ae5de77eSEmmanuel Vadot  iovdd-supply:
41*ae5de77eSEmmanuel Vadot    description: Digital Power Supply Input.
42*ae5de77eSEmmanuel Vadot
43*ae5de77eSEmmanuel Vadot  io-channels:
44*ae5de77eSEmmanuel Vadot    description:
45*ae5de77eSEmmanuel Vadot      ADC channel used to monitor internal die temperature, output voltages, and
46*ae5de77eSEmmanuel Vadot      current of a selected channel via the MUXOUT pin.
47*ae5de77eSEmmanuel Vadot    maxItems: 1
48*ae5de77eSEmmanuel Vadot
49*ae5de77eSEmmanuel Vadot  ref-supply:
50*ae5de77eSEmmanuel Vadot    description:
51*ae5de77eSEmmanuel Vadot      Reference Input/Output. The voltage at the REF pin sets the full-scale
52*ae5de77eSEmmanuel Vadot      range of all channels. If not provided the internal reference is used and
53*ae5de77eSEmmanuel Vadot      also provided on the VREF pin.
54*ae5de77eSEmmanuel Vadot
55*ae5de77eSEmmanuel Vadot  reset-gpios:
56*ae5de77eSEmmanuel Vadot    description:
57*ae5de77eSEmmanuel Vadot      Active low signal that is falling edge sensitive. When it is deasserted,
58*ae5de77eSEmmanuel Vadot      the digital core initialization is performed and all DAC registers except
59*ae5de77eSEmmanuel Vadot      the Interface Configuration A register are reset to their default values.
60*ae5de77eSEmmanuel Vadot    maxItems: 1
61*ae5de77eSEmmanuel Vadot
62*ae5de77eSEmmanuel Vadot  ldac-gpios:
63*ae5de77eSEmmanuel Vadot    description:
64*ae5de77eSEmmanuel Vadot      LDAC pin to be used as a hardware trigger to update the DAC channels. If
65*ae5de77eSEmmanuel Vadot      not present, the DAC channels are updated by Software LDAC.
66*ae5de77eSEmmanuel Vadot    maxItems: 1
67*ae5de77eSEmmanuel Vadot
68*ae5de77eSEmmanuel Vadot  adi,range-double:
69*ae5de77eSEmmanuel Vadot    description:
70*ae5de77eSEmmanuel Vadot      Configure the output range for all channels. If the property is present,
71*ae5de77eSEmmanuel Vadot      the output will range from 0V to 2Vref. If the property is not present,
72*ae5de77eSEmmanuel Vadot      the output will range from 0V to Vref.
73*ae5de77eSEmmanuel Vadot    type: boolean
74*ae5de77eSEmmanuel Vadot
75*ae5de77eSEmmanuel Vadotrequired:
76*ae5de77eSEmmanuel Vadot  - compatible
77*ae5de77eSEmmanuel Vadot  - reg
78*ae5de77eSEmmanuel Vadot  - vdd-supply
79*ae5de77eSEmmanuel Vadot  - iovdd-supply
80*ae5de77eSEmmanuel Vadot
81*ae5de77eSEmmanuel VadotallOf:
82*ae5de77eSEmmanuel Vadot  - $ref: /schemas/spi/spi-peripheral-props.yaml#
83*ae5de77eSEmmanuel Vadot
84*ae5de77eSEmmanuel VadotunevaluatedProperties: false
85*ae5de77eSEmmanuel Vadot
86*ae5de77eSEmmanuel Vadotexamples:
87*ae5de77eSEmmanuel Vadot  - |
88*ae5de77eSEmmanuel Vadot    spi {
89*ae5de77eSEmmanuel Vadot        #address-cells = <1>;
90*ae5de77eSEmmanuel Vadot        #size-cells = <0>;
91*ae5de77eSEmmanuel Vadot        dac@0 {
92*ae5de77eSEmmanuel Vadot            compatible = "adi,ad3530r";
93*ae5de77eSEmmanuel Vadot            reg = <0>;
94*ae5de77eSEmmanuel Vadot            spi-max-frequency = <1000000>;
95*ae5de77eSEmmanuel Vadot
96*ae5de77eSEmmanuel Vadot            vdd-supply = <&vdd>;
97*ae5de77eSEmmanuel Vadot            iovdd-supply = <&iovdd>;
98*ae5de77eSEmmanuel Vadot        };
99*ae5de77eSEmmanuel Vadot    };
100*ae5de77eSEmmanuel Vadot...
101