~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~

TOMOYO Linux Cross Reference
Linux/Documentation/ABI/testing/sysfs-bus-iio-isl29501

Version: ~ [ linux-6.12-rc7 ] ~ [ linux-6.11.7 ] ~ [ linux-6.10.14 ] ~ [ linux-6.9.12 ] ~ [ linux-6.8.12 ] ~ [ linux-6.7.12 ] ~ [ linux-6.6.60 ] ~ [ linux-6.5.13 ] ~ [ linux-6.4.16 ] ~ [ linux-6.3.13 ] ~ [ linux-6.2.16 ] ~ [ linux-6.1.116 ] ~ [ linux-6.0.19 ] ~ [ linux-5.19.17 ] ~ [ linux-5.18.19 ] ~ [ linux-5.17.15 ] ~ [ linux-5.16.20 ] ~ [ linux-5.15.171 ] ~ [ linux-5.14.21 ] ~ [ linux-5.13.19 ] ~ [ linux-5.12.19 ] ~ [ linux-5.11.22 ] ~ [ linux-5.10.229 ] ~ [ linux-5.9.16 ] ~ [ linux-5.8.18 ] ~ [ linux-5.7.19 ] ~ [ linux-5.6.19 ] ~ [ linux-5.5.19 ] ~ [ linux-5.4.285 ] ~ [ linux-5.3.18 ] ~ [ linux-5.2.21 ] ~ [ linux-5.1.21 ] ~ [ linux-5.0.21 ] ~ [ linux-4.20.17 ] ~ [ linux-4.19.323 ] ~ [ linux-4.18.20 ] ~ [ linux-4.17.19 ] ~ [ linux-4.16.18 ] ~ [ linux-4.15.18 ] ~ [ linux-4.14.336 ] ~ [ linux-4.13.16 ] ~ [ linux-4.12.14 ] ~ [ linux-4.11.12 ] ~ [ linux-4.10.17 ] ~ [ linux-4.9.337 ] ~ [ linux-4.4.302 ] ~ [ linux-3.10.108 ] ~ [ linux-2.6.32.71 ] ~ [ linux-2.6.0 ] ~ [ linux-2.4.37.11 ] ~ [ unix-v6-master ] ~ [ ccs-tools-1.8.12 ] ~ [ policy-sample ] ~
Architecture: ~ [ i386 ] ~ [ alpha ] ~ [ m68k ] ~ [ mips ] ~ [ ppc ] ~ [ sparc ] ~ [ sparc64 ] ~

Diff markup

Differences between /Documentation/ABI/testing/sysfs-bus-iio-isl29501 (Version linux-6.12-rc7) and /Documentation/ABI/testing/sysfs-bus-iio-isl29501 (Version linux-4.19.323)


  1 What:           /sys/bus/iio/devices/iio:devic      1 What:           /sys/bus/iio/devices/iio:deviceX/in_proximity0_agc_gain
  2 What:           /sys/bus/iio/devices/iio:devic      2 What:           /sys/bus/iio/devices/iio:deviceX/in_proximity0_agc_gain_bias
  3 KernelVersion:  4.18                                3 KernelVersion:  4.18
  4 Contact:        linux-iio@vger.kernel.org           4 Contact:        linux-iio@vger.kernel.org
  5 Description:                                        5 Description:
  6                 This sensor has an automatic g      6                 This sensor has an automatic gain control (agc) loop
  7                 which sets the analog signal l      7                 which sets the analog signal levels at an optimum
  8                 level by controlling programma      8                 level by controlling programmable gain amplifiers. The
  9                 criteria for optimal gain is d      9                 criteria for optimal gain is determined by the sensor.
 10                                                    10 
 11                 Return the actual gain value a     11                 Return the actual gain value as an integer in [0; 65536]
 12                 range when read from.              12                 range when read from.
 13                                                    13 
 14                 The agc gain read when measuri     14                 The agc gain read when measuring crosstalk shall be
 15                 written into in_proximity0_agc     15                 written into in_proximity0_agc_gain_bias.
 16                                                    16 
 17 What:           /sys/bus/iio/devices/iio:devic     17 What:           /sys/bus/iio/devices/iio:deviceX/in_proximity0_calib_phase_temp_a
 18 What:           /sys/bus/iio/devices/iio:devic     18 What:           /sys/bus/iio/devices/iio:deviceX/in_proximity0_calib_phase_temp_b
 19 What:           /sys/bus/iio/devices/iio:devic     19 What:           /sys/bus/iio/devices/iio:deviceX/in_proximity0_calib_phase_light_a
 20 What:           /sys/bus/iio/devices/iio:devic     20 What:           /sys/bus/iio/devices/iio:deviceX/in_proximity0_calib_phase_light_b
 21 KernelVersion:  4.18                               21 KernelVersion:  4.18
 22 Contact:        linux-iio@vger.kernel.org          22 Contact:        linux-iio@vger.kernel.org
 23 Description:                                       23 Description:
 24                 The sensor is able to perform      24                 The sensor is able to perform correction of distance
 25                 measurements due to changing t     25                 measurements due to changing temperature and ambient
 26                 light conditions. It can be pr     26                 light conditions. It can be programmed to correct for
 27                 a second order error polynomia     27                 a second order error polynomial.
 28                                                    28 
 29                 Phase data has to be collected     29                 Phase data has to be collected when temperature and
 30                 ambient light are modulated in     30                 ambient light are modulated independently.
 31                                                    31 
 32                 Then a least squares curve fit     32                 Then a least squares curve fit to a second order
 33                 polynomial has to be generated     33                 polynomial has to be generated from the data. The
 34                 resultant curves have the form     34                 resultant curves have the form ax^2 + bx + c.
 35                                                    35 
 36                 From those two curves, a and b     36                 From those two curves, a and b coefficients shall be
 37                 stored in in_proximity0_calib_     37                 stored in in_proximity0_calib_phase_temp_a and
 38                 in_proximity0_calib_phase_temp     38                 in_proximity0_calib_phase_temp_b for temperature and
 39                 in in_proximity0_calib_phase_l     39                 in in_proximity0_calib_phase_light_a and
 40                 in_proximity0_calib_phase_ligh     40                 in_proximity0_calib_phase_light_b for ambient light.
 41                                                    41 
 42                 Those values must be integer i     42                 Those values must be integer in [0; 8355840] range.
 43                                                    43 
 44                 Finally, the c constant is set     44                 Finally, the c constant is set by the sensor
 45                 internally.                        45                 internally.
 46                                                    46 
 47                 The value stored in sensor is      47                 The value stored in sensor is displayed when read from.
                                                      

~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~

kernel.org | git.kernel.org | LWN.net | Project Home | SVN repository | Mail admin

Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.

sflogo.php