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).
Showing the changes to include/linux/platform_data (1 of 2 files). Show all
Unified · Split
| @@ -68,6 +68,7 @@ · 67 unmodified lines | ||
| 68 | 68 | #define ASUS_WMI_DEVID_SCREENPAD_LIGHT 0x00050032 |
| 69 | 69 | #define ASUS_WMI_DEVID_FAN_BOOST_MODE 0x00110018 |
| 70 | 70 | #define ASUS_WMI_DEVID_THROTTLE_THERMAL_POLICY 0x00120075 |
| 71 | +#define ASUS_WMI_DEVID_THROTTLE_THERMAL_POLICY_VIVO 0x00110019 | |
| 71 | 72 | |
| 72 | 73 | /* Misc */ |
| 73 | 74 | #define ASUS_WMI_DEVID_PANEL_OD 0x00050019 |