platform/x86: asus-armoury: add support for HN7306EA and HN7306EAC
PATCH 1/1 platform/x86: asus-armoury: add support for HN7306EA and HN7306EAC
Add TDP data for laptop models HN7306EA and HN7306EAC.
Signed-off-by Flávio Barroso Neves <[email protected]>
--- drivers/platform/x86/asus-armoury.h | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+)
drivers/platform/x86/asus-armoury.h +29 -0
@@ -2322,6 +2322,35 @@ static const struct dmi_system_id power_limits[] = { }, }, }, + { + .matches = { + DMI_MATCH(DMI_BOARD_NAME, "HN7306EA"), + }, + .driver_data = &(struct power_data ) { + .ac_data = &(struct power_limits ) { + .ppt_pl1_spl_min =35 , + .ppt_pl1_spl_def =60 , + .ppt_pl1_spl_max =85 , + .ppt_pl2_sppt_min =40 , + .ppt_pl2_sppt_def =70 , + .ppt_pl2_sppt_max =95 , + .ppt_pl3_fppt_min =50 , + .ppt_pl3_fppt_def =85 , + .ppt_pl3_fppt_max =115 , + }, + .dc_data = &(struct power_limits ) { + .ppt_pl1_spl_min =35 , + .ppt_pl1_spl_def =45 , + .ppt_pl1_spl_max =60 , + .ppt_pl2_sppt_min =40 , + .ppt_pl2_sppt_def =55 , + .ppt_pl2_sppt_max =70 , + .ppt_pl3_fppt_min =50 , + .ppt_pl3_fppt_def =65 , + .ppt_pl3_fppt_max =85 , + }, + }, + }, { .matches = { DMI_MATCH(DMI_BOARD_NAME, "RC71"),
Signature · 1 line
2.55.0
Ilpo Järvinen
maintainerQuoted 1 line · Flávio Barroso Neves
Add TDP data for laptop models HN7306EA and HN7306EAC.
Thank you for your contribution, it has been applied to my local review-ilpo-next branch. Note it will show up in the public platform-drivers-x86/review-ilpo-next branch only once I've pushed my local branch there, which might take a while.
FYI [if applicable to your patch], as per Linus' policy change, also fixes are mostly routed through for-next unless the fix is for a commit introduced in the most recent cycle or is clearly a regression fix.
The list of commits applied:
[1/1] platform/x86: asus-armoury: add support for HN7306EA and HN7306EAC
commit: da57187dbbd5f491d825d91f5a22376eedd31510
--
i.