1*4882a593SmuzhiyunWhat: /sys/bus/iio/devices/iio:deviceX/in_intensityY_raw 2*4882a593SmuzhiyunDate: May 2016 3*4882a593SmuzhiyunKernelVersion: 4*4882a593SmuzhiyunContact: Andrew F. Davis <afd@ti.com> 5*4882a593SmuzhiyunDescription: 6*4882a593Smuzhiyun Get measured values from the ADC for these stages. Y is the 7*4882a593Smuzhiyun specific stage number corresponding to datasheet stage names 8*4882a593Smuzhiyun as follows: 9*4882a593Smuzhiyun 10*4882a593Smuzhiyun == ========== 11*4882a593Smuzhiyun 1 LED2 12*4882a593Smuzhiyun 2 ALED2/LED3 13*4882a593Smuzhiyun 3 LED1 14*4882a593Smuzhiyun 4 ALED1/LED4 15*4882a593Smuzhiyun == ========== 16*4882a593Smuzhiyun 17*4882a593Smuzhiyun Note that channels 5 and 6 represent LED2-ALED2 and LED1-ALED1 18*4882a593Smuzhiyun respectively which simply helper channels containing the 19*4882a593Smuzhiyun calculated difference in the value of stage 1 - 2 and 3 - 4. 20*4882a593Smuzhiyun The values are expressed in 24-bit twos complement. 21*4882a593Smuzhiyun 22*4882a593SmuzhiyunWhat: /sys/bus/iio/devices/iio:deviceX/in_intensityY_offset 23*4882a593SmuzhiyunDate: May 2016 24*4882a593SmuzhiyunKernelVersion: 25*4882a593SmuzhiyunContact: Andrew F. Davis <afd@ti.com> 26*4882a593SmuzhiyunDescription: 27*4882a593Smuzhiyun Get and set the offset cancellation DAC setting for these 28*4882a593Smuzhiyun stages. The values are expressed in 5-bit sign-magnitude. 29*4882a593Smuzhiyun 30*4882a593SmuzhiyunWhat: /sys/bus/iio/devices/iio:deviceX/in_intensityY_resistance 31*4882a593SmuzhiyunWhat: /sys/bus/iio/devices/iio:deviceX/in_intensityY_capacitance 32*4882a593SmuzhiyunDate: May 2016 33*4882a593SmuzhiyunKernelVersion: 34*4882a593SmuzhiyunContact: Andrew F. Davis <afd@ti.com> 35*4882a593SmuzhiyunDescription: 36*4882a593Smuzhiyun Get and set the resistance and the capacitance settings for the 37*4882a593Smuzhiyun Transimpedance Amplifier during the associated stage. 38*4882a593Smuzhiyun 39*4882a593SmuzhiyunWhat: /sys/bus/iio/devices/iio:deviceX/out_currentY_raw 40*4882a593SmuzhiyunDate: May 2016 41*4882a593SmuzhiyunKernelVersion: 42*4882a593SmuzhiyunContact: Andrew F. Davis <afd@ti.com> 43*4882a593SmuzhiyunDescription: 44*4882a593Smuzhiyun Get and set the LED current for the specified LED active during 45*4882a593Smuzhiyun this stage. Y is the specific stage number. 46