diff options
| author | 2019-12-15 16:26:34 +0200 | |
|---|---|---|
| committer | 2020-01-10 11:57:22 +0200 | |
| commit | 2daa86e78c494d06d0aac231e4533f3dc50fa432 (patch) | |
| tree | a60972da5ed8210204f36e59ae5851dc8ab2bf90 /include/linux | |
| parent | platform/x86: touchscreen_dmi: Fix indentation in several places (diff) | |
| download | linux-dev-2daa86e78c494d06d0aac231e4533f3dc50fa432.tar.xz linux-dev-2daa86e78c494d06d0aac231e4533f3dc50fa432.zip | |
platform/x86: asus_wmi: Support throttle thermal policy
Throttle thermal policy ACPI device is used to control CPU cooling and
throttling. This patch adds sysfs entry for setting current mode and
Fn+F5 hotkey that switches to next.
Policy modes:
* 0x00 - default
* 0x01 - overboost
* 0x02 - silent
Signed-off-by: Leonid Maksymchuk <leonmaxx@gmail.com>
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Diffstat (limited to 'include/linux')
| -rw-r--r-- | include/linux/platform_data/x86/asus-wmi.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/platform_data/x86/asus-wmi.h b/include/linux/platform_data/x86/asus-wmi.h index 60249e22e844..d39fc658c320 100644 --- a/include/linux/platform_data/x86/asus-wmi.h +++ b/include/linux/platform_data/x86/asus-wmi.h @@ -58,6 +58,7 @@ #define ASUS_WMI_DEVID_LIGHT_SENSOR 0x00050022 /* ?? */ #define ASUS_WMI_DEVID_LIGHTBAR 0x00050025 #define ASUS_WMI_DEVID_FAN_BOOST_MODE 0x00110018 +#define ASUS_WMI_DEVID_THROTTLE_THERMAL_POLICY 0x00120075 /* Misc */ #define ASUS_WMI_DEVID_CAMERA 0x00060013 |
