xref: /freebsd/sys/contrib/device-tree/Bindings/iio/dac/adi,ad5686.yaml (revision a64729f5077d77e13b9497cb33ecb3c82e606ee8)
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,ad5337r
37          - adi,ad5338r
38          - adi,ad5671r
39          - adi,ad5675r
40          - adi,ad5691r
41          - adi,ad5692r
42          - adi,ad5693
43          - adi,ad5693r
44          - adi,ad5694
45          - adi,ad5694r
46          - adi,ad5695r
47          - adi,ad5696
48          - adi,ad5696r
49
50
51  reg:
52    maxItems: 1
53
54  vcc-supply:
55    description: If not supplied the internal reference is used.
56
57required:
58  - compatible
59  - reg
60
61allOf:
62  - $ref: /schemas/spi/spi-peripheral-props.yaml#
63
64unevaluatedProperties: false
65
66examples:
67  - |
68    spi {
69        #address-cells = <1>;
70        #size-cells = <0>;
71        dac@0 {
72            reg = <0>;
73            compatible = "adi,ad5310r";
74            vcc-supply = <&dac_vref0>;
75        };
76    };
77...
78