Merge tag 'for-5.15/io_uring-2021-09-04' of git://git.kernel.dk/linux-block
[linux-2.6-microblaze.git] / Documentation / devicetree / bindings / iio / dac / microchip,mcp4922.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/microchip,mcp4922.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
6
7 title: Microchip MCP4902, MCP4912 and MPC4922 dual output SPI DACs
8
9 maintainers:
10   - Jonathan Cameron <jic23@kernel.org>
11   - Michael Welling <mwelling@ieee.org>
12
13 properties:
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
27 additionalProperties: false
28
29 required:
30   - compatible
31   - reg
32   - vref-supply
33
34 examples:
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 ...