xref: /linux/Documentation/ABI/testing/sysfs-bus-iio-health-afe440x (revision 54a19b4d3fe0fa0a31b46cd60951e8177cac25fa)
124b9dea7SAndrew F. DavisWhat:		/sys/bus/iio/devices/iio:deviceX/in_intensityY_raw
224b9dea7SAndrew F. DavisDate:		May 2016
387aec56eSAndrew F. DavisKernelVersion:
487aec56eSAndrew F. DavisContact:	Andrew F. Davis <afd@ti.com>
587aec56eSAndrew F. DavisDescription:
687aec56eSAndrew F. Davis		Get measured values from the ADC for these stages. Y is the
724b9dea7SAndrew F. Davis		specific stage number corresponding to datasheet stage names
824b9dea7SAndrew F. Davis		as follows:
9*54a19b4dSMauro Carvalho Chehab
10*54a19b4dSMauro Carvalho Chehab		== ==========
11*54a19b4dSMauro Carvalho Chehab		1  LED2
12*54a19b4dSMauro Carvalho Chehab		2  ALED2/LED3
13*54a19b4dSMauro Carvalho Chehab		3  LED1
14*54a19b4dSMauro Carvalho Chehab		4  ALED1/LED4
15*54a19b4dSMauro Carvalho Chehab		== ==========
16*54a19b4dSMauro Carvalho Chehab
1724b9dea7SAndrew F. Davis		Note that channels 5 and 6 represent LED2-ALED2 and LED1-ALED1
1824b9dea7SAndrew F. Davis		respectively which simply helper channels containing the
1924b9dea7SAndrew F. Davis		calculated difference in the value of stage 1 - 2 and 3 - 4.
2024b9dea7SAndrew F. Davis		The values are expressed in 24-bit twos complement.
2187aec56eSAndrew F. Davis
2224b9dea7SAndrew F. DavisWhat:		/sys/bus/iio/devices/iio:deviceX/in_intensityY_offset
2324b9dea7SAndrew F. DavisDate:		May 2016
2487aec56eSAndrew F. DavisKernelVersion:
2587aec56eSAndrew F. DavisContact:	Andrew F. Davis <afd@ti.com>
2687aec56eSAndrew F. DavisDescription:
2787aec56eSAndrew F. Davis		Get and set the offset cancellation DAC setting for these
2887aec56eSAndrew F. Davis		stages. The values are expressed in 5-bit sign-magnitude.
2987aec56eSAndrew F. Davis
301276187cSAndrew F. DavisWhat:		/sys/bus/iio/devices/iio:deviceX/in_intensityY_resistance
311276187cSAndrew F. DavisWhat:		/sys/bus/iio/devices/iio:deviceX/in_intensityY_capacitance
321276187cSAndrew F. DavisDate:		May 2016
331276187cSAndrew F. DavisKernelVersion:
341276187cSAndrew F. DavisContact:	Andrew F. Davis <afd@ti.com>
351276187cSAndrew F. DavisDescription:
361276187cSAndrew F. Davis		Get and set the resistance and the capacitance settings for the
371276187cSAndrew F. Davis		Transimpedance Amplifier during the associated stage.
381276187cSAndrew F. Davis
3924b9dea7SAndrew F. DavisWhat:		/sys/bus/iio/devices/iio:deviceX/out_currentY_raw
4024b9dea7SAndrew F. DavisDate:		May 2016
4187aec56eSAndrew F. DavisKernelVersion:
4287aec56eSAndrew F. DavisContact:	Andrew F. Davis <afd@ti.com>
4387aec56eSAndrew F. DavisDescription:
4424b9dea7SAndrew F. Davis		Get and set the LED current for the specified LED active during
4524b9dea7SAndrew F. Davis		this stage. Y is the specific stage number.
46