[PATCH v1 leds-next 3/3] leds: turris: Add sysfs documentation

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Add sysfs ABI documentation for the attribute hw_trigger of LEDs of the
leds-turris controller and also for the intensity_level_<N> and
current_intensity_level attributes of the controller itself.

Signed-off-by: Marek Behún <marek.behun@xxxxxx>
---
 .../ABI/testing/sysfs-class-leds-turris       | 21 +++++++++++++++++++
 1 file changed, 21 insertions(+)
 create mode 100644 Documentation/ABI/testing/sysfs-class-leds-turris

diff --git a/Documentation/ABI/testing/sysfs-class-leds-turris b/Documentation/ABI/testing/sysfs-class-leds-turris
new file mode 100644
index 000000000000..5c18a3c4134b
--- /dev/null
+++ b/Documentation/ABI/testing/sysfs-class-leds-turris
@@ -0,0 +1,21 @@
+What:		/sys/class/leds/turris:<color>:<name>/hw_trigger
+Date:		March 2019
+KernelVersion:	5.2
+Contact:	Marek Behún <marek.behun@xxxxxx>
+Description:	(RW) Get/set the HW trigger for this LED and also for the other
+		two LEDs with the same name <name> but different <color>.
+		The format is similar to that of /sys/class/leds/*/trigger.
+
+What:		/sys/class/leds/turris:*/device/intensity_level_<LEVEL>
+Date:		March 2019
+KernelVersion:	5.2
+Contact:	Marek Behún <marek.behun@xxxxxx>
+Description:	(RW) Get/set the brightness of global intensity level <LEVEL>.
+		Format: %u (0...255)
+
+What:		/sys/class/leds/turris:*/device/current_intensity_level
+Date:		March 2019
+KernelVersion:	5.2
+Contact:	Marek Behún <marek.behun@xxxxxx>
+Description:	(RW) Get/set current global intensity level.
+		Format: %u (0...7)
-- 
2.19.2




[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux