Skip to content

Commit df1e0b2

Browse files
NeroReflexij-intel
authored andcommitted
platform/x86: asus-armoury: add support for FA401EA
Add TDP data for laptop model FA401EA. Signed-off-by: Denis Benato <denis.benato@linux.dev> Link: https://patch.msgid.link/20260517220005.4594-4-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 239c7ac commit df1e0b2

1 file changed

Lines changed: 23 additions & 0 deletions

File tree

drivers/platform/x86/asus-armoury.h

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -346,6 +346,29 @@ 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, "FA401EA"),
352+
},
353+
.driver_data = &(struct power_data) {
354+
.ac_data = &(struct power_limits) {
355+
.ppt_pl1_spl_min = 15,
356+
.ppt_pl1_spl_max = 95,
357+
.ppt_pl2_sppt_min = 35,
358+
.ppt_pl2_sppt_max = 100,
359+
.ppt_pl3_fppt_min = 35,
360+
.ppt_pl3_fppt_max = 115,
361+
},
362+
.dc_data = &(struct power_limits) {
363+
.ppt_pl1_spl_min = 15,
364+
.ppt_pl1_spl_max = 71,
365+
.ppt_pl2_sppt_min = 35,
366+
.ppt_pl2_sppt_max = 71,
367+
.ppt_pl3_fppt_min = 35,
368+
.ppt_pl3_fppt_max = 71,
369+
},
370+
},
371+
},
349372
{
350373
.matches = {
351374
DMI_MATCH(DMI_BOARD_NAME, "FA401UM"),

0 commit comments

Comments
 (0)