]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
platform/x86: asus-armoury: add support for GX650RX
authorDenis Benato <denis.benato@linux.dev>
Thu, 26 Feb 2026 14:19:43 +0000 (15:19 +0100)
committerIlpo Järvinen <ilpo.jarvinen@linux.intel.com>
Fri, 27 Feb 2026 11:10:58 +0000 (13:10 +0200)
Add TDP data for laptop model GX650RX.

Signed-off-by: Denis Benato <denis.benato@linux.dev>
Link: https://patch.msgid.link/20260226141944.352923-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 001c011fdd561df8388ceb5b58d1e3cb19554cf1..f9d9136aec7b9d2c8273002a0c69c76f876a0c77 100644 (file)
@@ -1457,6 +1457,38 @@ static const struct dmi_system_id power_limits[] = {
                        },
                },
        },
+       {
+               .matches = {
+                       DMI_MATCH(DMI_BOARD_NAME, "GX650RX"),
+               },
+               .driver_data = &(struct power_data) {
+                       .ac_data = &(struct power_limits) {
+                               .ppt_pl1_spl_min = 28,
+                               .ppt_pl1_spl_def = 70,
+                               .ppt_pl1_spl_max = 90,
+                               .ppt_pl2_sppt_min = 28,
+                               .ppt_pl2_sppt_def = 70,
+                               .ppt_pl2_sppt_max = 100,
+                               .ppt_pl3_fppt_min = 28,
+                               .ppt_pl3_fppt_def = 110,
+                               .ppt_pl3_fppt_max = 125,
+                               .nv_dynamic_boost_min = 5,
+                               .nv_dynamic_boost_max = 25,
+                               .nv_temp_target_min = 76,
+                               .nv_temp_target_max = 87,
+                       },
+                       .dc_data = &(struct power_limits) {
+                               .ppt_pl1_spl_min = 28,
+                               .ppt_pl1_spl_max = 50,
+                               .ppt_pl2_sppt_min = 28,
+                               .ppt_pl2_sppt_max = 50,
+                               .ppt_pl3_fppt_min = 28,
+                               .ppt_pl3_fppt_max = 65,
+                               .nv_temp_target_min = 76,
+                               .nv_temp_target_max = 87,
+                       },
+               },
+       },
        {
                .matches = {
                        DMI_MATCH(DMI_BOARD_NAME, "G513I"),