xref: /linux/Documentation/ABI/testing/sysfs-class-led (revision 1f70cb4045cba47287fed3ba98dadc7187f13ef8)
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
27*1f70cb40SRafał Miłecki		/sys/class/leds/<led> once a given trigger is selected. For
28*1f70cb40SRafał Miłecki		their documentation see sysfs-class-led-trigger-*.
295f634c65SCorentin Chary
309f9455aeSJanusz KrzysztofikWhat:		/sys/class/leds/<led>/inverted
319f9455aeSJanusz KrzysztofikDate:		January 2011
329f9455aeSJanusz KrzysztofikKernelVersion:	2.6.38
339f9455aeSJanusz KrzysztofikContact:	Richard Purdie <rpurdie@rpsys.net>
349f9455aeSJanusz KrzysztofikDescription:
359f9455aeSJanusz Krzysztofik		Invert the LED on/off state. This parameter is specific to
369f9455aeSJanusz Krzysztofik		gpio and backlight triggers. In case of the backlight trigger,
3725985edcSLucas De Marchi		it is useful when driving a LED which is intended to indicate
389f9455aeSJanusz Krzysztofik		a device in a standby like state.
39