Merge tag 'linux-kselftest-kunit-fixes-5.11-rc3' of git://git.kernel.org/pub/scm...
[linux/fpc-iii.git] / Documentation / ABI / testing / sysfs-class-led-driver-lm3533
blobe38a835d0a85e89a9db507fceccf26bc3ef5953b
1 What:           /sys/class/leds/<led>/als_channel
2 Date:           May 2012
3 KernelVersion:  3.5
4 Contact:        Johan Hovold <jhovold@gmail.com>
5 Description:
6                 Set the ALS output channel to use as input in
7                 ALS-current-control mode (1, 2), where:
9                 ==  ============
10                 1   out_current1
11                 2   out_current2
12                 ==  ============
14 What:           /sys/class/leds/<led>/als_en
15 Date:           May 2012
16 KernelVersion:  3.5
17 Contact:        Johan Hovold <jhovold@gmail.com>
18 Description:
19                 Enable ALS-current-control mode (0, 1).
21 What:           /sys/class/leds/<led>/falltime
22 What:           /sys/class/leds/<led>/risetime
23 Date:           April 2012
24 KernelVersion:  3.5
25 Contact:        Johan Hovold <jhovold@gmail.com>
26 Description:
27                 Set the pattern generator fall and rise times (0..7), where:
29                 ==  =======
30                 0   2048 us
31                 1   262 ms
32                 2   524 ms
33                 3   1.049 s
34                 4   2.097 s
35                 5   4.194 s
36                 6   8.389 s
37                 7   16.78 s
38                 ==  =======
40 What:           /sys/class/leds/<led>/id
41 Date:           April 2012
42 KernelVersion:  3.5
43 Contact:        Johan Hovold <jhovold@gmail.com>
44 Description:
45                 Get the id of this led (0..3).
47 What:           /sys/class/leds/<led>/linear
48 Date:           April 2012
49 KernelVersion:  3.5
50 Contact:        Johan Hovold <jhovold@gmail.com>
51 Description:
52                 Set the brightness-mapping mode (0, 1), where:
54                 ==  ================
55                 0   exponential mode
56                 1   linear mode
57                 ==  ================
59 What:           /sys/class/leds/<led>/pwm
60 Date:           April 2012
61 KernelVersion:  3.5
62 Contact:        Johan Hovold <jhovold@gmail.com>
63 Description:
64                 Set the PWM-input control mask (5 bits), where:
66                 =====  ===========================
67                 bit 5  PWM-input enabled in Zone 4
68                 bit 4  PWM-input enabled in Zone 3
69                 bit 3  PWM-input enabled in Zone 2
70                 bit 2  PWM-input enabled in Zone 1
71                 bit 1  PWM-input enabled in Zone 0
72                 bit 0  PWM-input enabled
73                 =====  ===========================