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

Signed-off-by: Denis Benato <denis.benato@linux.dev>
Link: https://patch.msgid.link/20260226141944.352923-3-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 f9d9136aec7b9d2c8273002a0c69c76f876a0c77..208f6fe16168c2dab4213b9993479c78c58a7358 100644 (file)
@@ -346,6 +346,35 @@ struct power_data {
  * _def is not required and will be assumed to be default == max if missing.
  */
 static const struct dmi_system_id power_limits[] = {
+       {
+               .matches = {
+                       DMI_MATCH(DMI_BOARD_NAME, "FA401UM"),
+               },
+               .driver_data = &(struct power_data) {
+                       .ac_data = &(struct power_limits) {
+                               .ppt_pl1_spl_min = 15,
+                               .ppt_pl1_spl_max = 80,
+                               .ppt_pl2_sppt_min = 35,
+                               .ppt_pl2_sppt_max = 80,
+                               .ppt_pl3_fppt_min = 35,
+                               .ppt_pl3_fppt_max = 80,
+                               .nv_dynamic_boost_min = 5,
+                               .nv_dynamic_boost_max = 15,
+                               .nv_temp_target_min = 75,
+                               .nv_temp_target_max = 87,
+                       },
+                       .dc_data = &(struct power_limits) {
+                               .ppt_pl1_spl_min = 25,
+                               .ppt_pl1_spl_max = 35,
+                               .ppt_pl2_sppt_min = 31,
+                               .ppt_pl2_sppt_max = 44,
+                               .ppt_pl3_fppt_min = 45,
+                               .ppt_pl3_fppt_max = 65,
+                               .nv_temp_target_min = 75,
+                               .nv_temp_target_max = 87,
+                       },
+               },
+       },
        {
                .matches = {
                        DMI_MATCH(DMI_BOARD_NAME, "FA401UV"),