Add three more ASUS models to asus-armoury driver
cover Add three more ASUS models to asus-armoury driver
Hi all,
This patch series adds support for three more ASUS models to the asus-armoury driver:
the GV302XU, FA607NU, and GU605MU.
I have discovered that GU605MU model has configurable TGP that was not listed in the GU605M model, so I have added a specific metch for that model before the GU605M one, this way the for loop should attempt to match the GU605MU first and if it fails it will try to match the GU605M.
Cheers!
Denis Benato (3):
platform/x86: asus-armoury: add support for GV302XU platform/x86: asus-armoury: add support for FA607NU platform/x86: asus-armoury: add support for GU605MU
drivers/platform/x86/asus-armoury.h | 86 +++++++++++++++++++++++++++++ 1 file changed, 86 insertions(+)
Signature · 1 line
2.53.0
PATCH 1/3 platform/x86: asus-armoury: add support for GV302XU
Add TDP data for laptop model GV302XU.
--- drivers/platform/x86/asus-armoury.h | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+)
drivers/platform/x86/asus-armoury.h +27 -0
@@ -1404,6 +1404,33 @@ static const struct dmi_system_id power_limits[] = { }, }, }, + { + .matches = { + DMI_MATCH(DMI_BOARD_NAME, "GV302XU"), + }, + .driver_data = &(struct power_data ) { + .ac_data = &(struct power_limits ) { + .ppt_pl1_spl_min =15 , + .ppt_pl1_spl_max =55 , + .ppt_pl2_sppt_min =25 , + .ppt_pl2_sppt_max =60 , + .ppt_pl3_fppt_min =35 , + .ppt_pl3_fppt_max =65 , + .nv_temp_target_min =75 , + .nv_temp_target_max =87 , + }, + .dc_data = &(struct power_limits ) { + .ppt_pl1_spl_min =15 , + .ppt_pl1_spl_max =35 , + .ppt_pl2_sppt_min =25 , + .ppt_pl2_sppt_max =35 , + .ppt_pl3_fppt_min =35 , + .ppt_pl3_fppt_max =65 , + .nv_temp_target_min =75 , + .nv_temp_target_max =87 , + }, + }, + }, { .matches = { DMI_MATCH(DMI_BOARD_NAME, "GV302XV"),
Signature · 1 line
2.53.0
PATCH 2/3 platform/x86: asus-armoury: add support for FA607NU
In reply to Denis BenatoAdd TDP data for laptop model FA607NU.
--- drivers/platform/x86/asus-armoury.h | 31 +++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+)
drivers/platform/x86/asus-armoury.h +31 -0
@@ -592,6 +592,37 @@ static const struct dmi_system_id power_limits[] = { }, }, }, + { + .matches = { + DMI_MATCH(DMI_BOARD_NAME, "FA607NU"), + }, + .driver_data = &(struct power_data ) { + .ac_data = &(struct power_limits ) { + .ppt_pl1_spl_min =15 , + .ppt_pl1_spl_max =80 , + .ppt_pl2_sppt_min =35 , + .ppt_pl2_sppt_max =80 , + .ppt_pl3_fppt_min =35 , + .ppt_pl3_fppt_max =80 , + .nv_dynamic_boost_min =5 , + .nv_dynamic_boost_max =25 , + .nv_temp_target_min =75 , + .nv_temp_target_max =87 , + }, + .dc_data = &(struct power_limits ) { + .ppt_pl1_spl_min =25 , + .ppt_pl1_spl_def =45 , + .ppt_pl1_spl_max =65 , + .ppt_pl2_sppt_min =25 , + .ppt_pl2_sppt_def =54 , + .ppt_pl2_sppt_max =65 , + .ppt_pl3_fppt_min =25 , + .ppt_pl3_fppt_max =65 , + .nv_temp_target_min =75 , + .nv_temp_target_max =87 , + }, + }, + }, { .matches = { DMI_MATCH(DMI_BOARD_NAME, "FA607P"),
Signature · 1 line
2.53.0
PATCH 3/3 platform/x86: asus-armoury: add support for GU605MU
In reply to Denis BenatoAdd TDP data for laptop model GU605MU.
--- drivers/platform/x86/asus-armoury.h | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+)
drivers/platform/x86/asus-armoury.h +28 -0
@@ -1368,6 +1368,34 @@ static const struct dmi_system_id power_limits[] = { .requires_fan_curve = true, }, }, + { + .matches = { + DMI_MATCH(DMI_BOARD_NAME, "GU605MU"), + }, + .driver_data = &(struct power_data ) { + .ac_data = &(struct power_limits ) { + .ppt_pl1_spl_min =28 , + .ppt_pl1_spl_max =90 , + .ppt_pl2_sppt_min =28 , + .ppt_pl2_sppt_max =135 , + .nv_dynamic_boost_min =5 , + .nv_dynamic_boost_max =20 , + .nv_temp_target_min =75 , + .nv_temp_target_max =87 , + .nv_tgp_min =55 , + .nv_tgp_max =85 , + }, + .dc_data = &(struct power_limits ) { + .ppt_pl1_spl_min =25 , + .ppt_pl1_spl_max =35 , + .ppt_pl2_sppt_min =38 , + .ppt_pl2_sppt_max =53 , + .nv_temp_target_min =75 , + .nv_temp_target_max =87 , + }, + .requires_fan_curve = true, + }, + }, { .matches = { DMI_MATCH(DMI_BOARD_NAME, "GU605M"),
Signature · 1 line
2.53.0
Ilpo Järvinen
maintainerQuoted 9 lines · Denis Benato
This patch series adds support for three more ASUS models to the asus-armoury driver:
the GV302XU, FA607NU, and GU605MU.I have discovered that GU605MU model has configurable TGP that was not listed in the GU605M model, so I have added a specific metch for that model before the GU605M one, this way the for loop should attempt to match the GU605MU first and if it fails it will try to match the GU605M.
[...]
Thank you for your contribution, it has been applied to my local review-ilpo-fixes branch. Note it will show up in the public platform-drivers-x86/review-ilpo-fixes branch only once I've pushed my local branch there, which might take a while.
The list of commits applied:
[1/3] platform/x86: asus-armoury: add support for GV302XU
commit: 82cbae59263e3941a8bb79f0b25e0b0f085132d4
[2/3] platform/x86: asus-armoury: add support for FA607NU
commit: b4f04a6038fa97f7ceea33e99456b9838c79dde7
[3/3] platform/x86: asus-armoury: add support for GU605MU
commit: 5d486669b3db11ccc2d1b9f4e42c11c2766f35ba--
i.