]> git.ipfire.org Git - thirdparty/linux.git/commitdiff
platform/x86: asus-armoury: add support for FA607NU
authorDenis Benato <denis.benato@linux.dev>
Sun, 29 Mar 2026 12:46:58 +0000 (14:46 +0200)
committerIlpo Järvinen <ilpo.jarvinen@linux.intel.com>
Tue, 31 Mar 2026 14:22:26 +0000 (17:22 +0300)
Add TDP data for laptop model FA607NU.

Signed-off-by: Denis Benato <denis.benato@linux.dev>
Link: https://patch.msgid.link/20260329124659.3967495-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 a53204c24d43708f5d565837d5da9d1ca1231f42..ed02574139fa95634209ef0a4c2c25455438bd27 100644 (file)
@@ -592,6 +592,37 @@ static const struct dmi_system_id power_limits[] = {
                        },
                },
        },
+       {
+               .matches = {
+                       DMI_MATCH(DMI_BOARD_NAME, "FA607NU"),
+               },
+               .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 = 25,
+                               .nv_temp_target_min = 75,
+                               .nv_temp_target_max = 87,
+                       },
+                       .dc_data = &(struct power_limits) {
+                               .ppt_pl1_spl_min = 25,
+                               .ppt_pl1_spl_def = 45,
+                               .ppt_pl1_spl_max = 65,
+                               .ppt_pl2_sppt_min = 25,
+                               .ppt_pl2_sppt_def = 54,
+                               .ppt_pl2_sppt_max = 65,
+                               .ppt_pl3_fppt_min = 25,
+                               .ppt_pl3_fppt_max = 65,
+                               .nv_temp_target_min = 75,
+                               .nv_temp_target_max = 87,
+                       },
+               },
+       },
        {
                .matches = {
                        DMI_MATCH(DMI_BOARD_NAME, "FA607P"),