aboutsummaryrefslogtreecommitdiffstats
path: root/Documentation/ABI
diff options
context:
space:
mode:
authorMarek Behún <marek.behun@nic.cz>2020-07-23 14:53:20 +0200
committerPavel Machek <pavel@ucw.cz>2020-07-24 12:58:55 +0200
commit45c2818f78d31d7f6732ad07baa7902f33c269d3 (patch)
tree30dad4af82bbdb625916e8bee53fc0bcce1d51d9 /Documentation/ABI
parentleds: initial support for Turris Omnia LEDs (diff)
downloadlinux-dev-45c2818f78d31d7f6732ad07baa7902f33c269d3.tar.xz
linux-dev-45c2818f78d31d7f6732ad07baa7902f33c269d3.zip
Documentation: ABI: leds-turris-omnia: document sysfs attribute
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>
Diffstat (limited to 'Documentation/ABI')
-rw-r--r--Documentation/ABI/testing/sysfs-class-led-driver-turris-omnia14
1 files changed, 14 insertions, 0 deletions
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
index 000000000000..795a5de12fc1
--- /dev/null
+++ b/Documentation/ABI/testing/sysfs-class-led-driver-turris-omnia
@@ -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