Skip to contentSkip to conversation

platform/x86: asus-armoury: add more ppt data

PATCH In review Denis Benato 2 participants 4 messages Mar 9 – Mar 17 x86 platform drivers

lore
Share & tools
lore
#0 lore raw

cover platform/x86: asus-armoury: add more ppt data

Hi all,

this patch series includes PPT data for the models: GA503QM and G614FP.

Cheers,
Denis

Denis Benato (2):
platform/x86: asus-armoury: add support for GA503QM platform/x86: asus-armoury: add support for G614FP

 drivers/platform/x86/asus-armoury.h | 48 +++++++++++++++++++++++++++++
 1 file changed, 48 insertions(+)
Signature · 1 line
2.53.0
#1 lore raw

PATCH 1/2 platform/x86: asus-armoury: add support for GA503QM

Add TDP data for laptop model GA503QM.

---
 drivers/platform/x86/asus-armoury.h | 14 ++++++++++++++
 1 file changed, 14 insertions(+)
drivers/platform/x86/asus-armoury.h +14 -0
index 6e9703bd5017..6565dd4c36c5 100644
@@ -1051,6 +1051,20 @@ static const struct dmi_system_id power_limits[] = {
 			.requires_fan_curve = true,
 		},
 	},
+	{
+		.matches = {
+			DMI_MATCH(DMI_BOARD_NAME, "GA503QM"),
+		},
+		.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 = 65,
+				.ppt_pl2_sppt_max = 80,
+			},
+		},
+	},
 	{
 		.matches = {
 			DMI_MATCH(DMI_BOARD_NAME, "GA503QR"),
Signature · 1 line
2.53.0
#2 lore raw

PATCH 2/2 platform/x86: asus-armoury: add support for G614FP

In reply to Denis Benato

Add TDP data for laptop model G614FP.

---
 drivers/platform/x86/asus-armoury.h | 34 +++++++++++++++++++++++++++++
 1 file changed, 34 insertions(+)
drivers/platform/x86/asus-armoury.h +34 -0
index 6565dd4c36c5..500097e465fd 100644
@@ -1549,6 +1549,40 @@ static const struct dmi_system_id power_limits[] = {
 			.requires_fan_curve = true,
 		},
 	},
+	{
+		.matches = {
+			DMI_MATCH(DMI_BOARD_NAME, "G614FP"),
+		},
+		.driver_data = &(struct power_data) {
+			.ac_data = &(struct power_limits) {
+				.ppt_pl1_spl_min = 30,
+				.ppt_pl1_spl_max = 120,
+				.ppt_pl2_sppt_min = 65,
+				.ppt_pl2_sppt_def = 140,
+				.ppt_pl2_sppt_max = 165,
+				.ppt_pl3_fppt_min = 65,
+				.ppt_pl3_fppt_def = 140,
+				.ppt_pl3_fppt_max = 165,
+				.nv_temp_target_min = 75,
+				.nv_temp_target_max = 87,
+				.nv_dynamic_boost_min = 5,
+				.nv_dynamic_boost_max = 15,
+				.nv_tgp_min = 50,
+				.nv_tgp_max = 100,
+			},
+			.dc_data = &(struct power_limits) {
+				.ppt_pl1_spl_min = 25,
+				.ppt_pl1_spl_max = 65,
+				.ppt_pl2_sppt_min = 25,
+				.ppt_pl2_sppt_max = 65,
+				.ppt_pl3_fppt_min = 35,
+				.ppt_pl3_fppt_max = 75,
+				.nv_temp_target_min = 75,
+				.nv_temp_target_max = 87,
+			},
+			.requires_fan_curve = true,
+		},
+	},
 	{
 		.matches = {
 			DMI_MATCH(DMI_BOARD_NAME, "G614J"),
Signature · 1 line
2.53.0
maintainer
#3 lore raw
In reply to Denis Benato
Quoted 10 lines · Denis Benato

this patch series includes PPT data for the models: GA503QM and G614FP.

Cheers,
Denis

Denis Benato (2):
platform/x86: asus-armoury: add support for GA503QM platform/x86: asus-armoury: add support for G614FP

[...]

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/2] platform/x86: asus-armoury: add support for GA503QM

      commit: 229a45dc893a1acbdd9083341db60d2e7d1bcef2
[2/2] platform/x86: asus-armoury: add support for G614FP
      commit: 94fcbfa9ddcb70d6aa59ed84f5d25c45ffc994b5

--
i.