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