Debian Codegraph @

Documentation/ABI/testing/sysfs-platform-oxp

raw
1 What: /sys/devices/platform/<platform>/tt_toggle
2 Date: Jun 2023
3 KernelVersion: 6.5
4 Contact: "Antheas Kapenekakis" <[email protected]>
5 Description:
6 Takeover TDP controls from the device. OneXPlayer devices have a
7 turbo button that can be used to switch between two TDP modes
8 (usually 15W and 25W). By setting this attribute to 1, this
9 functionality is disabled, handing TDP control over to (Windows)
10 userspace software and the Turbo button turns into a keyboard
11 shortcut over the AT keyboard of the device. In addition,
12 using this setting is a prerequisite for PWM control for most
13 newer models (otherwise it NOOPs).
14
15 What: /sys/devices/platform/<platform>/tt_led
16 Date: April 2025
17 KernelVersion: 6.16
18 Contact: "Antheas Kapenekakis" <[email protected]>
19 Description:
20 Some OneXPlayer devices (e.g., X1 series) feature a little LED
21 nested in the Turbo button. This LED is illuminated when the
22 device is in the higher TDP mode (e.g., 25W). Once tt_toggle
23 is engaged, this LED is left dangling to its last state. This
24 attribute allows userspace to control the LED state manually
25 (either with 1 or 0). Only a subset of devices contain this LED.