xref: /linux/Documentation/ABI/testing/sysfs-platform-oxp (revision d9c4037fed897ddcb512fdf03bafed9451cb5006)
1*d9c4037fSAntheas KapenekakisWhat:		/sys/devices/platform/<platform>/tt_toggle
2*d9c4037fSAntheas KapenekakisDate:		Jun 2023
3*d9c4037fSAntheas KapenekakisKernelVersion:	6.5
4*d9c4037fSAntheas KapenekakisContact:	"Antheas Kapenekakis" <lkml@antheas.dev>
5*d9c4037fSAntheas KapenekakisDescription:
6*d9c4037fSAntheas Kapenekakis		Takeover TDP controls from the device. OneXPlayer devices have a
7*d9c4037fSAntheas Kapenekakis		turbo button that can be used to switch between two TDP modes
8*d9c4037fSAntheas Kapenekakis		(usually 15W and 25W). By setting this attribute to 1, this
9*d9c4037fSAntheas Kapenekakis		functionality is disabled, handing TDP control over to (Windows)
10*d9c4037fSAntheas Kapenekakis		userspace software and the Turbo button turns into a keyboard
11*d9c4037fSAntheas Kapenekakis		shortcut over the AT keyboard of the device. In addition,
12*d9c4037fSAntheas Kapenekakis		using this setting is a prerequisite for PWM control for most
13*d9c4037fSAntheas Kapenekakis		newer models (otherwise it NOOPs).
14