]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
platform/x86: asus-armoury: add support for GA403UM
authorDenis Benato <denis.benato@linux.dev>
Fri, 12 Jun 2026 12:10:07 +0000 (12:10 +0000)
committerIlpo Järvinen <ilpo.jarvinen@linux.intel.com>
Fri, 12 Jun 2026 12:57:55 +0000 (15:57 +0300)
Add TDP data for laptop model GA403UM.

Signed-off-by: Denis Benato <denis.benato@linux.dev>
Link: https://patch.msgid.link/20260612121008.970269-3-denis.benato@linux.dev
Reviewed-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com>
Signed-off-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com>
drivers/platform/x86/asus-armoury.h

index b532886876593764ffd2e841dde1c604193db7e2..52c122b01abd5b7640ec29f522124c8d5319b866 100644 (file)
@@ -1065,6 +1065,38 @@ static const struct dmi_system_id power_limits[] = {
                        .requires_fan_curve = true,
                },
        },
+       {
+               .matches = {
+                       DMI_MATCH(DMI_BOARD_NAME, "GA403UM"),
+               },
+               .driver_data = &(struct power_data) {
+                       .ac_data = &(struct power_limits) {
+                               .ppt_pl1_spl_min = 15,
+                               .ppt_pl1_spl_max = 80,
+                               .ppt_pl2_sppt_min = 25,
+                               .ppt_pl2_sppt_max = 80,
+                               .ppt_pl3_fppt_min = 35,
+                               .ppt_pl3_fppt_max = 80,
+                               .nv_dynamic_boost_min = 0,
+                               .nv_dynamic_boost_max = 15,
+                               .nv_temp_target_min = 75,
+                               .nv_temp_target_max = 87,
+                               .nv_tgp_min = 55,
+                               .nv_tgp_max = 85,
+                       },
+                       .dc_data = &(struct power_limits) {
+                               .ppt_pl1_spl_min = 15,
+                               .ppt_pl1_spl_max = 35,
+                               .ppt_pl2_sppt_min = 25,
+                               .ppt_pl2_sppt_max = 35,
+                               .ppt_pl3_fppt_min = 35,
+                               .ppt_pl3_fppt_max = 65,
+                               .nv_temp_target_min = 75,
+                               .nv_temp_target_max = 87,
+                       },
+                       .requires_fan_curve = true,
+               },
+       },
        {
                .matches = {
                        DMI_MATCH(DMI_BOARD_NAME, "GA403UV"),