]> git.ipfire.org Git - thirdparty/kernel/stable.git/commitdiff
platform/x86: asus-armoury: add support for GZ302EA and GZ302EAC
authorMatthew Schwartz <matthew.schwartz@linux.dev>
Fri, 13 Mar 2026 00:49:39 +0000 (17:49 -0700)
committerIlpo Järvinen <ilpo.jarvinen@linux.intel.com>
Mon, 23 Mar 2026 12:49:05 +0000 (14:49 +0200)
Add TDP data for tablet models GZ302EA and GZ302EAC.

Signed-off-by: Matthew Schwartz <matthew.schwartz@linux.dev>
Reviewed-by: Denis Benato <denis.benato@linux.dev>
Link: https://patch.msgid.link/20260313004939.4103835-1-matthew.schwartz@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 230d614a00e4852b31a6dadc3ea0206558c74964..569743746347cd3eb55106c48686530f0f11aee5 100644 (file)
@@ -1532,6 +1532,35 @@ static const struct dmi_system_id power_limits[] = {
                        },
                },
        },
+       {
+               .matches = {
+                       DMI_MATCH(DMI_BOARD_NAME, "GZ302EA"),
+               },
+               .driver_data = &(struct power_data) {
+                       .ac_data = &(struct power_limits) {
+                               .ppt_pl1_spl_min = 28,
+                               .ppt_pl1_spl_def = 60,
+                               .ppt_pl1_spl_max = 80,
+                               .ppt_pl2_sppt_min = 32,
+                               .ppt_pl2_sppt_def = 75,
+                               .ppt_pl2_sppt_max = 92,
+                               .ppt_pl3_fppt_min = 45,
+                               .ppt_pl3_fppt_def = 86,
+                               .ppt_pl3_fppt_max = 93,
+                       },
+                       .dc_data = &(struct power_limits) {
+                               .ppt_pl1_spl_min = 28,
+                               .ppt_pl1_spl_def = 45,
+                               .ppt_pl1_spl_max = 80,
+                               .ppt_pl2_sppt_min = 32,
+                               .ppt_pl2_sppt_def = 52,
+                               .ppt_pl2_sppt_max = 92,
+                               .ppt_pl3_fppt_min = 45,
+                               .ppt_pl3_fppt_def = 71,
+                               .ppt_pl3_fppt_max = 93,
+                       },
+               },
+       },
        {
                .matches = {
                        DMI_MATCH(DMI_BOARD_NAME, "G513I"),