Add TDP data for laptop model FA401UM.
Unified · Split
| @@ -346,6 +346,35 @@ struct power_data { · 345 unmodified lines | |||
| 346 | * _def is not required and will be assumed to be default == max if missing. | 346 | * _def is not required and will be assumed to be default == max if missing. |
| 347 | */ | 347 | */ |
| 348 | static const struct dmi_system_id power_limits[] = { | 348 | 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 | }, | ||
| 349 | { | 378 | { |
| 350 | .matches = { | 379 | .matches = { |
| 351 | DMI_MATCH(DMI_BOARD_NAME, "FA401UV"), | 380 | DMI_MATCH(DMI_BOARD_NAME, "FA401UV"), |