]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
platform/x86: asus-armoury: add support for GA403WM
authorDenis Benato <denis.benato@linux.dev>
Sat, 3 Jan 2026 00:37:29 +0000 (01:37 +0100)
committerIlpo Järvinen <ilpo.jarvinen@linux.intel.com>
Mon, 5 Jan 2026 14:24:00 +0000 (16:24 +0200)
Add TDP data for laptop model GA403WM.

Signed-off-by: Denis Benato <denis.benato@linux.dev>
Link: https://patch.msgid.link/20260103003731.404383-2-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 3ac7aea3783843d5e7a284b2ffea8b6732e04d38..8184107e565f01c4e5d83f743748b9a44205a812 100644 (file)
@@ -905,6 +905,38 @@ static const struct dmi_system_id power_limits[] = {
                        .requires_fan_curve = true,
                },
        },
+       {
+               .matches = {
+                       DMI_MATCH(DMI_BOARD_NAME, "GA403WM"),
+               },
+               .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, "GA503QR"),