xref: /linux/Documentation/ABI/testing/sysfs-class-platform-profile (revision c9c0543b52d8cfe3a3b15d1e39ab9dbc91be6df4)
1*ee7f3e2bSKurt BorjaWhat:		/sys/class/platform-profile/platform-profile-X/name
2*ee7f3e2bSKurt BorjaDate:		March 2025
3*ee7f3e2bSKurt BorjaKernelVersion:	6.14
4*ee7f3e2bSKurt BorjaDescription:	Name of the class device given by the driver.
5*ee7f3e2bSKurt Borja
6*ee7f3e2bSKurt Borja		RO
7*ee7f3e2bSKurt Borja
8*ee7f3e2bSKurt BorjaWhat:		/sys/class/platform-profile/platform-profile-X/choices
9*ee7f3e2bSKurt BorjaDate:		March 2025
10*ee7f3e2bSKurt BorjaKernelVersion:	6.14
11*ee7f3e2bSKurt BorjaDescription:	This file contains a space-separated list of profiles supported
12*ee7f3e2bSKurt Borja		for this device.
13*ee7f3e2bSKurt Borja
14*ee7f3e2bSKurt Borja		Drivers must use the following standard profile-names:
15*ee7f3e2bSKurt Borja
16*ee7f3e2bSKurt Borja		====================	========================================
17*ee7f3e2bSKurt Borja		low-power		Low power consumption
18*ee7f3e2bSKurt Borja		cool			Cooler operation
19*ee7f3e2bSKurt Borja		quiet			Quieter operation
20*ee7f3e2bSKurt Borja		balanced		Balance between low power consumption
21*ee7f3e2bSKurt Borja					and performance
22*ee7f3e2bSKurt Borja		balanced-performance	Balance between performance and low
23*ee7f3e2bSKurt Borja					power consumption with a slight bias
24*ee7f3e2bSKurt Borja					towards performance
25*ee7f3e2bSKurt Borja		performance		High performance operation
26*ee7f3e2bSKurt Borja		custom			Driver defined custom profile
27*ee7f3e2bSKurt Borja		====================	========================================
28*ee7f3e2bSKurt Borja
29*ee7f3e2bSKurt Borja		RO
30*ee7f3e2bSKurt Borja
31*ee7f3e2bSKurt BorjaWhat:		/sys/class/platform-profile/platform-profile-X/profile
32*ee7f3e2bSKurt BorjaDate:		March 2025
33*ee7f3e2bSKurt BorjaKernelVersion:	6.14
34*ee7f3e2bSKurt BorjaDescription:	Reading this file gives the current selected profile for this
35*ee7f3e2bSKurt Borja		device. Writing this file with one of the strings from
36*ee7f3e2bSKurt Borja		platform_profile_choices changes the profile to the new value.
37*ee7f3e2bSKurt Borja
38*ee7f3e2bSKurt Borja		This file can be monitored for changes by polling for POLLPRI,
39*ee7f3e2bSKurt Borja		POLLPRI will be signaled on any changes, independent of those
40*ee7f3e2bSKurt Borja		changes coming from a userspace write; or coming from another
41*ee7f3e2bSKurt Borja		source such as e.g. a hotkey triggered profile change handled
42*ee7f3e2bSKurt Borja		either directly by the embedded-controller or fully handled
43*ee7f3e2bSKurt Borja		inside the kernel.
44*ee7f3e2bSKurt Borja
45*ee7f3e2bSKurt Borja		This file may also emit the string 'custom' to indicate
46*ee7f3e2bSKurt Borja		that the driver is using a driver defined custom profile.
47*ee7f3e2bSKurt Borja
48*ee7f3e2bSKurt Borja		RW
49