GNU Linux-libre 6.1.90-gnu
[releases.git] / Documentation / devicetree / bindings / iio / dac / adi,ad5791.yaml
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
7 title: Analog Devices AD5791 and similar DACs
8
9 maintainers:
10   - Michael Hennerich <michael.hennerich@analog.com>
11   - Jonathan Cameron <jic23@kernel.org>
12
13 properties:
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   vdd-supply: true
27   vss-supply: true
28
29 required:
30   - compatible
31   - reg
32   - vdd-supply
33   - vss-supply
34
35 allOf:
36   - $ref: /schemas/spi/spi-peripheral-props.yaml#
37
38 unevaluatedProperties: false
39
40 examples:
41   - |
42     spi {
43         #address-cells = <1>;
44         #size-cells = <0>;
45
46         dac@0 {
47             compatible = "adi,ad5791";
48             reg = <0>;
49             vss-supply = <&dac_vss>;
50             vdd-supply = <&dac_vdd>;
51         };
52     };
53 ...