xref: /linux/Documentation/devicetree/bindings/iio/dac/microchip,mcp4922.yaml (revision 4f2c0a4acffbec01079c28f839422e64ddeff004)
1f21a5f72SJonathan Cameron# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
2f21a5f72SJonathan Cameron%YAML 1.2
3f21a5f72SJonathan Cameron---
4f21a5f72SJonathan Cameron$id: http://devicetree.org/schemas/iio/dac/microchip,mcp4922.yaml#
5f21a5f72SJonathan Cameron$schema: http://devicetree.org/meta-schemas/core.yaml#
6f21a5f72SJonathan Cameron
7f21a5f72SJonathan Camerontitle: Microchip MCP4902, MCP4912 and MPC4922 dual output SPI DACs
8f21a5f72SJonathan Cameron
9f21a5f72SJonathan Cameronmaintainers:
10f21a5f72SJonathan Cameron  - Jonathan Cameron <jic23@kernel.org>
11f21a5f72SJonathan Cameron  - Michael Welling <mwelling@ieee.org>
12f21a5f72SJonathan Cameron
13f21a5f72SJonathan Cameronproperties:
14f21a5f72SJonathan Cameron  compatible:
15f21a5f72SJonathan Cameron    enum:
16f21a5f72SJonathan Cameron      - microchip,mcp4902
17f21a5f72SJonathan Cameron      - microchip,mcp4912
18654f9661SKory Maincent      - microchip,mcp4921
19f21a5f72SJonathan Cameron      - microchip,mcp4922
20f21a5f72SJonathan Cameron
21f21a5f72SJonathan Cameron  reg:
22f21a5f72SJonathan Cameron    maxItems: 1
23f21a5f72SJonathan Cameron
24f21a5f72SJonathan Cameron  vref-supply: true
25f21a5f72SJonathan Cameron
26f21a5f72SJonathan Cameronrequired:
27f21a5f72SJonathan Cameron  - compatible
28f21a5f72SJonathan Cameron  - reg
29f21a5f72SJonathan Cameron  - vref-supply
30f21a5f72SJonathan Cameron
31*25d04699SKrzysztof KozlowskiallOf:
32*25d04699SKrzysztof Kozlowski  - $ref: /schemas/spi/spi-peripheral-props.yaml#
33*25d04699SKrzysztof Kozlowski
34*25d04699SKrzysztof KozlowskiunevaluatedProperties: false
35*25d04699SKrzysztof Kozlowski
36f21a5f72SJonathan Cameronexamples:
37f21a5f72SJonathan Cameron  - |
38f21a5f72SJonathan Cameron    spi {
39f21a5f72SJonathan Cameron        #address-cells = <1>;
40f21a5f72SJonathan Cameron        #size-cells = <0>;
41f21a5f72SJonathan Cameron
42f21a5f72SJonathan Cameron        dac@0 {
43f21a5f72SJonathan Cameron            compatible = "microchip,mcp4912";
44f21a5f72SJonathan Cameron            reg = <0>;
45f21a5f72SJonathan Cameron            vref-supply = <&dac_vref>;
46f21a5f72SJonathan Cameron        };
47f21a5f72SJonathan Cameron    };
48f21a5f72SJonathan Cameron...
49