]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
platform/x86: asus-armoury: add support for GV302XV
authorDenis Benato <denis.benato@linux.dev>
Mon, 12 Jan 2026 21:50:36 +0000 (22:50 +0100)
committerIlpo Järvinen <ilpo.jarvinen@linux.intel.com>
Thu, 15 Jan 2026 13:58:06 +0000 (15:58 +0200)
Add TDP data for laptop model GV302XV.

Signed-off-by: Denis Benato <denis.benato@linux.dev>
Link: https://patch.msgid.link/20260112215038.575883-2-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 5c60dd893d6df9312451e36454d389d87db81cad..0389ca2adfb10d7a73cc6789229b6dd7245aa4e9 100644 (file)
@@ -1251,6 +1251,33 @@ static const struct dmi_system_id power_limits[] = {
                        },
                },
        },
+       {
+               .matches = {
+                       DMI_MATCH(DMI_BOARD_NAME, "GV302XV"),
+               },
+               .driver_data = &(struct power_data) {
+                       .ac_data = &(struct power_limits) {
+                               .ppt_pl1_spl_min = 15,
+                               .ppt_pl1_spl_max = 55,
+                               .ppt_pl2_sppt_min = 25,
+                               .ppt_pl2_sppt_max = 60,
+                               .ppt_pl3_fppt_min = 35,
+                               .ppt_pl3_fppt_max = 65,
+                               .nv_temp_target_min = 75,
+                               .nv_temp_target_max = 87,
+                       },
+                       .dc_data = &(struct power_limits) {
+                               .ppt_pl1_spl_min = 15,
+                               .ppt_pl1_spl_max = 35,
+                               .ppt_pl2_sppt_min = 25,
+                               .ppt_pl2_sppt_max = 35,
+                               .ppt_pl3_fppt_min = 35,
+                               .ppt_pl3_fppt_max = 65,
+                               .nv_temp_target_min = 75,
+                               .nv_temp_target_max = 87,
+                       },
+               },
+       },
        {
                .matches = {
                        DMI_MATCH(DMI_BOARD_NAME, "GV601R"),