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