Skip to content

Commit c55b84f

Browse files
NeroReflexij-intel
authored andcommitted
platform/x86: asus-armoury: add support for FA401UM
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>
1 parent 622cc8d commit c55b84f

1 file changed

Lines changed: 29 additions & 0 deletions

File tree

drivers/platform/x86/asus-armoury.h

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -346,6 +346,35 @@ struct power_data {
346346
* _def is not required and will be assumed to be default == max if missing.
347347
*/
348348
static const struct dmi_system_id power_limits[] = {
349+
{
350+
.matches = {
351+
DMI_MATCH(DMI_BOARD_NAME, "FA401UM"),
352+
},
353+
.driver_data = &(struct power_data) {
354+
.ac_data = &(struct power_limits) {
355+
.ppt_pl1_spl_min = 15,
356+
.ppt_pl1_spl_max = 80,
357+
.ppt_pl2_sppt_min = 35,
358+
.ppt_pl2_sppt_max = 80,
359+
.ppt_pl3_fppt_min = 35,
360+
.ppt_pl3_fppt_max = 80,
361+
.nv_dynamic_boost_min = 5,
362+
.nv_dynamic_boost_max = 15,
363+
.nv_temp_target_min = 75,
364+
.nv_temp_target_max = 87,
365+
},
366+
.dc_data = &(struct power_limits) {
367+
.ppt_pl1_spl_min = 25,
368+
.ppt_pl1_spl_max = 35,
369+
.ppt_pl2_sppt_min = 31,
370+
.ppt_pl2_sppt_max = 44,
371+
.ppt_pl3_fppt_min = 45,
372+
.ppt_pl3_fppt_max = 65,
373+
.nv_temp_target_min = 75,
374+
.nv_temp_target_max = 87,
375+
},
376+
},
377+
},
349378
{
350379
.matches = {
351380
DMI_MATCH(DMI_BOARD_NAME, "FA401UV"),

0 commit comments

Comments
 (0)