xref: /linux/Documentation/devicetree/bindings/iio/dac/adi,ad5791.yaml (revision 8632987380765dee716d460640aa58d58d52998e)
1# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
2%YAML 1.2
3---
4$id: http://devicetree.org/schemas/iio/dac/adi,ad5791.yaml#
5$schema: http://devicetree.org/meta-schemas/core.yaml#
6
7title: Analog Devices AD5791 and similar DACs
8
9maintainers:
10  - Michael Hennerich <michael.hennerich@analog.com>
11  - Jonathan Cameron <jic23@kernel.org>
12
13properties:
14
15  compatible:
16    enum:
17      - adi,ad5760
18      - adi,ad5780
19      - adi,ad5781
20      - adi,ad5790
21      - adi,ad5791
22
23  reg:
24    maxItems: 1
25
26  spi-max-frequency: true
27
28  vdd-supply: true
29  vss-supply: true
30
31additionalProperties: false
32
33required:
34  - compatible
35  - reg
36  - vdd-supply
37  - vss-supply
38
39examples:
40  - |
41    spi {
42        #address-cells = <1>;
43        #size-cells = <0>;
44
45        dac@0 {
46            compatible = "adi,ad5791";
47            reg = <0>;
48            vss-supply = <&dac_vss>;
49            vdd-supply = <&dac_vdd>;
50        };
51    };
52...
53