blob: 33e648808117770949f81bd72e4b7fe1479705d4 [file] [log] [blame]
Michael Hennericha59ec1e2011-06-15 15:08:11 -07001What: /sys/class/backlight/<backlight>/<ambient light zone>_max
2What: /sys/class/backlight/<backlight>/l1_daylight_max
3What: /sys/class/backlight/<backlight>/l2_bright_max
4What: /sys/class/backlight/<backlight>/l3_office_max
5What: /sys/class/backlight/<backlight>/l4_indoor_max
6What: /sys/class/backlight/<backlight>/l5_dark_max
Jesper Juhle117d102011-08-02 00:53:09 +02007Date: May 2011
8KernelVersion: 3.0
Michael Hennericha59ec1e2011-06-15 15:08:11 -07009Contact: device-drivers-devel@blackfin.uclinux.org
10Description:
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
16What: /sys/class/backlight/<backlight>/<ambient light zone>_dim
17What: /sys/class/backlight/<backlight>/l2_bright_dim
18What: /sys/class/backlight/<backlight>/l3_office_dim
19What: /sys/class/backlight/<backlight>/l4_indoor_dim
20What: /sys/class/backlight/<backlight>/l5_dark_dim
Jesper Juhle117d102011-08-02 00:53:09 +020021Date: May 2011
22KernelVersion: 3.0
Michael Hennericha59ec1e2011-06-15 15:08:11 -070023Contact: device-drivers-devel@blackfin.uclinux.org
24Description:
25 Control the dim brightness for <ambient light zone>
26 on this <backlight>. Values are between 0 and 127, typically
27 set to 0. Full off when the backlight is disabled.
28 This file will also show the dim brightness level stored for
29 this <ambient light zone>.
30
31What: /sys/class/backlight/<backlight>/ambient_light_level
Jesper Juhle117d102011-08-02 00:53:09 +020032Date: May 2011
33KernelVersion: 3.0
Michael Hennericha59ec1e2011-06-15 15:08:11 -070034Contact: device-drivers-devel@blackfin.uclinux.org
35Description:
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
41What: /sys/class/backlight/<backlight>/ambient_light_zone
Jesper Juhle117d102011-08-02 00:53:09 +020042Date: May 2011
43KernelVersion: 3.0
Michael Hennericha59ec1e2011-06-15 15:08:11 -070044Contact: device-drivers-devel@blackfin.uclinux.org
45Description:
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
Jesper Juhlf9028312012-07-20 22:35:17 +020056 /sys/class/backlight/<backlight>/brightness.