platform/x86: asus-armoury: Add power limits quirk for FA401KM

Add power limits quirk entry for ASUS ROG FA401KM laptop.
The limits are extracted from the device's ThrottleGear XML configuration
file for the 'Ryzen' profile.

Signed-off-by: Marco Scardovi <scardracs@disroot.org>
Link: https://patch.msgid.link/20260621123055.5465-2-scardracs@disroot.org
Reviewed-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com>
Signed-off-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com>
This commit is contained in:
Marco Scardovi
2026-06-21 14:28:59 +02:00
committed by Ilpo Järvinen
parent a7320d6eb9
commit c036e9e564

View File

@@ -369,6 +369,38 @@ static const struct dmi_system_id power_limits[] = {
},
},
},
{
.matches = {
DMI_MATCH(DMI_BOARD_NAME, "FA401KM"),
},
.driver_data = &(struct power_data) {
.ac_data = &(struct power_limits) {
.nv_dynamic_boost_max = 15,
.nv_dynamic_boost_min = 5,
.nv_temp_target_max = 87,
.nv_temp_target_min = 75,
.nv_tgp_max = 95,
.nv_tgp_min = 55,
.ppt_pl1_spl_max = 80,
.ppt_pl1_spl_min = 15,
.ppt_pl2_sppt_max = 80,
.ppt_pl2_sppt_min = 35,
.ppt_pl3_fppt_max = 80,
.ppt_pl3_fppt_min = 35,
},
.dc_data = &(struct power_limits) {
.nv_temp_target_max = 87,
.nv_temp_target_min = 75,
.ppt_pl1_spl_max = 35,
.ppt_pl1_spl_min = 25,
.ppt_pl2_sppt_max = 44,
.ppt_pl2_sppt_min = 31,
.ppt_pl3_fppt_max = 65,
.ppt_pl3_fppt_min = 45,
},
.requires_fan_curve = true,
},
},
{
.matches = {
DMI_MATCH(DMI_BOARD_NAME, "FA401UM"),