adi,max22017-dac

Vendor: Analog Devices, Inc.

Note

An implementation of a driver matching this compatible is available in drivers/dac/dac_max22017.c.

Description

Analog Devices MAX22017 16bit DAC

Properties

Properties not inherited from the base binding file.

Name

Type

Details

#io-channel-cells

int

This property is required.

Constant value: 2

num-channels

int

Number of DAC output channels.

Default value: 2

resolution

int

DAC resolution.

Default value: 16

busy-gpios

phandle-array

Busy line indicating the DAC is calculating next sample.

ldac-gpios

phandle-array

Load both DAC latches at the same time.

polarity-mode

uint8-array

Unipolar/bipolar mode selection for channels.
0 Indicates bipolar mode and 1 unipolar mode.
The default settings to bipolar here align with the default mode of the device.

Default value: [0, 0]

dac-mode

uint8-array

Voltage/current mode selection for channels.
0 indicates voltage mode and 1 indicates current mode.
The default settings to voltage mode here align with the default mode of the device.

Default value: [0, 0]

latch-mode

uint8-array

Latch mode selection for channels.
0 means the channel is not latched, 1 means latched.
The default settings to non latched should be more straightforward to use than the latched
mode. The latch mode can be used eitheir with the ldac-gpios to load both channels at the
same time or if no ldac-gpios property is set, latching will be done per channel with a
register write.

Default value: [0, 0]

overcurrent-mode

uint8-array

Overcurrent mode selection for channels.
0 for current limiting mode
1 for short circuit protection auto power up mode
2 for short circuit protection shutdown mode
The default setting to current limiting mode here aligns with the default mode of the device.

Default value: [0, 0]

timeout

int

Timeout in ms.
The value should be between 100 and 1600ms in increments of 100ms.