]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
platform/x86: asus-armoury: add support for G835L
authorDenis Benato <denis.benato@linux.dev>
Fri, 16 Jan 2026 18:06:35 +0000 (19:06 +0100)
committerIlpo Järvinen <ilpo.jarvinen@linux.intel.com>
Tue, 20 Jan 2026 14:56:50 +0000 (16:56 +0200)
Add TDP data for laptop model G835L.

Signed-off-by: Denis Benato <denis.benato@linux.dev>
Link: https://patch.msgid.link/20260116180637.859803-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 710eef74cdb7172fa35b56a0aaa6868a93a1c55c..3efb4b4d0d222f50c939735168d7f16ac8b36db3 100644 (file)
@@ -1724,6 +1724,35 @@ static const struct dmi_system_id power_limits[] = {
                        .requires_fan_curve = true,
                },
        },
+       {
+               .matches = {
+                       DMI_MATCH(DMI_BOARD_NAME, "G835LR"),
+               },
+               .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_dynamic_boost_min = 5,
+                               .nv_dynamic_boost_max = 25,
+                               .nv_temp_target_min = 75,
+                               .nv_temp_target_max = 87,
+                               .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, "G835LW"),