]> git.ipfire.org Git - thirdparty/linux.git/commitdiff
platform/x86: asus-armoury: add support for G835LW
authorDenis Benato <denis.benato@linux.dev>
Mon, 29 Dec 2025 20:44:58 +0000 (21:44 +0100)
committerIlpo Järvinen <ilpo.jarvinen@linux.intel.com>
Tue, 30 Dec 2025 10:51:46 +0000 (12:51 +0200)
Add TDP data for laptop model G835LW.

Signed-off-by: Denis Benato <denis.benato@linux.dev>
Link: https://patch.msgid.link/20251229204458.2658777-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 68b174b70a66e2da149d17520c97cc9aee55ca3c..3ac7aea3783843d5e7a284b2ffea8b6732e04d38 100644 (file)
@@ -1567,6 +1567,35 @@ static const struct dmi_system_id power_limits[] = {
                        .requires_fan_curve = true,
                },
        },
+       {
+               .matches = {
+                       DMI_MATCH(DMI_BOARD_NAME, "G835LW"),
+               },
+               .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 = 80,
+                               .nv_tgp_max = 150,
+                       },
+                       .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, "H7606W"),