microchip,mcp4728 (on i2c bus)

Vendor: Microchip Technology Inc.

Description

Microchip MCP4728 12-bit 4-channel DAC

Properties

Properties not inherited from the base binding file.

Name

Type

Details

#io-channel-cells

int

This property is required.

Constant value: 1

voltage_reference

array

DAC voltage reference select.
0 - Vdd
1 - Internal voltage reference (2.048V)
Note: array entries correspond to the successive channels

This property is required.

power_down_mode

array

Power-down mode select.
0 - normal mode
1 - Vout is loaded with 1 kOhm resistor to ground
2 - Vout is loaded 100 kOhm resistor to ground
3 - Vout is loaded with 500 kOhm resistor to ground
Note: with values bigger than 0 most of channel circuits are powered off
Note: array entries correspond to the successive channels

This property is required.

gain

array

Gain selection bit.
0 = x1 (gain of 1)
1 = x2 (gain of 2)
Note: applicable only when internal Vref is selected
Note: array entries correspond to the successive channels

Default value: [0, 0, 0, 0]

supply-gpios

phandle-array

GPIO specifier that controls power to the device.

This property should be provided when the device has a dedicated
switch that controls power to the device.  The supply state is
entirely the responsibility of the device driver.

Contrast with vin-supply.

vin-supply

phandle

Reference to the regulator that controls power to the device.
The referenced devicetree node must have a regulator compatible.

This property should be provided when device power is supplied
by a shared regulator.  The supply state is dependent on the
request status of all devices fed by the regulator.

Contrast with supply-gpios.  If both properties are provided
then the regulator must be requested before the supply GPIOS is
set to an active state, and the supply GPIOS must be set to an
inactive state before releasing the regulator.

Specifier cell names

  • io-channel cells: output