Merge tag 'for-5.15/io_uring-2021-09-04' of git://git.kernel.dk/linux-block
[linux-2.6-microblaze.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   spi-max-frequency: true
27
28   vdd-supply: true
29   vss-supply: true
30
31 additionalProperties: false
32
33 required:
34   - compatible
35   - reg
36   - vdd-supply
37   - vss-supply
38
39 examples:
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 ...