]> git.ipfire.org Git - thirdparty/linux.git/commitdiff
platform/x86: asus-armoury: add support for FA507UV
authorDenis Benato <denis.benato@linux.dev>
Thu, 20 Nov 2025 02:54:13 +0000 (03:54 +0100)
committerIlpo Järvinen <ilpo.jarvinen@linux.intel.com>
Fri, 21 Nov 2025 15:29:18 +0000 (17:29 +0200)
Add TDP data for laptop mode FA507UV.

Signed-off-by: Denis Benato <denis.benato@linux.dev>
Link: https://patch.msgid.link/20251120025413.1686540-1-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 548c66c590a6004386fa0b5747f5ce8b6cd93b65..40fcd7c04b732bb06a425a4c1b6fc7acd33cf5a2 100644 (file)
@@ -408,6 +408,39 @@ static const struct dmi_system_id power_limits[] = {
                        },
                },
        },
+       {
+               .matches = {
+                       DMI_MATCH(DMI_BOARD_NAME, "FA507UV"),
+               },
+               .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,
+                               .nv_tgp_min = 55,
+                               .nv_tgp_max = 115,
+                       },
+                       .dc_data = &(struct power_limits) {
+                               .ppt_pl1_spl_min = 15,
+                               .ppt_pl1_spl_def = 45,
+                               .ppt_pl1_spl_max = 65,
+                               .ppt_pl2_sppt_min = 35,
+                               .ppt_pl2_sppt_def = 54,
+                               .ppt_pl2_sppt_max = 65,
+                               .ppt_pl3_fppt_min = 35,
+                               .ppt_pl3_fppt_max = 65,
+                               .nv_temp_target_min = 75,
+                               .nv_temp_target_max = 87,
+                       },
+               },
+       },
        {
                .matches = {
                        DMI_MATCH(DMI_BOARD_NAME, "FA507R"),