1description: Microchip MCP4728 12-bit 4-channel DAC 2 3compatible: "microchip,mcp4728" 4 5include: [dac-controller.yaml, i2c-device.yaml] 6 7properties: 8 "#io-channel-cells": 9 const: 1 10 11 voltage_reference: 12 type: array 13 required: true 14 description: | 15 DAC voltage reference select. 16 0 - Vdd 17 1 - Internal voltage reference (2.048V) 18 Note: array entries correspond to the successive channels 19 20 power_down_mode: 21 type: array 22 required: true 23 description: | 24 Power-down mode select. 25 0 - normal mode 26 1 - Vout is loaded with 1 kOhm resistor to ground 27 2 - Vout is loaded 100 kOhm resistor to ground 28 3 - Vout is loaded with 500 kOhm resistor to ground 29 Note: with values bigger than 0 most of channel circuits are powered off 30 Note: array entries correspond to the successive channels 31 32 gain: 33 type: array 34 default: [0, 0, 0, 0] 35 description: | 36 Gain selection bit. 37 0 = x1 (gain of 1) 38 1 = x2 (gain of 2) 39 Note: applicable only when internal Vref is selected 40 Note: array entries correspond to the successive channels 41 42io-channel-cells: 43 - output 44