]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
platform/x86: asus-armoury: Add power limits for Asus G513QY
authorShresth Sarthak Awasthi <bengdeeba@gmail.com>
Fri, 9 Jan 2026 13:05:57 +0000 (18:35 +0530)
committerIlpo Järvinen <ilpo.jarvinen@linux.intel.com>
Thu, 15 Jan 2026 13:56:53 +0000 (15:56 +0200)
Add the DMI entry and power limits for the Asus ROG Strix G15
Advantage Edition (G513QY). This laptop requires manual fan curves
and specific APU/Platform PPT limits.

Signed-off-by: Shresth Sarthak Awasthi <bengdeeba@gmail.com>
Link: https://patch.msgid.link/20260109130557.78720-1-bengdeeba@gmail.com
Signed-off-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com>
drivers/platform/x86/asus-armoury.h

index bc8fb54c4af0fbb13eb4dc73e530ba9ec1832efe..5c60dd893d6df9312451e36454d389d87db81cad 100644 (file)
@@ -1380,6 +1380,22 @@ static const struct dmi_system_id power_limits[] = {
                        .requires_fan_curve = true,
                },
        },
+       {
+               .matches = {
+                       DMI_MATCH(DMI_BOARD_NAME, "G513QY"),
+               },
+               .driver_data = &(struct power_data) {
+                       .ac_data = &(struct power_limits) {
+                               /* Advantage Edition Laptop, no PL1 or PL2 limits */
+                               .ppt_apu_sppt_min = 15,
+                               .ppt_apu_sppt_max = 100,
+                               .ppt_platform_sppt_min = 70,
+                               .ppt_platform_sppt_max = 190,
+                       },
+                       .dc_data = NULL,
+                       .requires_fan_curve = true,
+               },
+       },
        {
                .matches = {
                        DMI_MATCH(DMI_BOARD_NAME, "G513R"),