Merge branch 'spectre' of git://git.armlinux.org.uk/~rmk/linux-arm
[sfrench/cifs-2.6.git] / Documentation / ABI / testing / sysfs-class-backlight-adp8860
1 sysfs interface for analog devices adp8860 backlight driver
2 -----------------------------------------------------------
3
4 The backlight brightness control operates at three different levels for the
5 adp8860, adp8861 and adp8863 devices: daylight (level 1), office (level 2) and
6 dark (level 3). By default the brightness operates at the daylight brightness
7 level.
8
9 What:           /sys/class/backlight/<backlight>/ambient_light_level
10 Date:           Apr, 2010
11 KernelVersion:  v2.6.35
12 Contact:        Michael Hennerich <michael.hennerich@analog.com>
13 Description:
14                 (RO) 13-bit conversion value for the first light sensor—high
15                 byte (Bit 12 to Bit 8). The value is updated every 80 ms (when
16                 the light sensor is enabled).
17
18
19 What:           /sys/class/backlight/<backlight>/ambient_light_zone
20 Date:           Apr, 2010
21 KernelVersion:  v2.6.35
22 Contact:        Michael Hennerich <michael.hennerich@analog.com>
23 Description:
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
30 What:           /sys/class/backlight/<backlight>/l1_daylight_max
31 What:           /sys/class/backlight/<backlight>/l2_office_max
32 What:           /sys/class/backlight/<backlight>/l3_dark_max
33 Date:           Apr, 2010
34 KernelVersion:  v2.6.35
35 Contact:        Michael Hennerich <michael.hennerich@analog.com>
36 Description:
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
44 What:           /sys/class/backlight/<backlight>/l1_daylight_dim
45 What:           /sys/class/backlight/<backlight>/l2_office_dim
46 What:           /sys/class/backlight/<backlight>/l3_dark_dim
47 Date:           Apr, 2010
48 KernelVersion:  v2.6.35
49 Contact:        Michael Hennerich <michael.hennerich@analog.com>
50 Description:
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.