xref: /linux/Documentation/devicetree/bindings/iio/dac/adi,ad5686.yaml (revision c532de5a67a70f8533d495f8f2aaa9a0491c3ad0)
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,ad5686.yaml#
5$schema: http://devicetree.org/meta-schemas/core.yaml#
6
7title: Analog Devices AD5360 and similar SPI DACs
8
9maintainers:
10  - Michael Hennerich <michael.hennerich@analog.com>
11  - Jonathan Cameron <jic23@kernel.org>
12
13properties:
14  compatible:
15    enum:
16      - adi,ad5310r
17      - adi,ad5672r
18      - adi,ad5674r
19      - adi,ad5676
20      - adi,ad5676r
21      - adi,ad5679r
22      - adi,ad5681r
23      - adi,ad5682r
24      - adi,ad5683
25      - adi,ad5683r
26      - adi,ad5684
27      - adi,ad5684r
28      - adi,ad5685r
29      - adi,ad5686
30      - adi,ad5686r
31
32  reg:
33    maxItems: 1
34
35  vcc-supply:
36    description: If not supplied the internal reference is used.
37
38required:
39  - compatible
40  - reg
41
42allOf:
43  - $ref: /schemas/spi/spi-peripheral-props.yaml#
44
45unevaluatedProperties: false
46
47examples:
48  - |
49    spi {
50        #address-cells = <1>;
51        #size-cells = <0>;
52        dac@0 {
53            reg = <0>;
54            compatible = "adi,ad5310r";
55            vcc-supply = <&dac_vref0>;
56        };
57    };
58...
59