]> git.ipfire.org Git - thirdparty/linux.git/commitdiff
platform/x86: asus-armoury: add support for GV302XU
authorDenis Benato <denis.benato@linux.dev>
Sun, 29 Mar 2026 12:46:57 +0000 (14:46 +0200)
committerIlpo Järvinen <ilpo.jarvinen@linux.intel.com>
Tue, 31 Mar 2026 14:22:23 +0000 (17:22 +0300)
Add TDP data for laptop model GV302XU.

Signed-off-by: Denis Benato <denis.benato@linux.dev>
Link: https://patch.msgid.link/20260329124659.3967495-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 569743746347cd3eb55106c48686530f0f11aee5..a53204c24d43708f5d565837d5da9d1ca1231f42 100644 (file)
@@ -1376,6 +1376,33 @@ static const struct dmi_system_id power_limits[] = {
                        },
                },
        },
+       {
+               .matches = {
+                       DMI_MATCH(DMI_BOARD_NAME, "GV302XU"),
+               },
+               .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, "GV302XV"),