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,max5522.yaml#
5$schema: http://devicetree.org/meta-schemas/core.yaml#
6
7title: Maxim Integrated MAX5522 Dual 10-bit Voltage-Output SPI DACs
8
9maintainers:
10  - Angelo Dureghello <angelo.dureghello@timesys.com>
11  - Jonathan Cameron <jic23@kernel.org>
12
13description: |
14  Datasheet available at:
15  https://www.analog.com/en/products/max5522.html
16
17properties:
18  compatible:
19    const: maxim,max5522
20
21  reg:
22    maxItems: 1
23
24  vdd-supply: true
25  vrefin-supply: true
26
27required:
28  - compatible
29  - reg
30  - vrefin-supply
31
32allOf:
33  - $ref: /schemas/spi/spi-peripheral-props.yaml#
34
35unevaluatedProperties: false
36
37examples:
38  - |
39    spi {
40        #address-cells = <1>;
41        #size-cells = <0>;
42
43        dac@0 {
44            compatible = "maxim,max5522";
45            reg = <0>;
46            vrefin-supply = <&vref>;
47        };
48    };
49...
50