GNU Linux-libre 6.8.9-gnu
[releases.git] / Documentation / devicetree / bindings / iio / dac / maxim,max5522.yaml
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
7 title: Maxim Integrated MAX5522 Dual 10-bit Voltage-Output SPI DACs
8
9 maintainers:
10   - Angelo Dureghello <angelo.dureghello@timesys.com>
11   - Jonathan Cameron <jic23@kernel.org>
12
13 description: |
14   Datasheet available at:
15   https://www.analog.com/en/products/max5522.html
16
17 properties:
18   compatible:
19     const: maxim,max5522
20
21   reg:
22     maxItems: 1
23
24   vdd-supply: true
25   vrefin-supply: true
26
27 required:
28   - compatible
29   - reg
30   - vrefin-supply
31
32 allOf:
33   - $ref: /schemas/spi/spi-peripheral-props.yaml#
34
35 unevaluatedProperties: false
36
37 examples:
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 ...