]> git.ipfire.org Git - thirdparty/linux.git/commitdiff
platform/x86: asus-armoury: add support for GU605CR
authorDenis Benato <denis.benato@linux.dev>
Thu, 25 Dec 2025 02:38:41 +0000 (03:38 +0100)
committerIlpo Järvinen <ilpo.jarvinen@linux.intel.com>
Mon, 29 Dec 2025 12:30:47 +0000 (14:30 +0200)
Add TDP data for laptop model GU605CR.

Signed-off-by: Denis Benato <denis.benato@linux.dev>
Link: https://patch.msgid.link/20251225023841.1970513-1-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 a1bb2005c3f35acb9d6eade005faf2db4c779890..d8814165d480a3e9fa10289c6bee03d99fa37b91 100644 (file)
@@ -950,6 +950,35 @@ static const struct dmi_system_id power_limits[] = {
                        },
                },
        },
+       {
+               .matches = {
+                       DMI_MATCH(DMI_BOARD_NAME, "GU605CR"),
+               },
+               .driver_data = &(struct power_data) {
+                       .ac_data = &(struct power_limits) {
+                               .ppt_pl1_spl_min = 30,
+                               .ppt_pl1_spl_max = 85,
+                               .ppt_pl2_sppt_min = 38,
+                               .ppt_pl2_sppt_max = 110,
+                               .nv_dynamic_boost_min = 5,
+                               .nv_dynamic_boost_max = 20,
+                               .nv_temp_target_min = 75,
+                               .nv_temp_target_max = 87,
+                               .nv_tgp_min = 80,
+                               .nv_tgp_def = 90,
+                               .nv_tgp_max = 105,
+                       },
+                       .dc_data = &(struct power_limits) {
+                               .ppt_pl1_spl_min = 30,
+                               .ppt_pl1_spl_max = 85,
+                               .ppt_pl2_sppt_min = 38,
+                               .ppt_pl2_sppt_max = 110,
+                               .nv_temp_target_min = 75,
+                               .nv_temp_target_max = 87,
+                       },
+                       .requires_fan_curve = true,
+               },
+       },
        {
                .matches = {
                        DMI_MATCH(DMI_BOARD_NAME, "GU605CW"),