xref: /freebsd/sys/contrib/device-tree/Bindings/iio/dac/microchip,mcp4922.yaml (revision b97ee269eae3cbaf35c18f51a459aea581c2a7dc)
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,mcp4921
19      - microchip,mcp4922
20
21  reg:
22    maxItems: 1
23
24  spi-max-frequency: true
25
26  vref-supply: true
27
28additionalProperties: false
29
30required:
31  - compatible
32  - reg
33  - vref-supply
34
35examples:
36  - |
37    spi {
38        #address-cells = <1>;
39        #size-cells = <0>;
40
41        dac@0 {
42            compatible = "microchip,mcp4912";
43            reg = <0>;
44            vref-supply = <&dac_vref>;
45        };
46    };
47...
48