]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
platform/x86: asus-armoury: add support for GU605CP
authorDenis Benato <denis.benato@linux.dev>
Sun, 17 May 2026 22:00:05 +0000 (22:00 +0000)
committerIlpo Järvinen <ilpo.jarvinen@linux.intel.com>
Tue, 19 May 2026 14:14:23 +0000 (17:14 +0300)
Add TDP data for laptop model GU605CP.

Signed-off-by: Denis Benato <denis.benato@linux.dev>
Link: https://patch.msgid.link/20260517220005.4594-5-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 71df2ca061a758f9ca9e94c32dd7a9b973db47c1..692978b61959f4a1827607ad5748f25025a5617c 100644 (file)
@@ -1303,6 +1303,35 @@ static const struct dmi_system_id power_limits[] = {
                        },
                },
        },
+       {
+               .matches = {
+                       DMI_MATCH(DMI_BOARD_NAME, "GU605CP"),
+               },
+               .driver_data = &(struct power_data) {
+                       .ac_data = &(struct power_limits) {
+                               .ppt_pl1_spl_min = 45,
+                               .ppt_pl1_spl_max = 75,
+                               .ppt_pl2_sppt_min = 56,
+                               .ppt_pl2_sppt_max = 95,
+                               .nv_dynamic_boost_min = 5,
+                               .nv_dynamic_boost_max = 15,
+                               .nv_temp_target_min = 75,
+                               .nv_temp_target_max = 87,
+                               .nv_tgp_min = 55,
+                               .nv_tgp_def = 75,
+                               .nv_tgp_max = 95,
+                       },
+                       .dc_data = &(struct power_limits) {
+                               .ppt_pl1_spl_min = 25,
+                               .ppt_pl1_spl_max = 75,
+                               .ppt_pl2_sppt_min = 32,
+                               .ppt_pl2_sppt_max = 95,
+                               .nv_temp_target_min = 75,
+                               .nv_temp_target_max = 87,
+                       },
+                       .requires_fan_curve = true,
+               },
+       },
        {
                .matches = {
                        DMI_MATCH(DMI_BOARD_NAME, "GU605CR"),