xref: /freebsd/sys/contrib/device-tree/Bindings/iio/dac/adi,ad5791.yaml (revision 5ca8e32633c4ffbbcd6762e5888b6a4ba0708c6c)
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  vdd-supply: true
27  vss-supply: true
28
29required:
30  - compatible
31  - reg
32  - vdd-supply
33  - vss-supply
34
35allOf:
36  - $ref: /schemas/spi/spi-peripheral-props.yaml#
37
38unevaluatedProperties: false
39
40examples:
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...
54