History

platform/x86: asus-wmi: add support for vivobook fan profiles

Add support for vivobook fan profiles wmi call on the ASUS VIVOBOOK to adjust power limits. These fan profiles have a different device id than the ROG series and different order. This reorders the existing modes. As part of keeping the patch clean the throttle_thermal_policy_available boolean stored in the driver struct is removed and throttle_thermal_policy_dev is used in place (as on init it is zeroed).

Mohamed Ghanmi committed 2 years ago

Commit bcbfceb1 parent 84002912 files · +71 −50Browse files

Showing the changes to include/linux/platform_data (1 of 2 files). Show all

Unified · Split

include/linux/platform_data/x86/asus-wmi.h+1−0
@@ -68,6 +68,7 @@ · 67 unmodified lines
6868 #define ASUS_WMI_DEVID_SCREENPAD_LIGHT 0x00050032
6969 #define ASUS_WMI_DEVID_FAN_BOOST_MODE 0x00110018
7070 #define ASUS_WMI_DEVID_THROTTLE_THERMAL_POLICY 0x00120075
71+#define ASUS_WMI_DEVID_THROTTLE_THERMAL_POLICY_VIVO 0x00110019
7172
7273 /* Misc */
7374 #define ASUS_WMI_DEVID_PANEL_OD 0x00050019

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t