Skip to contentSkip to conversation

platform/x86: asus-armoury: ppt data for two models

PATCH In review Denis Benato 2 participants 4 messages Feb 26 – Feb 27 x86 platform drivers

lore
Share & tools
lore
#0 lore raw

cover platform/x86: asus-armoury: ppt data for two models

Hi,

this patch series includes PPT data for two new models: GX650RX and FA401UM.

Cheers,
Denis

Denis Benato (2):
platform/x86: asus-armoury: add support for GX650RX platform/x86: asus-armoury: add support for FA401UM

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

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

Add TDP data for laptop model GX650RX.

---
 drivers/platform/x86/asus-armoury.h | 32 +++++++++++++++++++++++++++++
 1 file changed, 32 insertions(+)
drivers/platform/x86/asus-armoury.h +32 -0
index 001c011fdd56..f9d9136aec7b 100644
@@ -1457,6 +1457,38 @@ static const struct dmi_system_id power_limits[] = {
 			},
 		},
 	},
+	{
+		.matches = {
+			DMI_MATCH(DMI_BOARD_NAME, "GX650RX"),
+		},
+		.driver_data = &(struct power_data) {
+			.ac_data = &(struct power_limits) {
+				.ppt_pl1_spl_min = 28,
+				.ppt_pl1_spl_def = 70,
+				.ppt_pl1_spl_max = 90,
+				.ppt_pl2_sppt_min = 28,
+				.ppt_pl2_sppt_def = 70,
+				.ppt_pl2_sppt_max = 100,
+				.ppt_pl3_fppt_min = 28,
+				.ppt_pl3_fppt_def = 110,
+				.ppt_pl3_fppt_max = 125,
+				.nv_dynamic_boost_min = 5,
+				.nv_dynamic_boost_max = 25,
+				.nv_temp_target_min = 76,
+				.nv_temp_target_max = 87,
+			},
+			.dc_data = &(struct power_limits) {
+				.ppt_pl1_spl_min = 28,
+				.ppt_pl1_spl_max = 50,
+				.ppt_pl2_sppt_min = 28,
+				.ppt_pl2_sppt_max = 50,
+				.ppt_pl3_fppt_min = 28,
+				.ppt_pl3_fppt_max = 65,
+				.nv_temp_target_min = 76,
+				.nv_temp_target_max = 87,
+			},
+		},
+	},
 	{
 		.matches = {
 			DMI_MATCH(DMI_BOARD_NAME, "G513I"),
Signature · 1 line
2.53.0
#2 lore raw

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

In reply to Denis Benato

Add TDP data for laptop model FA401UM.

---
 drivers/platform/x86/asus-armoury.h | 29 +++++++++++++++++++++++++++++
 1 file changed, 29 insertions(+)
drivers/platform/x86/asus-armoury.h +29 -0
index f9d9136aec7b..208f6fe16168 100644
@@ -346,6 +346,35 @@ 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, "FA401UM"),
+		},
+		.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 = 15,
+				.nv_temp_target_min = 75,
+				.nv_temp_target_max = 87,
+			},
+			.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, "FA401UV"),
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 two new models: GX650RX and FA401UM.

Cheers,
Denis

Denis Benato (2):
platform/x86: asus-armoury: add support for GX650RX platform/x86: asus-armoury: add support for FA401UM

[...]

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 GX650RX

      commit: 622cc8d078e5d7586f0e40dd7aea515a946da48c
[2/2] platform/x86: asus-armoury: add support for FA401UM
      commit: c55b84fa567ed33bc651675bcaf8d53bd12d910a

--
i.