asus-armoury: add support for GV302XV, FA401UV, FA617XT
cover asus-armoury: add support for GV302XV, FA401UV, FA617XT
Hi all,
This patch series adds support for three new Asus laptop models to the asus-armoury driver:
- GV302XV
- FA401UV
- FA617XT
Thanks,
Denis
Denis Benato (3):
platform/x86: asus-armoury: add support for GV302XV platform/x86: asus-armoury: add support for FA401UV platform/x86: asus-armoury: add support for FA617XT
drivers/platform/x86/asus-armoury.h | 77 +++++++++++++++++++++++++++++ 1 file changed, 77 insertions(+)
Signature · 1 line
2.52.0
PATCH 1/3 platform/x86: asus-armoury: add support for GV302XV
Add TDP data for laptop model GV302XV.
--- drivers/platform/x86/asus-armoury.h | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+)
drivers/platform/x86/asus-armoury.h +27 -0
@@ -1251,6 +1251,33 @@ static const struct dmi_system_id power_limits[] = { }, }, }, + { + .matches = { + DMI_MATCH(DMI_BOARD_NAME, "GV302XV"), + }, + .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, "GV601R"),
Signature · 1 line
2.52.0
PATCH 2/3 platform/x86: asus-armoury: add support for FA401UV
In reply to Denis BenatoAdd TDP data for laptop model FA401UV.
--- drivers/platform/x86/asus-armoury.h | 31 +++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+)
drivers/platform/x86/asus-armoury.h +31 -0
@@ -346,6 +346,37 @@ struct power_data {* _def is not required and will be assumed to be default == max if missing. */ static const struct dmi_system_id power_limits[] = { + { + .matches = { +DMI_MATCH (DMI_BOARD_NAME ,"FA401UV" ), + }, + .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 , + .nv_tgp_min =55 , + .nv_tgp_max =75 , + }, + .dc_data = &(struct power_limits ) { + .ppt_pl1_spl_min =25 , + .ppt_pl1_spl_max =35 , + .ppt_pl2_sppt_min =31 , + .ppt_pl2_sppt_max =44 , + .ppt_pl3_fppt_min =45 , + .ppt_pl3_fppt_max =65 , + .nv_temp_target_min =75 , + .nv_temp_target_max =87 , + }, + }, + }, { .matches = {DMI_MATCH (DMI_BOARD_NAME ,"FA401W" ),
Signature · 1 line
2.52.0
PATCH 3/3 platform/x86: asus-armoury: add support for FA617XT
In reply to Denis BenatoAdd TDP data for laptop model FA617XT.
--- drivers/platform/x86/asus-armoury.h | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+)
drivers/platform/x86/asus-armoury.h +19 -0
@@ -732,6 +732,25 @@ static const struct dmi_system_id power_limits[] = { }, }, }, + { + .matches = { + DMI_MATCH(DMI_BOARD_NAME, "FA617XT"), + }, + .driver_data = &(struct power_data ) { + .ac_data = &(struct power_limits ) { + .ppt_apu_sppt_min =15 , + .ppt_apu_sppt_max =80 , + .ppt_platform_sppt_min =30 , + .ppt_platform_sppt_max =145 , + }, + .dc_data = &(struct power_limits ) { + .ppt_apu_sppt_min =25 , + .ppt_apu_sppt_max =35 , + .ppt_platform_sppt_min =45 , + .ppt_platform_sppt_max =100 , + }, + }, + }, { .matches = { DMI_MATCH(DMI_BOARD_NAME, "FX507VI"),
Signature · 1 line
2.52.0
Ilpo Järvinen
maintainerQuoted 8 lines · Denis Benato
This patch series adds support for three new Asus laptop models to the asus-armoury driver:
- GV302XV
- FA401UV
- FA617XT[...]
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 GV302XV
commit: e11e3e801193d149d0e322e0764778477337d731
[2/3] platform/x86: asus-armoury: add support for FA401UV
commit: a06bb57b2e71d57c11054ba90b956c39210fcd67
[3/3] platform/x86: asus-armoury: add support for FA617XT
commit: 8ba4e0598d127f46f9ac74b8c54456a470ce685e--
i.