1# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
2%YAML 1.2
3---
4$id: http://devicetree.org/schemas/iio/dac/maxim,max5821.yaml#
5$schema: http://devicetree.org/meta-schemas/core.yaml#
6
7title: Maxim max5821 dual 10-bit DAC
8
9maintainers:
10  - Philippe Reynes <tremyfr@yahoo.fr>
11
12description: |
13  Datasheet publicly available at:
14  https://datasheets.maximintegrated.com/en/ds/MAX5821.pdf
15
16properties:
17  compatible:
18    const: maxim,max5821
19
20  reg:
21    maxItems: 1
22
23  vref-supply: true
24
25required:
26  - compatible
27  - reg
28  - vref-supply
29
30additionalProperties: false
31
32examples:
33  - |
34    i2c {
35        #address-cells = <1>;
36        #size-cells = <0>;
37
38        dac@38 {
39            compatible = "maxim,max5821";
40            reg = <0x38>;
41            vref-supply = <&reg_max5821>;
42        };
43    };
44...
45