History

platform/x86: asus-armoury: add support for FA401UM

Add TDP data for laptop model FA401UM.

Denis Benato committed 8 months ago

Commit c55b84f1 parent 622cc8d1 file · +29 −0Browse files

Unified · Split

drivers/platform/x86/asus-armoury.h+29−0
@@ -346,6 +346,35 @@ struct power_data { · 345 unmodified lines
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"),