sysfs-bus-iio-light 4.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107
  1. What: /sys/bus/iio/devices/device[n]/range
  2. KernelVersion: 2.6.37
  3. Contact: linux-iio@vger.kernel.org
  4. Description:
  5. Hardware dependent ADC Full Scale Range used for some ambient
  6. light sensors in calculating lux.
  7. What: /sys/bus/iio/devices/device[n]/range_available
  8. KernelVersion: 2.6.37
  9. Contact: linux-iio@vger.kernel.org
  10. Description:
  11. Hardware dependent supported vales for ADC Full Scale Range.
  12. What: /sys/bus/iio/devices/device[n]/adc_resolution
  13. KernelVersion: 2.6.37
  14. Contact: linux-iio@vger.kernel.org
  15. Description:
  16. Hardware dependent ADC resolution of the ambient light sensor
  17. used in calculating the lux.
  18. What: /sys/bus/iio/devices/device[n]/adc_resolution_available
  19. KernelVersion: 2.6.37
  20. Contact: linux-iio@vger.kernel.org
  21. Description:
  22. Hardware dependent list of possible values supported for the
  23. adc_resolution of the given sensor.
  24. What: /sys/bus/iio/devices/device[n]/in_illuminance0[_input|_raw]
  25. KernelVersion: 2.6.35
  26. Contact: linux-iio@vger.kernel.org
  27. Description:
  28. This should return the calculated lux from the light sensor. If
  29. it comes back in SI units, it should also include _input else it
  30. should include _raw to signify it is not in SI units.
  31. What: /sys/.../device[n]/proximity_on_chip_ambient_infrared_suppression
  32. KernelVersion: 2.6.37
  33. Contact: linux-iio@vger.kernel.org
  34. Description:
  35. Hardware dependent mode for an ALS device to calculate the value
  36. in proximity mode. When this is enabled, then the device should
  37. use a infrared sensor reading to remove infrared noise from the
  38. proximity reading. If this is not enabled, the driver can still
  39. do this calculation manually by reading the infrared sensor
  40. value and doing the negation in sw.
  41. What: /sys/bus/iio/devices/device[n]/in_proximity[_input|_raw]
  42. KernelVersion: 2.6.37
  43. Contact: linux-iio@vger.kernel.org
  44. Description:
  45. This property is supported by proximity sensors and should be
  46. used to return the value of a reading by the sensor. If this
  47. value is returned in SI units, it should also include _input
  48. but if it is not, then it should include _raw.
  49. What: /sys/bus/iio/devices/device[n]/intensity_infrared[_input|_raw]
  50. KernelVersion: 2.6.37
  51. Contact: linux-iio@vger.kernel.org
  52. Description:
  53. This property is supported by sensors that have an infrared
  54. sensing mode. This value should be the output from a reading
  55. and if expressed in SI units, should include _input. If this
  56. value is not in SI units, then it should include _raw.
  57. What: /sys/bus/iio/devices/device[n]/in_illuminance0_target
  58. KernelVersion: 2.6.37
  59. Contact: linux-iio@vger.kernel.org
  60. Description:
  61. This property gets/sets the last known external
  62. lux measurement used in/for calibration.
  63. What: /sys/bus/iio/devices/device[n]/in_illuminance0_integration_time
  64. KernelVersion: 2.6.37
  65. Contact: linux-iio@vger.kernel.org
  66. Description:
  67. This property gets/sets the sensors ADC analog integration time.
  68. What: /sys/bus/iio/devices/device[n]/in_illuminance0_lux_table
  69. KernelVersion: 2.6.37
  70. Contact: linux-iio@vger.kernel.org
  71. Description:
  72. This property gets/sets the table of coefficients
  73. used in calculating illuminance in lux.
  74. What: /sys/bus/iio/devices/device[n]/in_intensity_clear[_input|_raw]
  75. What: /sys/bus/iio/devices/device[n]/in_intensity_red[_input|_raw]
  76. What: /sys/bus/iio/devices/device[n]/in_intensity_green[_input|_raw]
  77. What: /sys/bus/iio/devices/device[n]/in_intensity_blue[_input|_raw]
  78. KernelVersion: 3.6.0
  79. Contact: linux-iio@vger.kernel.org
  80. Description:
  81. This property is supported by sensors that have a RGBC
  82. sensing mode. This value should be the output from a reading
  83. and if expressed in SI units, should include _input. If this
  84. value is not in SI units (irradiance, uW/mm^2), then it should
  85. include _raw.
  86. What: /sys/bus/iio/devices/device[n]/in_cct0[_input|_raw]
  87. KernelVersion: 3.6.0
  88. Contact: linux-iio@vger.kernel.org
  89. Description:
  90. This should return the correlated color temperature from the
  91. light sensor. If it comes back in SI units, it should also
  92. include _input else it should include _raw to signify it is not
  93. in SI units.