xref: /linux/Documentation/ABI/testing/sysfs-class-led-driver-turris-omnia (revision c532de5a67a70f8533d495f8f2aaa9a0491c3ad0)
1What:		/sys/class/leds/<led>/device/brightness
2Date:		July 2020
3KernelVersion:	5.9
4Contact:	Marek Behún <kabel@kernel.org>
5Description:	(RW) On the front panel of the Turris Omnia router there is also
6		a button which can be used to control the intensity of all the
7		LEDs at once, so that if they are too bright, user can dim them.
8
9		The microcontroller cycles between 8 levels of this global
10		brightness (from 100% to 0%), but this setting can have any
11		integer value between 0 and 100. It is therefore convenient to be
12		able to change this setting from software.
13
14		Format: %i
15
16What:		/sys/class/leds/<led>/device/gamma_correction
17Date:		August 2023
18KernelVersion:	6.6
19Contact:	Marek Behún <kabel@kernel.org>
20Description:	(RW) Newer versions of the microcontroller firmware of the
21		Turris Omnia router support gamma correction for the RGB LEDs.
22		This feature can be enabled/disabled by writing to this file.
23
24		If the feature is not supported because the MCU firmware is too
25		old, the file always reads as 0, and writing to the file results
26		in the EOPNOTSUPP error.
27
28		Format: %i
29