Skip to contentSkip to conversation

Add four more ASUS models to asus-armoury driver

PATCH In review Denis Benato 2 participants 6 messages May 17 – May 19 x86 platform drivers

lore
Share & tools
lore
#0 lore raw

cover Add four more ASUS models to asus-armoury driver

Hi all,

This patch series adds support for four more ASUS models to the asus-armoury driver:
the FA401EA, G614FR, GU605CP, and FX607VU.

Cheers!

Denis Benato (4):
platform/x86: asus-armoury: add support for FX607VU platform/x86: asus-armoury: add support for G614FR platform/x86: asus-armoury: add support for FA401EA platform/x86: asus-armoury: add support for GU605CP

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

PATCH 1/4 platform/x86: asus-armoury: add support for FX607VU

Add TDP data for laptop model FX607VU.

---
 drivers/platform/x86/asus-armoury.h | 27 +++++++++++++++++++++++++++
 1 file changed, 27 insertions(+)
drivers/platform/x86/asus-armoury.h +27 -0
index c30d2b451e01..bd394ef94264 100644
@@ -886,6 +886,33 @@ static const struct dmi_system_id power_limits[] = {
 			.requires_fan_curve = true,
 		},
 	},
+	{
+		.matches = {
+			DMI_MATCH(DMI_BOARD_NAME, "FX607VU"),
+		},
+		.driver_data = &(struct power_data) {
+			.ac_data = &(struct power_limits) {
+				.ppt_pl1_spl_min = 28,
+				.ppt_pl1_spl_def = 115,
+				.ppt_pl1_spl_max = 135,
+				.ppt_pl2_sppt_min = 28,
+				.ppt_pl2_sppt_max = 135,
+				.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_max = 45,
+				.ppt_pl2_sppt_min = 35,
+				.ppt_pl2_sppt_max = 60,
+				.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
#2 lore raw

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

In reply to Denis Benato

Add TDP data for laptop model G614FR.

---
 drivers/platform/x86/asus-armoury.h | 34 +++++++++++++++++++++++++++++
 1 file changed, 34 insertions(+)
drivers/platform/x86/asus-armoury.h +34 -0
index bd394ef94264..6c8f46d289d8 100644
@@ -1786,6 +1786,40 @@ static const struct dmi_system_id power_limits[] = {
 			.requires_fan_curve = true,
 		},
 	},
+	{
+		.matches = {
+			DMI_MATCH(DMI_BOARD_NAME, "G614FR"),
+		},
+		.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 = 162,
+				.ppt_pl3_fppt_min = 65,
+				.ppt_pl3_fppt_def = 140,
+				.ppt_pl3_fppt_max = 162,
+				.nv_temp_target_min = 75,
+				.nv_temp_target_max = 87,
+				.nv_dynamic_boost_min = 5,
+				.nv_dynamic_boost_max = 25,
+				.nv_tgp_min = 65,
+				.nv_tgp_max = 115,
+			},
+			.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.47.3
#3 lore raw

PATCH 3/4 platform/x86: asus-armoury: add support for FA401EA

In reply to Denis Benato

Add TDP data for laptop model FA401EA.

---
 drivers/platform/x86/asus-armoury.h | 23 +++++++++++++++++++++++
 1 file changed, 23 insertions(+)
drivers/platform/x86/asus-armoury.h +23 -0
index 6c8f46d289d8..71df2ca061a7 100644
@@ -346,6 +346,29 @@ 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, "FA401EA"),
+		},
+		.driver_data = &(struct power_data) {
+			.ac_data = &(struct power_limits) {
+				.ppt_pl1_spl_min = 15,
+				.ppt_pl1_spl_max = 95,
+				.ppt_pl2_sppt_min = 35,
+				.ppt_pl2_sppt_max = 100,
+				.ppt_pl3_fppt_min = 35,
+				.ppt_pl3_fppt_max = 115,
+			},
+			.dc_data = &(struct power_limits) {
+				.ppt_pl1_spl_min = 15,
+				.ppt_pl1_spl_max = 71,
+				.ppt_pl2_sppt_min = 35,
+				.ppt_pl2_sppt_max = 71,
+				.ppt_pl3_fppt_min = 35,
+				.ppt_pl3_fppt_max = 71,
+			},
+		},
+	},
 	{
 		.matches = {
 			DMI_MATCH(DMI_BOARD_NAME, "FA401UM"),
Signature · 1 line
2.47.3
#4 lore raw

PATCH 4/4 platform/x86: asus-armoury: add support for GU605CP

In reply to Denis Benato

Add TDP data for laptop model GU605CP.

---
 drivers/platform/x86/asus-armoury.h | 29 +++++++++++++++++++++++++++++
 1 file changed, 29 insertions(+)
drivers/platform/x86/asus-armoury.h +29 -0
index 71df2ca061a7..692978b61959 100644
@@ -1303,6 +1303,35 @@ static const struct dmi_system_id power_limits[] = {
 			},
 		},
 	},
+	{
+		.matches = {
+			DMI_MATCH(DMI_BOARD_NAME, "GU605CP"),
+		},
+		.driver_data = &(struct power_data) {
+			.ac_data = &(struct power_limits) {
+				.ppt_pl1_spl_min = 45,
+				.ppt_pl1_spl_max = 75,
+				.ppt_pl2_sppt_min = 56,
+				.ppt_pl2_sppt_max = 95,
+				.nv_dynamic_boost_min = 5,
+				.nv_dynamic_boost_max = 15,
+				.nv_temp_target_min = 75,
+				.nv_temp_target_max = 87,
+				.nv_tgp_min = 55,
+				.nv_tgp_def = 75,
+				.nv_tgp_max = 95,
+			},
+			.dc_data = &(struct power_limits) {
+				.ppt_pl1_spl_min = 25,
+				.ppt_pl1_spl_max = 75,
+				.ppt_pl2_sppt_min = 32,
+				.ppt_pl2_sppt_max = 95,
+				.nv_temp_target_min = 75,
+				.nv_temp_target_max = 87,
+			},
+			.requires_fan_curve = true,
+		},
+	},
 	{
 		.matches = {
 			DMI_MATCH(DMI_BOARD_NAME, "GU605CR"),
Signature · 1 line
2.47.3
maintainer
#5 lore raw
In reply to Denis Benato
Quoted 5 lines · Denis Benato

This patch series adds support for four more ASUS models to the asus-armoury driver:
the FA401EA, G614FR, GU605CP, and FX607VU.

Cheers!

Quoted 7 lines

Denis Benato (4):
platform/x86: asus-armoury: add support for FX607VU platform/x86: asus-armoury: add support for G614FR platform/x86: asus-armoury: add support for FA401EA platform/x86: asus-armoury: add support for GU605CP

[...]

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

      commit: 9ac7c8dc07af88f5169f217fec431c992b4eb550
[2/4] platform/x86: asus-armoury: add support for G614FR
      commit: 239c7acb9e3f73ada3ccce06302f6f3d2d89762d
[3/4] platform/x86: asus-armoury: add support for FA401EA
      commit: df1e0b209fa09676585402d5437ee190a424302b
[4/4] platform/x86: asus-armoury: add support for GU605CP
      commit: 841ff62aa5f85b13771b33e7b9c102cbaf87432f

--
i.