xref: /freebsd/sys/contrib/device-tree/Bindings/iio/dac/adi,ad5686.yaml (revision 8ddb146abcdf061be9f2c0db7e391697dafad85c)
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 DACs
8
9maintainers:
10  - Michael Hennerich <michael.hennerich@analog.com>
11  - Jonathan Cameron <jic23@kernel.org>
12
13properties:
14  compatible:
15    oneOf:
16      - description: SPI devices
17        enum:
18          - adi,ad5310r
19          - adi,ad5672r
20          - adi,ad5674r
21          - adi,ad5676
22          - adi,ad5676r
23          - adi,ad5679r
24          - adi,ad5681r
25          - adi,ad5682r
26          - adi,ad5683
27          - adi,ad5683r
28          - adi,ad5684
29          - adi,ad5684r
30          - adi,ad5685r
31          - adi,ad5686
32          - adi,ad5686r
33      - description: I2C devices
34        enum:
35          - adi,ad5311r
36          - adi,ad5338r
37          - adi,ad5671r
38          - adi,ad5675r
39          - adi,ad5691r
40          - adi,ad5692r
41          - adi,ad5693
42          - adi,ad5693r
43          - adi,ad5694
44          - adi,ad5694r
45          - adi,ad5695r
46          - adi,ad5696
47          - adi,ad5696r
48
49
50  reg:
51    maxItems: 1
52
53  vcc-supply:
54    description: If not supplied the internal reference is used.
55
56  spi-max-frequency: true
57
58additionalProperties: false
59
60required:
61  - compatible
62  - reg
63
64examples:
65  - |
66    spi {
67        #address-cells = <1>;
68        #size-cells = <0>;
69        dac@0 {
70            reg = <0>;
71            compatible = "adi,ad5310r";
72            vcc-supply = <&dac_vref0>;
73        };
74    };
75...
76