platform/x86: asus-armoury: more ppt data
v2 cover platform/x86: asus-armoury: more ppt data
Hi all,
This patch series adds support for three more ASUS models to the asus-armoury driver:
the GA402NJ, GA403UM, and FX608JPR.
Cheers!
Changelog:
- v1
- Initial submission
- v2
- Fix order of FX608JPR
Denis Benato (3):
platform/x86: asus-armoury: add support for GA402NJ platform/x86: asus-armoury: add support for GA403UM platform/x86: asus-armoury: add support for FX608JPR
drivers/platform/x86/asus-armoury.h | 92 +++++++++++++++++++++++++++++ 1 file changed, 92 insertions(+)
Signature · 1 line
2.47.3
PATCH v2 1/3 platform/x86: asus-armoury: add support for GA402NJ
Add TDP data for laptop model GA402NJ.
--- drivers/platform/x86/asus-armoury.h | 32 +++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+)
drivers/platform/x86/asus-armoury.h +32 -0
@@ -950,6 +950,38 @@ static const struct dmi_system_id power_limits[] = { .dc_data = NULL, }, }, + { + .matches = { + DMI_MATCH(DMI_BOARD_NAME, "GA402NJ"), + }, + .driver_data = &(struct power_data ) { + .ac_data = &(struct power_limits ) { + .ppt_pl1_spl_min =15 , + .ppt_pl1_spl_def =35 , + .ppt_pl1_spl_max =80 , + .ppt_pl2_sppt_min =25 , + .ppt_pl2_sppt_def =65 , + .ppt_pl2_sppt_max =80 , + .ppt_pl3_fppt_min =35 , + .ppt_pl3_fppt_max =80 , + .nv_temp_target_min =75 , + .nv_temp_target_max =87 , + .nv_dynamic_boost_min =5 , + .nv_dynamic_boost_def =10 , + .nv_dynamic_boost_max =15 , + }, + .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 = {// This model is full AMD. No Nvidia dGPU.
Signature · 1 line
2.47.3
PATCH v2 2/3 platform/x86: asus-armoury: add support for GA403UM
In reply to Denis BenatoAdd TDP data for laptop model GA403UM.
--- drivers/platform/x86/asus-armoury.h | 32 +++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+)
drivers/platform/x86/asus-armoury.h +32 -0
@@ -1065,6 +1065,38 @@ static const struct dmi_system_id power_limits[] = { .requires_fan_curve = true, }, }, + { + .matches = { + DMI_MATCH(DMI_BOARD_NAME, "GA403UM"), + }, + .driver_data = &(struct power_data ) { + .ac_data = &(struct power_limits ) { + .ppt_pl1_spl_min =15 , + .ppt_pl1_spl_max =80 , + .ppt_pl2_sppt_min =25 , + .ppt_pl2_sppt_max =80 , + .ppt_pl3_fppt_min =35 , + .ppt_pl3_fppt_max =80 , + .nv_dynamic_boost_min =0 , + .nv_dynamic_boost_max =15 , + .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 =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 , + }, + .requires_fan_curve = true, + }, + }, { .matches = { DMI_MATCH(DMI_BOARD_NAME, "GA403UV"),
Signature · 1 line
2.47.3
PATCH v2 3/3 platform/x86: asus-armoury: add support for FX608JPR
In reply to Denis BenatoAdd TDP data for laptop model FX608JPR.
--- drivers/platform/x86/asus-armoury.h | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+)
drivers/platform/x86/asus-armoury.h +28 -0
@@ -936,6 +936,34 @@ static const struct dmi_system_id power_limits[] = { .requires_fan_curve = true, }, }, + { + .matches = { + DMI_MATCH(DMI_BOARD_NAME, "FX608JPR"), + }, + .driver_data = &(struct power_data ) { + .ac_data = &(struct power_limits ) { + .ppt_pl1_spl_min =28 , + .ppt_pl1_spl_max =100 , + .ppt_pl2_sppt_min =28 , + .ppt_pl2_sppt_max =135 , + .nv_dynamic_boost_min =10 , + .nv_dynamic_boost_max =15 , + .nv_temp_target_min =75 , + .nv_temp_target_max =87 , + .nv_tgp_min =55 , + .nv_tgp_max =100 , + }, + .dc_data = &(struct power_limits ) { + .ppt_pl1_spl_min =25 , + .ppt_pl1_spl_max =53 , + .ppt_pl2_sppt_min =25 , + .ppt_pl2_sppt_max =65 , + .nv_temp_target_min =75 , + .nv_temp_target_max =87 , + }, + .requires_fan_curve = true, + }, + }, { .matches = { DMI_MATCH(DMI_BOARD_NAME, "GA401Q"),
Signature · 1 line
2.47.3
Ilpo Järvinen
maintainerQuoted 5 lines · Denis Benato
This patch series adds support for three more ASUS models to the asus-armoury driver:
the GA402NJ, GA403UM, and FX608JPR.Cheers!
Quoted 7 lines
Changelog:
- v1
- Initial submission
- v2
- Fix order of FX608JPR[...]
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.
The list of commits applied:
[1/3] platform/x86: asus-armoury: add support for GA402NJ
commit: 0b38a42bf59fc3ba97dd6f02bfc257dffa0e1d6d
[2/3] platform/x86: asus-armoury: add support for GA403UM
commit: a0bb64f3170adccb5780cf8778e601392d94f244
[3/3] platform/x86: asus-armoury: add support for FX608JPR
commit: 72dd918bbe008d64a2c2352bdf14671f1ac068c7--
i.