xref: /linux/Documentation/ABI/testing/sysfs-class-led (revision 25985edcedea6396277003854657b5f3cb31a628)
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
299f9455aeSJanusz KrzysztofikWhat:		/sys/class/leds/<led>/inverted
309f9455aeSJanusz KrzysztofikDate:		January 2011
319f9455aeSJanusz KrzysztofikKernelVersion:	2.6.38
329f9455aeSJanusz KrzysztofikContact:	Richard Purdie <rpurdie@rpsys.net>
339f9455aeSJanusz KrzysztofikDescription:
349f9455aeSJanusz Krzysztofik		Invert the LED on/off state. This parameter is specific to
359f9455aeSJanusz Krzysztofik		gpio and backlight triggers. In case of the backlight trigger,
36*25985edcSLucas De Marchi		it is useful when driving a LED which is intended to indicate
379f9455aeSJanusz Krzysztofik		a device in a standby like state.
38