|
| 1 | +What: /sys/class/platform-profile/platform-profile-X/name |
| 2 | +Date: March 2025 |
| 3 | +KernelVersion: 6.14 |
| 4 | +Description: Name of the class device given by the driver. |
| 5 | + |
| 6 | + RO |
| 7 | + |
| 8 | +What: /sys/class/platform-profile/platform-profile-X/choices |
| 9 | +Date: March 2025 |
| 10 | +KernelVersion: 6.14 |
| 11 | +Description: 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 | + |
| 31 | +What: /sys/class/platform-profile/platform-profile-X/profile |
| 32 | +Date: March 2025 |
| 33 | +KernelVersion: 6.14 |
| 34 | +Description: 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 |
0 commit comments