0001 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
0002 %YAML 1.2
0003 ---
0004 $id: http://devicetree.org/schemas/iio/dac/microchip,mcp4922.yaml#
0005 $schema: http://devicetree.org/meta-schemas/core.yaml#
0006
0007 title: Microchip MCP4902, MCP4912 and MPC4922 dual output SPI DACs
0008
0009 maintainers:
0010 - Jonathan Cameron <jic23@kernel.org>
0011 - Michael Welling <mwelling@ieee.org>
0012
0013 properties:
0014 compatible:
0015 enum:
0016 - microchip,mcp4902
0017 - microchip,mcp4912
0018 - microchip,mcp4921
0019 - microchip,mcp4922
0020
0021 reg:
0022 maxItems: 1
0023
0024 spi-max-frequency: true
0025
0026 vref-supply: true
0027
0028 additionalProperties: false
0029
0030 required:
0031 - compatible
0032 - reg
0033 - vref-supply
0034
0035 examples:
0036 - |
0037 spi {
0038 #address-cells = <1>;
0039 #size-cells = <0>;
0040
0041 dac@0 {
0042 compatible = "microchip,mcp4912";
0043 reg = <0>;
0044 vref-supply = <&dac_vref>;
0045 };
0046 };
0047 ...