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

Signed-off-by: Denis Benato <denis.benato@linux.dev>
Link: https://patch.msgid.link/20251225031041.2321249-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 0b7cdae8b442ef464eb334082a1f6922dca0dee4..24977a9da22997f95b9ab35e568ecfcbbf7c0f51 100644 (file)
@@ -1357,6 +1357,35 @@ static const struct dmi_system_id power_limits[] = {
                        .requires_fan_curve = true,
                },
        },
+       {
+               .matches = {
+                       DMI_MATCH(DMI_BOARD_NAME, "G615LR"),
+               },
+               .driver_data = &(struct power_data) {
+                       .ac_data = &(struct power_limits) {
+                               .ppt_pl1_spl_min = 28,
+                               .ppt_pl1_spl_def = 140,
+                               .ppt_pl1_spl_max = 175,
+                               .ppt_pl2_sppt_min = 28,
+                               .ppt_pl2_sppt_max = 175,
+                               .nv_temp_target_min = 75,
+                               .nv_temp_target_max = 87,
+                               .nv_dynamic_boost_min = 5,
+                               .nv_dynamic_boost_max = 25,
+                               .nv_tgp_min = 65,
+                               .nv_tgp_max = 115,
+                       },
+                       .dc_data = &(struct power_limits) {
+                               .ppt_pl1_spl_min = 25,
+                               .ppt_pl1_spl_max = 55,
+                               .ppt_pl2_sppt_min = 25,
+                               .ppt_pl2_sppt_max = 70,
+                               .nv_temp_target_min = 75,
+                               .nv_temp_target_max = 87,
+                       },
+                       .requires_fan_curve = true,
+               },
+       },
        {
                .matches = {
                        DMI_MATCH(DMI_BOARD_NAME, "G634J"),