ABI: testing: sysfs-class-oxp: add tt_led attribute documentation
authorAntheas Kapenekakis <lkml@antheas.dev>
Fri, 25 Apr 2025 11:18:10 +0000 (13:18 +0200)
committerIlpo Järvinen <ilpo.jarvinen@linux.intel.com>
Wed, 30 Apr 2025 11:05:29 +0000 (14:05 +0300)
Adds documentation about the tt_led attribute of OneXPlayer devices to
the sysfs-class-oxp ABI documentation.

Reviewed-by: Thomas Weißschuh <linux@weissschuh.net>
Reviewed-by: Derek J. Clark <derekjohn.clark@gmail.com>
Signed-off-by: Antheas Kapenekakis <lkml@antheas.dev>
Link: https://lore.kernel.org/r/20250425111821.88746-6-lkml@antheas.dev
Reviewed-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com>
Signed-off-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com>
Documentation/ABI/testing/sysfs-platform-oxp

index 091269ab2c8c4a08d7dd328c0f3f94ea533e467d..b3f39fc21dfa8f9b871064220bbcdf3e64b6e756 100644 (file)
@@ -11,3 +11,15 @@ Description:
                shortcut over the AT keyboard of the device. In addition,
                using this setting is a prerequisite for PWM control for most
                newer models (otherwise it NOOPs).
+
+What:          /sys/devices/platform/<platform>/tt_led
+Date:          April 2025
+KernelVersion: 6.16
+Contact:       "Antheas Kapenekakis" <lkml@antheas.dev>
+Description:
+               Some OneXPlayer devices (e.g., X1 series) feature a little LED
+               nested in the Turbo button. This LED is illuminated when the
+               device is in the higher TDP mode (e.g., 25W). Once tt_toggle
+               is engaged, this LED is left dangling to its last state. This
+               attribute allows userspace to control the LED state manually
+               (either with 1 or 0). Only a subset of devices contain this LED.