xref: /openbmc/linux/Documentation/ABI/testing/sysfs-class-led-driver-lm3533 (revision 1107049034ac094dd66998ec91d59d8f8807c88a)
1401dea7fSJohan HovoldWhat:		/sys/class/leds/<led>/als_channel
2401dea7fSJohan HovoldDate:		May 2012
3401dea7fSJohan HovoldKernelVersion:	3.5
4401dea7fSJohan HovoldContact:	Johan Hovold <jhovold@gmail.com>
5401dea7fSJohan HovoldDescription:
6401dea7fSJohan Hovold		Set the ALS output channel to use as input in
7*11070490SMauro Carvalho Chehab		ALS-current-control mode (1, 2), where:
8401dea7fSJohan Hovold
9401dea7fSJohan Hovold		1 - out_current1
10401dea7fSJohan Hovold		2 - out_current2
11401dea7fSJohan Hovold
12401dea7fSJohan HovoldWhat:		/sys/class/leds/<led>/als_en
13401dea7fSJohan HovoldDate:		May 2012
14401dea7fSJohan HovoldKernelVersion:	3.5
15401dea7fSJohan HovoldContact:	Johan Hovold <jhovold@gmail.com>
16401dea7fSJohan HovoldDescription:
17401dea7fSJohan Hovold		Enable ALS-current-control mode (0, 1).
18401dea7fSJohan Hovold
19401dea7fSJohan HovoldWhat:		/sys/class/leds/<led>/falltime
20401dea7fSJohan HovoldWhat:		/sys/class/leds/<led>/risetime
21401dea7fSJohan HovoldDate:		April 2012
22401dea7fSJohan HovoldKernelVersion:	3.5
23401dea7fSJohan HovoldContact:	Johan Hovold <jhovold@gmail.com>
24401dea7fSJohan HovoldDescription:
25*11070490SMauro Carvalho Chehab		Set the pattern generator fall and rise times (0..7), where:
26401dea7fSJohan Hovold
27401dea7fSJohan Hovold		0 - 2048 us
28401dea7fSJohan Hovold		1 - 262 ms
29401dea7fSJohan Hovold		2 - 524 ms
30401dea7fSJohan Hovold		3 - 1.049 s
31401dea7fSJohan Hovold		4 - 2.097 s
32401dea7fSJohan Hovold		5 - 4.194 s
33401dea7fSJohan Hovold		6 - 8.389 s
34401dea7fSJohan Hovold		7 - 16.78 s
35401dea7fSJohan Hovold
36401dea7fSJohan HovoldWhat:		/sys/class/leds/<led>/id
37401dea7fSJohan HovoldDate:		April 2012
38401dea7fSJohan HovoldKernelVersion:	3.5
39401dea7fSJohan HovoldContact:	Johan Hovold <jhovold@gmail.com>
40401dea7fSJohan HovoldDescription:
41401dea7fSJohan Hovold		Get the id of this led (0..3).
42401dea7fSJohan Hovold
43401dea7fSJohan HovoldWhat:		/sys/class/leds/<led>/linear
44401dea7fSJohan HovoldDate:		April 2012
45401dea7fSJohan HovoldKernelVersion:	3.5
46401dea7fSJohan HovoldContact:	Johan Hovold <jhovold@gmail.com>
47401dea7fSJohan HovoldDescription:
48*11070490SMauro Carvalho Chehab		Set the brightness-mapping mode (0, 1), where:
49401dea7fSJohan Hovold
50401dea7fSJohan Hovold		0 - exponential mode
51401dea7fSJohan Hovold		1 - linear mode
52401dea7fSJohan Hovold
53401dea7fSJohan HovoldWhat:		/sys/class/leds/<led>/pwm
54401dea7fSJohan HovoldDate:		April 2012
55401dea7fSJohan HovoldKernelVersion:	3.5
56401dea7fSJohan HovoldContact:	Johan Hovold <jhovold@gmail.com>
57401dea7fSJohan HovoldDescription:
58*11070490SMauro Carvalho Chehab		Set the PWM-input control mask (5 bits), where:
59401dea7fSJohan Hovold
60401dea7fSJohan Hovold		bit 5 - PWM-input enabled in Zone 4
61401dea7fSJohan Hovold		bit 4 - PWM-input enabled in Zone 3
62401dea7fSJohan Hovold		bit 3 - PWM-input enabled in Zone 2
63401dea7fSJohan Hovold		bit 2 - PWM-input enabled in Zone 1
64401dea7fSJohan Hovold		bit 1 - PWM-input enabled in Zone 0
65401dea7fSJohan Hovold		bit 0 - PWM-input enabled
66