mirror of
git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2025-08-05 16:54:27 +00:00

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>
25 lines
1.1 KiB
Text
25 lines
1.1 KiB
Text
What: /sys/devices/platform/<platform>/tt_toggle
|
|
Date: Jun 2023
|
|
KernelVersion: 6.5
|
|
Contact: "Antheas Kapenekakis" <lkml@antheas.dev>
|
|
Description:
|
|
Takeover TDP controls from the device. OneXPlayer devices have a
|
|
turbo button that can be used to switch between two TDP modes
|
|
(usually 15W and 25W). By setting this attribute to 1, this
|
|
functionality is disabled, handing TDP control over to (Windows)
|
|
userspace software and the Turbo button turns into a keyboard
|
|
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.
|