Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/dtor/input
[linux-2.6-microblaze.git] / Documentation / ABI / testing / sysfs-bus-iio-health-afe440x
1 What:           /sys/bus/iio/devices/iio:deviceX/in_intensityY_raw
2 Date:           May 2016
3 KernelVersion:
4 Contact:        Andrew F. Davis <afd@ti.com>
5 Description:
6                 Get measured values from the ADC for these stages. Y is the
7                 specific stage number corresponding to datasheet stage names
8                 as follows:
9
10                 == ==========
11                 1  LED2
12                 2  ALED2/LED3
13                 3  LED1
14                 4  ALED1/LED4
15                 == ==========
16
17                 Note that channels 5 and 6 represent LED2-ALED2 and LED1-ALED1
18                 respectively which simply helper channels containing the
19                 calculated difference in the value of stage 1 - 2 and 3 - 4.
20                 The values are expressed in 24-bit twos complement.
21                 The LED current for the stage is controlled via
22                 out_currentY_raw.
23
24 What:           /sys/bus/iio/devices/iio:deviceX/in_intensityY_offset
25 Date:           May 2016
26 KernelVersion:
27 Contact:        Andrew F. Davis <afd@ti.com>
28 Description:
29                 Get and set the offset cancellation DAC setting for these
30                 stages. The values are expressed in 5-bit sign-magnitude.
31
32 What:           /sys/bus/iio/devices/iio:deviceX/in_intensityY_resistance
33 What:           /sys/bus/iio/devices/iio:deviceX/in_intensityY_capacitance
34 Date:           May 2016
35 KernelVersion:
36 Contact:        Andrew F. Davis <afd@ti.com>
37 Description:
38                 Get and set the resistance and the capacitance settings for the
39                 Transimpedance Amplifier during the associated stage.