1# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 2%YAML 1.2 3--- 4 5$id: http://devicetree.org/schemas/iio/dac/microchip,mcp4728.yaml# 6$schema: http://devicetree.org/meta-schemas/core.yaml# 7 8title: Microchip MCP4728 DAC 9 10maintainers: 11 - Andrea Collamati <andrea.collamati@gmail.com> 12 13description: | 14 MCP4728 is a quad channel, 12-bit voltage output 15 Digital-to-Analog Converter with non-volatile 16 memory and I2C compatible Serial Interface. 17 https://www.microchip.com/en-us/product/mcp4728 18 19properties: 20 compatible: 21 const: microchip,mcp4728 22 23 reg: 24 maxItems: 1 25 26 vdd-supply: 27 description: | 28 Provides both power and acts as the reference supply on the MCP4728 29 when Internal Vref is not selected. 30 31required: 32 - compatible 33 - reg 34 - vdd-supply 35 36additionalProperties: false 37 38examples: 39 - | 40 i2c { 41 #address-cells = <1>; 42 #size-cells = <0>; 43 44 dac@60 { 45 compatible = "microchip,mcp4728"; 46 reg = <0x60>; 47 vdd-supply = <&vdac_vdd>; 48 }; 49 }; 50