]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
platform/x86: asus-armoury: add support for GA503QM
authorDenis Benato <denis.benato@linux.dev>
Mon, 9 Mar 2026 18:35:57 +0000 (19:35 +0100)
committerIlpo Järvinen <ilpo.jarvinen@linux.intel.com>
Mon, 23 Mar 2026 12:48:50 +0000 (14:48 +0200)
Add TDP data for laptop model GA503QM.

Signed-off-by: Denis Benato <denis.benato@linux.dev>
Link: https://patch.msgid.link/20260309183559.433555-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 208f6fe16168c2dab4213b9993479c78c58a7358..1979b5c47bc9b0484f2b4cf210b7c15e31e50c85 100644 (file)
@@ -1080,6 +1080,20 @@ static const struct dmi_system_id power_limits[] = {
                        .requires_fan_curve = true,
                },
        },
+       {
+               .matches = {
+                       DMI_MATCH(DMI_BOARD_NAME, "GA503QM"),
+               },
+               .driver_data = &(struct power_data) {
+                       .ac_data = &(struct power_limits) {
+                               .ppt_pl1_spl_min = 15,
+                               .ppt_pl1_spl_def = 35,
+                               .ppt_pl1_spl_max = 80,
+                               .ppt_pl2_sppt_min = 65,
+                               .ppt_pl2_sppt_max = 80,
+                       },
+               },
+       },
        {
                .matches = {
                        DMI_MATCH(DMI_BOARD_NAME, "GA503QR"),