1Kernel driver max517 2==================== 3 4Supported chips: 5 * Maxim MAX517, MAX518, MAX519 6 Prefix: 'max517' 7 Datasheet: Publicly available at the Maxim website 8 http://www.maxim-ic.com/ 9 10Author: 11 Roland Stigge <stigge@antcom.de> 12 13Description 14----------- 15 16The Maxim MAX517/518/519 is an 8-bit DAC on the I2C bus. The following table 17shows the different feature sets of the variants MAX517, MAX518 and MAX519: 18 19Feature MAX517 MAX518 MAX519 20-------------------------------------------------------------------------- 21One output channel X 22Two output channels X X 23Simultaneous output updates X X 24Supply voltage as reference X 25Separate reference input X 26Reference input for each DAC X 27 28Via the iio sysfs interface, there are three attributes available: out1_raw, 29out2_raw and out12_raw. With out1_raw and out2_raw, the current output values 30(0..255) of the DACs can be written to the device. out12_raw can be used to set 31both output channel values simultaneously. 32 33With MAX517, only out1_raw is available. 34 35Via out1_scale (and where appropriate, out2_scale), the current scaling factor 36in mV can be read. 37 38When the operating system goes to a power down state, the Power Down function 39of the chip is activated, reducing the supply current to 4uA. 40 41On power-up, the device is in 0V-output state. 42