hc
2023-12-11 d2ccde1c8e90d38cee87a1b0309ad2827f3fd30d
kernel/Documentation/ABI/testing/sysfs-class-backlight-driver-adp8870
....@@ -1,3 +1,6 @@
1
+See also /sys/class/backlight/<backlight>/ambient_light_level and
2
+/sys/class/backlight/<backlight>/ambient_light_zone.
3
+
14 What: /sys/class/backlight/<backlight>/<ambient light zone>_max
25 What: /sys/class/backlight/<backlight>/l1_daylight_max
36 What: /sys/class/backlight/<backlight>/l2_bright_max
....@@ -27,30 +30,3 @@
2730 set to 0. Full off when the backlight is disabled.
2831 This file will also show the dim brightness level stored for
2932 this <ambient light zone>.
30
-
31
-What: /sys/class/backlight/<backlight>/ambient_light_level
32
-Date: May 2011
33
-KernelVersion: 3.0
34
-Contact: device-drivers-devel@blackfin.uclinux.org
35
-Description:
36
- Get conversion value of the light sensor.
37
- This value is updated every 80 ms (when the light sensor
38
- is enabled). Returns integer between 0 (dark) and
39
- 8000 (max ambient brightness)
40
-
41
-What: /sys/class/backlight/<backlight>/ambient_light_zone
42
-Date: May 2011
43
-KernelVersion: 3.0
44
-Contact: device-drivers-devel@blackfin.uclinux.org
45
-Description:
46
- Get/Set current ambient light zone. Reading returns
47
- integer between 1..5 (1 = daylight, 2 = bright, ..., 5 = dark).
48
- Writing a value between 1..5 forces the backlight controller
49
- to enter the corresponding ambient light zone.
50
- Writing 0 returns to normal/automatic ambient light level
51
- operation. The ambient light sensing feature on these devices
52
- is an extension to the API documented in
53
- Documentation/ABI/stable/sysfs-class-backlight.
54
- It can be enabled by writing the value stored in
55
- /sys/class/backlight/<backlight>/max_brightness to
56
- /sys/class/backlight/<backlight>/brightness.