1# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
2%YAML 1.2
3---
4$id: http://devicetree.org/schemas/iio/dac/microchip,mcp4922.yaml#
5$schema: http://devicetree.org/meta-schemas/core.yaml#
6
7title: Microchip MCP4902, MCP4912 and MPC4922 dual output SPI DACs
8
9maintainers:
10  - Jonathan Cameron <jic23@kernel.org>
11  - Michael Welling <mwelling@ieee.org>
12
13properties:
14  compatible:
15    enum:
16      - microchip,mcp4902
17      - microchip,mcp4912
18      - microchip,mcp4922
19
20  reg:
21    maxItems: 1
22
23  spi-max-frequency: true
24
25  vref-supply: true
26
27additionalProperties: false
28
29required:
30  - compatible
31  - reg
32  - vref-supply
33
34examples:
35  - |
36    spi {
37        #address-cells = <1>;
38        #size-cells = <0>;
39
40        dac@0 {
41            compatible = "microchip,mcp4912";
42            reg = <0>;
43            vref-supply = <&dac_vref>;
44        };
45    };
46...
47