Documentation: ABI: leds-turris-omnia: document sysfs attribute
authorMarek Behún <marek.behun@nic.cz>
Thu, 23 Jul 2020 12:53:20 +0000 (14:53 +0200)
committerPavel Machek <pavel@ucw.cz>
Fri, 24 Jul 2020 10:58:55 +0000 (12:58 +0200)
Document the global brightness attribute for the Turris Omnia LED
controller.

Signed-off-by: Marek Behún <marek.behun@nic.cz>
Signed-off-by: Pavel Machek <pavel@ucw.cz>
Documentation/ABI/testing/sysfs-class-led-driver-turris-omnia [new file with mode: 0644]

diff --git a/Documentation/ABI/testing/sysfs-class-led-driver-turris-omnia b/Documentation/ABI/testing/sysfs-class-led-driver-turris-omnia
new file mode 100644 (file)
index 0000000..795a5de
--- /dev/null
@@ -0,0 +1,14 @@
+What:          /sys/class/leds/<led>/device/brightness
+Date:          July 2020
+KernelVersion: 5.9
+Contact:       Marek Behún <marek.behun@nic.cz>
+Description:   (RW) On the front panel of the Turris Omnia router there is also
+               a button which can be used to control the intensity of all the
+               LEDs at once, so that if they are too bright, user can dim them.
+
+               The microcontroller cycles between 8 levels of this global
+               brightness (from 100% to 0%), but this setting can have any
+               integer value between 0 and 100. It is therefore convenient to be
+               able to change this setting from software.
+
+               Format: %i