hc
2023-12-11 d2ccde1c8e90d38cee87a1b0309ad2827f3fd30d
kernel/Documentation/ABI/testing/sysfs-class-led-driver-lm3533
....@@ -4,10 +4,12 @@
44 Contact: Johan Hovold <jhovold@gmail.com>
55 Description:
66 Set the ALS output channel to use as input in
7
- ALS-current-control mode (1, 2), where
7
+ ALS-current-control mode (1, 2), where:
88
9
- 1 - out_current1
10
- 2 - out_current2
9
+ == ============
10
+ 1 out_current1
11
+ 2 out_current2
12
+ == ============
1113
1214 What: /sys/class/leds/<led>/als_en
1315 Date: May 2012
....@@ -22,16 +24,18 @@
2224 KernelVersion: 3.5
2325 Contact: Johan Hovold <jhovold@gmail.com>
2426 Description:
25
- Set the pattern generator fall and rise times (0..7), where
27
+ Set the pattern generator fall and rise times (0..7), where:
2628
27
- 0 - 2048 us
28
- 1 - 262 ms
29
- 2 - 524 ms
30
- 3 - 1.049 s
31
- 4 - 2.097 s
32
- 5 - 4.194 s
33
- 6 - 8.389 s
34
- 7 - 16.78 s
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
+ == =======
3539
3640 What: /sys/class/leds/<led>/id
3741 Date: April 2012
....@@ -45,21 +49,25 @@
4549 KernelVersion: 3.5
4650 Contact: Johan Hovold <jhovold@gmail.com>
4751 Description:
48
- Set the brightness-mapping mode (0, 1), where
52
+ Set the brightness-mapping mode (0, 1), where:
4953
50
- 0 - exponential mode
51
- 1 - linear mode
54
+ == ================
55
+ 0 exponential mode
56
+ 1 linear mode
57
+ == ================
5258
5359 What: /sys/class/leds/<led>/pwm
5460 Date: April 2012
5561 KernelVersion: 3.5
5662 Contact: Johan Hovold <jhovold@gmail.com>
5763 Description:
58
- Set the PWM-input control mask (5 bits), where
64
+ Set the PWM-input control mask (5 bits), where:
5965
60
- bit 5 - PWM-input enabled in Zone 4
61
- bit 4 - PWM-input enabled in Zone 3
62
- bit 3 - PWM-input enabled in Zone 2
63
- bit 2 - PWM-input enabled in Zone 1
64
- bit 1 - PWM-input enabled in Zone 0
65
- bit 0 - PWM-input enabled
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
+ ===== ===========================