blob: 54d61c788b1b56292da338ec0f2033fbabb92ab2 [file] [log] [blame]
b.liue9582032025-04-17 19:18:16 +08001sysfs interface for analog devices adp8860 backlight driver
2-----------------------------------------------------------
3
4The backlight brightness control operates at three different levels for the
5adp8860, adp8861 and adp8863 devices: daylight (level 1), office (level 2) and
6dark (level 3). By default the brightness operates at the daylight brightness
7level.
8
9What: /sys/class/backlight/<backlight>/ambient_light_level
10Date: Apr, 2010
11KernelVersion: v2.6.35
12Contact: Michael Hennerich <michael.hennerich@analog.com>
13Description:
14 (RO) 13-bit conversion value for the first light sensorhigh
15 byte (Bit 12 to Bit 8). The value is updated every 80 ms (when
16 the light sensor is enabled).
17
18
19What: /sys/class/backlight/<backlight>/ambient_light_zone
20Date: Apr, 2010
21KernelVersion: v2.6.35
22Contact: Michael Hennerich <michael.hennerich@analog.com>
23Description:
24 (RW) Read or write the specific level at which the backlight
25 operates. Value "0" enables automatic ambient light sensing, and
26 values "1", "2" or "3" set the control to daylight, office or
27 dark respectively.
28
29
30What: /sys/class/backlight/<backlight>/l1_daylight_max
31What: /sys/class/backlight/<backlight>/l2_office_max
32What: /sys/class/backlight/<backlight>/l3_dark_max
33Date: Apr, 2010
34KernelVersion: v2.6.35
35Contact: Michael Hennerich <michael.hennerich@analog.com>
36Description:
37 (RW) Maximum current setting for the backlight when brightness
38 is at one of the three levels (daylight, office or dark). This
39 is an input code between 0 and 127, which is transformed to a
40 value between 0 mA and 30 mA using linear or non-linear
41 algorithms.
42
43
44What: /sys/class/backlight/<backlight>/l1_daylight_dim
45What: /sys/class/backlight/<backlight>/l2_office_dim
46What: /sys/class/backlight/<backlight>/l3_dark_dim
47Date: Apr, 2010
48KernelVersion: v2.6.35
49Contact: Michael Hennerich <michael.hennerich@analog.com>
50Description:
51 (RW) Dim current setting for the backlight when brightness is at
52 one of the three levels (daylight, office or dark). This is an
53 input code between 0 and 127, which is transformed to a value
54 between 0 mA and 30 mA using linear or non-linear algorithms.