sysfs-class-backlight-driver-adp8870 2.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556
  1. What: /sys/class/backlight/<backlight>/<ambient light zone>_max
  2. What: /sys/class/backlight/<backlight>/l1_daylight_max
  3. What: /sys/class/backlight/<backlight>/l2_bright_max
  4. What: /sys/class/backlight/<backlight>/l3_office_max
  5. What: /sys/class/backlight/<backlight>/l4_indoor_max
  6. What: /sys/class/backlight/<backlight>/l5_dark_max
  7. Date: May 2011
  8. KernelVersion: 3.0
  9. Contact: device-drivers-devel@blackfin.uclinux.org
  10. Description:
  11. Control the maximum brightness for <ambient light zone>
  12. on this <backlight>. Values are between 0 and 127. This file
  13. will also show the brightness level stored for this
  14. <ambient light zone>.
  15. What: /sys/class/backlight/<backlight>/<ambient light zone>_dim
  16. What: /sys/class/backlight/<backlight>/l2_bright_dim
  17. What: /sys/class/backlight/<backlight>/l3_office_dim
  18. What: /sys/class/backlight/<backlight>/l4_indoor_dim
  19. What: /sys/class/backlight/<backlight>/l5_dark_dim
  20. Date: May 2011
  21. KernelVersion: 3.0
  22. Contact: device-drivers-devel@blackfin.uclinux.org
  23. Description:
  24. Control the dim brightness for <ambient light zone>
  25. on this <backlight>. Values are between 0 and 127, typically
  26. set to 0. Full off when the backlight is disabled.
  27. This file will also show the dim brightness level stored for
  28. this <ambient light zone>.
  29. What: /sys/class/backlight/<backlight>/ambient_light_level
  30. Date: May 2011
  31. KernelVersion: 3.0
  32. Contact: device-drivers-devel@blackfin.uclinux.org
  33. Description:
  34. Get conversion value of the light sensor.
  35. This value is updated every 80 ms (when the light sensor
  36. is enabled). Returns integer between 0 (dark) and
  37. 8000 (max ambient brightness)
  38. What: /sys/class/backlight/<backlight>/ambient_light_zone
  39. Date: May 2011
  40. KernelVersion: 3.0
  41. Contact: device-drivers-devel@blackfin.uclinux.org
  42. Description:
  43. Get/Set current ambient light zone. Reading returns
  44. integer between 1..5 (1 = daylight, 2 = bright, ..., 5 = dark).
  45. Writing a value between 1..5 forces the backlight controller
  46. to enter the corresponding ambient light zone.
  47. Writing 0 returns to normal/automatic ambient light level
  48. operation. The ambient light sensing feature on these devices
  49. is an extension to the API documented in
  50. Documentation/ABI/stable/sysfs-class-backlight.
  51. It can be enabled by writing the value stored in
  52. /sys/class/backlight/<backlight>/max_brightness to
  53. /sys/class/backlight/<backlight>/brightness.