xref: /openbmc/linux/Documentation/ABI/testing/sysfs-class-led-driver-lm3533 (revision 401dea7f7ade662b77c33ce2498fb5b4f97cb29c)
1*401dea7fSJohan HovoldWhat:		/sys/class/leds/<led>/als_channel
2*401dea7fSJohan HovoldDate:		May 2012
3*401dea7fSJohan HovoldKernelVersion:	3.5
4*401dea7fSJohan HovoldContact:	Johan Hovold <jhovold@gmail.com>
5*401dea7fSJohan HovoldDescription:
6*401dea7fSJohan Hovold		Set the ALS output channel to use as input in
7*401dea7fSJohan Hovold		ALS-current-control mode (1, 2), where
8*401dea7fSJohan Hovold
9*401dea7fSJohan Hovold		1 - out_current1
10*401dea7fSJohan Hovold		2 - out_current2
11*401dea7fSJohan Hovold
12*401dea7fSJohan HovoldWhat:		/sys/class/leds/<led>/als_en
13*401dea7fSJohan HovoldDate:		May 2012
14*401dea7fSJohan HovoldKernelVersion:	3.5
15*401dea7fSJohan HovoldContact:	Johan Hovold <jhovold@gmail.com>
16*401dea7fSJohan HovoldDescription:
17*401dea7fSJohan Hovold		Enable ALS-current-control mode (0, 1).
18*401dea7fSJohan Hovold
19*401dea7fSJohan HovoldWhat:		/sys/class/leds/<led>/falltime
20*401dea7fSJohan HovoldWhat:		/sys/class/leds/<led>/risetime
21*401dea7fSJohan HovoldDate:		April 2012
22*401dea7fSJohan HovoldKernelVersion:	3.5
23*401dea7fSJohan HovoldContact:	Johan Hovold <jhovold@gmail.com>
24*401dea7fSJohan HovoldDescription:
25*401dea7fSJohan Hovold		Set the pattern generator fall and rise times (0..7), where
26*401dea7fSJohan Hovold
27*401dea7fSJohan Hovold		0 - 2048 us
28*401dea7fSJohan Hovold		1 - 262 ms
29*401dea7fSJohan Hovold		2 - 524 ms
30*401dea7fSJohan Hovold		3 - 1.049 s
31*401dea7fSJohan Hovold		4 - 2.097 s
32*401dea7fSJohan Hovold		5 - 4.194 s
33*401dea7fSJohan Hovold		6 - 8.389 s
34*401dea7fSJohan Hovold		7 - 16.78 s
35*401dea7fSJohan Hovold
36*401dea7fSJohan HovoldWhat:		/sys/class/leds/<led>/id
37*401dea7fSJohan HovoldDate:		April 2012
38*401dea7fSJohan HovoldKernelVersion:	3.5
39*401dea7fSJohan HovoldContact:	Johan Hovold <jhovold@gmail.com>
40*401dea7fSJohan HovoldDescription:
41*401dea7fSJohan Hovold		Get the id of this led (0..3).
42*401dea7fSJohan Hovold
43*401dea7fSJohan HovoldWhat:		/sys/class/leds/<led>/linear
44*401dea7fSJohan HovoldDate:		April 2012
45*401dea7fSJohan HovoldKernelVersion:	3.5
46*401dea7fSJohan HovoldContact:	Johan Hovold <jhovold@gmail.com>
47*401dea7fSJohan HovoldDescription:
48*401dea7fSJohan Hovold		Set the brightness-mapping mode (0, 1), where
49*401dea7fSJohan Hovold
50*401dea7fSJohan Hovold		0 - exponential mode
51*401dea7fSJohan Hovold		1 - linear mode
52*401dea7fSJohan Hovold
53*401dea7fSJohan HovoldWhat:		/sys/class/leds/<led>/pwm
54*401dea7fSJohan HovoldDate:		April 2012
55*401dea7fSJohan HovoldKernelVersion:	3.5
56*401dea7fSJohan HovoldContact:	Johan Hovold <jhovold@gmail.com>
57*401dea7fSJohan HovoldDescription:
58*401dea7fSJohan Hovold		Set the PWM-input control mask (5 bits), where
59*401dea7fSJohan Hovold
60*401dea7fSJohan Hovold		bit 5 - PWM-input enabled in Zone 4
61*401dea7fSJohan Hovold		bit 4 - PWM-input enabled in Zone 3
62*401dea7fSJohan Hovold		bit 3 - PWM-input enabled in Zone 2
63*401dea7fSJohan Hovold		bit 2 - PWM-input enabled in Zone 1
64*401dea7fSJohan Hovold		bit 1 - PWM-input enabled in Zone 0
65*401dea7fSJohan Hovold		bit 0 - PWM-input enabled
66