xref: /linux/Documentation/ABI/testing/sysfs-class-led-driver-turris-omnia (revision 0ea5c948cb64bab5bc7a5516774eb8536f05aa0d)
145c2818fSMarek BehúnWhat:		/sys/class/leds/<led>/device/brightness
245c2818fSMarek BehúnDate:		July 2020
345c2818fSMarek BehúnKernelVersion:	5.9
4b37c3848SMarek BehúnContact:	Marek Behún <kabel@kernel.org>
545c2818fSMarek BehúnDescription:	(RW) On the front panel of the Turris Omnia router there is also
645c2818fSMarek Behún		a button which can be used to control the intensity of all the
745c2818fSMarek Behún		LEDs at once, so that if they are too bright, user can dim them.
845c2818fSMarek Behún
945c2818fSMarek Behún		The microcontroller cycles between 8 levels of this global
1045c2818fSMarek Behún		brightness (from 100% to 0%), but this setting can have any
1145c2818fSMarek Behún		integer value between 0 and 100. It is therefore convenient to be
1245c2818fSMarek Behún		able to change this setting from software.
1345c2818fSMarek Behún
1445c2818fSMarek Behún		Format: %i
15*43e9082fSMarek Behún
16*43e9082fSMarek BehúnWhat:		/sys/class/leds/<led>/device/gamma_correction
17*43e9082fSMarek BehúnDate:		August 2023
18*43e9082fSMarek BehúnKernelVersion:	6.6
19*43e9082fSMarek BehúnContact:	Marek Behún <kabel@kernel.org>
20*43e9082fSMarek BehúnDescription:	(RW) Newer versions of the microcontroller firmware of the
21*43e9082fSMarek Behún		Turris Omnia router support gamma correction for the RGB LEDs.
22*43e9082fSMarek Behún		This feature can be enabled/disabled by writing to this file.
23*43e9082fSMarek Behún
24*43e9082fSMarek Behún		If the feature is not supported because the MCU firmware is too
25*43e9082fSMarek Behún		old, the file always reads as 0, and writing to the file results
26*43e9082fSMarek Behún		in the EOPNOTSUPP error.
27*43e9082fSMarek Behún
28*43e9082fSMarek Behún		Format: %i
29