xref: /linux/Documentation/ABI/testing/sysfs-class-led (revision 9f9455ae710786bd11625d501567f4f783fedea5)
15f634c65SCorentin CharyWhat:		/sys/class/leds/<led>/brightness
25f634c65SCorentin CharyDate:		March 2006
35f634c65SCorentin CharyKernelVersion:	2.6.17
45f634c65SCorentin CharyContact:	Richard Purdie <rpurdie@rpsys.net>
55f634c65SCorentin CharyDescription:
65f634c65SCorentin Chary		Set the brightness of the LED. Most LEDs don't
75f634c65SCorentin Chary		have hardware brightness support so will just be turned on for
85f634c65SCorentin Chary		non-zero brightness settings. The value is between 0 and
95f634c65SCorentin Chary		/sys/class/leds/<led>/max_brightness.
105f634c65SCorentin Chary
115f634c65SCorentin CharyWhat:		/sys/class/leds/<led>/max_brightness
125f634c65SCorentin CharyDate:		March 2006
135f634c65SCorentin CharyKernelVersion:	2.6.17
145f634c65SCorentin CharyContact:	Richard Purdie <rpurdie@rpsys.net>
155f634c65SCorentin CharyDescription:
165f634c65SCorentin Chary		Maximum brightness level for this led, default is 255 (LED_FULL).
175f634c65SCorentin Chary
185f634c65SCorentin CharyWhat:		/sys/class/leds/<led>/trigger
195f634c65SCorentin CharyDate:		March 2006
205f634c65SCorentin CharyKernelVersion:	2.6.17
215f634c65SCorentin CharyContact:	Richard Purdie <rpurdie@rpsys.net>
225f634c65SCorentin CharyDescription:
235f634c65SCorentin Chary		Set the trigger for this LED. A trigger is a kernel based source
245f634c65SCorentin Chary		of led events.
255f634c65SCorentin Chary		You can change triggers in a similar manner to the way an IO
265f634c65SCorentin Chary		scheduler is chosen. Trigger specific parameters can appear in
275f634c65SCorentin Chary		/sys/class/leds/<led> once a given trigger is selected.
285f634c65SCorentin Chary
29*9f9455aeSJanusz KrzysztofikWhat:		/sys/class/leds/<led>/inverted
30*9f9455aeSJanusz KrzysztofikDate:		January 2011
31*9f9455aeSJanusz KrzysztofikKernelVersion:	2.6.38
32*9f9455aeSJanusz KrzysztofikContact:	Richard Purdie <rpurdie@rpsys.net>
33*9f9455aeSJanusz KrzysztofikDescription:
34*9f9455aeSJanusz Krzysztofik		Invert the LED on/off state. This parameter is specific to
35*9f9455aeSJanusz Krzysztofik		gpio and backlight triggers. In case of the backlight trigger,
36*9f9455aeSJanusz Krzysztofik		it is usefull when driving a LED which is intended to indicate
37*9f9455aeSJanusz Krzysztofik		a device in a standby like state.
38