xref: /openbmc/linux/Documentation/ABI/testing/sysfs-class-led-driver-lm3533 (revision cdd38c5f1ce4398ec58fec95904b75824daab7b5)
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
711070490SMauro Carvalho Chehab		ALS-current-control mode (1, 2), where:
8401dea7fSJohan Hovold
9*54a19b4dSMauro Carvalho Chehab		==  ============
10*54a19b4dSMauro Carvalho Chehab		1   out_current1
11*54a19b4dSMauro Carvalho Chehab		2   out_current2
12*54a19b4dSMauro Carvalho Chehab		==  ============
13401dea7fSJohan Hovold
14401dea7fSJohan HovoldWhat:		/sys/class/leds/<led>/als_en
15401dea7fSJohan HovoldDate:		May 2012
16401dea7fSJohan HovoldKernelVersion:	3.5
17401dea7fSJohan HovoldContact:	Johan Hovold <jhovold@gmail.com>
18401dea7fSJohan HovoldDescription:
19401dea7fSJohan Hovold		Enable ALS-current-control mode (0, 1).
20401dea7fSJohan Hovold
21401dea7fSJohan HovoldWhat:		/sys/class/leds/<led>/falltime
22401dea7fSJohan HovoldWhat:		/sys/class/leds/<led>/risetime
23401dea7fSJohan HovoldDate:		April 2012
24401dea7fSJohan HovoldKernelVersion:	3.5
25401dea7fSJohan HovoldContact:	Johan Hovold <jhovold@gmail.com>
26401dea7fSJohan HovoldDescription:
2711070490SMauro Carvalho Chehab		Set the pattern generator fall and rise times (0..7), where:
28401dea7fSJohan Hovold
29*54a19b4dSMauro Carvalho Chehab		==  =======
30*54a19b4dSMauro Carvalho Chehab		0   2048 us
31*54a19b4dSMauro Carvalho Chehab		1   262 ms
32*54a19b4dSMauro Carvalho Chehab		2   524 ms
33*54a19b4dSMauro Carvalho Chehab		3   1.049 s
34*54a19b4dSMauro Carvalho Chehab		4   2.097 s
35*54a19b4dSMauro Carvalho Chehab		5   4.194 s
36*54a19b4dSMauro Carvalho Chehab		6   8.389 s
37*54a19b4dSMauro Carvalho Chehab		7   16.78 s
38*54a19b4dSMauro Carvalho Chehab		==  =======
39401dea7fSJohan Hovold
40401dea7fSJohan HovoldWhat:		/sys/class/leds/<led>/id
41401dea7fSJohan HovoldDate:		April 2012
42401dea7fSJohan HovoldKernelVersion:	3.5
43401dea7fSJohan HovoldContact:	Johan Hovold <jhovold@gmail.com>
44401dea7fSJohan HovoldDescription:
45401dea7fSJohan Hovold		Get the id of this led (0..3).
46401dea7fSJohan Hovold
47401dea7fSJohan HovoldWhat:		/sys/class/leds/<led>/linear
48401dea7fSJohan HovoldDate:		April 2012
49401dea7fSJohan HovoldKernelVersion:	3.5
50401dea7fSJohan HovoldContact:	Johan Hovold <jhovold@gmail.com>
51401dea7fSJohan HovoldDescription:
5211070490SMauro Carvalho Chehab		Set the brightness-mapping mode (0, 1), where:
53401dea7fSJohan Hovold
54*54a19b4dSMauro Carvalho Chehab		==  ================
55*54a19b4dSMauro Carvalho Chehab		0   exponential mode
56*54a19b4dSMauro Carvalho Chehab		1   linear mode
57*54a19b4dSMauro Carvalho Chehab		==  ================
58401dea7fSJohan Hovold
59401dea7fSJohan HovoldWhat:		/sys/class/leds/<led>/pwm
60401dea7fSJohan HovoldDate:		April 2012
61401dea7fSJohan HovoldKernelVersion:	3.5
62401dea7fSJohan HovoldContact:	Johan Hovold <jhovold@gmail.com>
63401dea7fSJohan HovoldDescription:
6411070490SMauro Carvalho Chehab		Set the PWM-input control mask (5 bits), where:
65401dea7fSJohan Hovold
66*54a19b4dSMauro Carvalho Chehab		=====  ===========================
67*54a19b4dSMauro Carvalho Chehab		bit 5  PWM-input enabled in Zone 4
68*54a19b4dSMauro Carvalho Chehab		bit 4  PWM-input enabled in Zone 3
69*54a19b4dSMauro Carvalho Chehab		bit 3  PWM-input enabled in Zone 2
70*54a19b4dSMauro Carvalho Chehab		bit 2  PWM-input enabled in Zone 1
71*54a19b4dSMauro Carvalho Chehab		bit 1  PWM-input enabled in Zone 0
72*54a19b4dSMauro Carvalho Chehab		bit 0  PWM-input enabled
73*54a19b4dSMauro Carvalho Chehab		=====  ===========================
74