platform/x86: asus-armoury: Add power limits quirk for GA401IHR
PATCH 1/1 platform/x86: asus-armoury: Add power limits quirk for GA401IHR
Add power limits quirk entry for ASUS ROG GA401IHR laptop. The limits are extracted from the device's ThrottleGear XML configuration file.
--- drivers/platform/x86/asus-armoury.h | 14 ++++++++++++++ 1 file changed, 14 insertions(+)
drivers/platform/x86/asus-armoury.h +14 -0
@@ -966,6 +966,20 @@ }, { .matches = { + DMI_MATCH(DMI_BOARD_NAME, "GA401IHR"), + }, + .driver_data = &(struct power_data ) { + .ac_data = &(struct power_limits ) { + .ppt_pl1_spl_max =80 , + .ppt_pl1_spl_min =15 , + .ppt_pl2_sppt_max =80 , + .ppt_pl2_sppt_min =15 , + }, + .requires_fan_curve = true, + }, + }, + { + .matches = { DMI_MATCH(DMI_BOARD_NAME, "GA401Q"), }, .driver_data = &(struct power_data) {
Signature · 1 line
2.55.0
Ilpo Järvinen
maintainerQuoted 3 lines · Marco Scardovi
Add power limits quirk entry for ASUS ROG GA401IHR laptop. The limits are extracted from the device's ThrottleGear XML configuration file.
Thank you for your contribution, it has been applied to my local review-ilpo-next branch. Note it will show up in the public platform-drivers-x86/review-ilpo-next branch only once I've pushed my local branch there, which might take a while.
FYI [if applicable to your patch], as per Linus' policy change, also fixes are mostly routed through for-next unless the fix is for a commit introduced in the most recent cycle or is clearly a regression fix.
The list of commits applied:
[1/1] platform/x86: asus-armoury: Add power limits quirk for GA401IHR
commit: f03ec815842c4593f0d743ae21b11bb399137668
--
i.