Skip to contentSkip to conversation

platform/x86: asus-armoury: add power limits quirk for G713QR

PATCH Superseded Marco Scardovi 2 participants 8 messages Oct 16 – Oct 20 1 message not in the archive x86 platform drivers

v3 of 4 Superseded Latest is v4 →

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]

#1 lore raw

PATCH v3 1/6 platform/x86: asus-armoury: add power limits quirk for G713QR

Add a power limits quirk entry for the ASUS G713QR laptop. The limits are extracted from the device's ThrottleGear XML configuration.

---
drivers/platform/x86/asus-armoury.h | 13 changes(+/-)

 1 file changed, 13 insertions(+), 0 deletions(-)
drivers/platform/x86/asus-armoury.h +13 -0
@@ -1130,6 +1130,19 @@
 			.requires_fan_curve = true,
 		},
 	},
+		{
+			.matches = {
+				DMI_MATCH(DMI_BOARD_NAME, "G713QR"),
+			},
+			.driver_data = &(struct power_data) {
+				.ac_data = &(struct power_limits) {
+					.ppt_pl1_spl_max = 80,
+					.ppt_pl1_spl_min = 15,
+					.ppt_pl2_sppt_max = 80,
+					.ppt_pl2_sppt_min = 15,
+				},
+			},
+		},
 	{
 		.matches = {
 			DMI_MATCH(DMI_BOARD_NAME, "GA401IHR"),
Signature · 1 line
2.56.0
#2 lore raw

In data venerdì 16 ottobre 2026 15:03:37 Ora legale dell’Europa centrale, Marco Scardovi ha scritto:

Quoted 11 lines

Add a power limits quirk entry for the ASUS G713QR laptop. The limits are extracted from the device's ThrottleGear XML configuration.

---
drivers/platform/x86/asus-armoury.h | 13 changes(+/-)

 1 file changed, 13 insertions(+), 0 deletions(-)

drivers/platform/x86/asus-armoury.h line 1135

Quoted 6 lines
drivers/platform/x86/asus-armoury.h +3 -0
@@ -1130,6 +1130,19 @@
 			.requires_fan_curve = true,
 		},
 	},
+		{
+			.matches = {
+				DMI_MATCH(DMI_BOARD_NAME, 

"G713QR"),

drivers/platform/x86/asus-armoury.h

Quoted 3 lines
drivers/platform/x86/asus-armoury.h +3 -0
+			},
+			.driver_data = &(struct power_data) {
+				.ac_data = &(struct power_limits) 

{

drivers/platform/x86/asus-armoury.h line 1148

Quoted 10 lines
drivers/platform/x86/asus-armoury.h +7 -0
+					.ppt_pl1_spl_max = 80,
+					.ppt_pl1_spl_min = 15,
+					.ppt_pl2_sppt_max = 80,
+					.ppt_pl2_sppt_min = 15,
+				},
+			},
+		},
 	{
 		.matches = {
 			DMI_MATCH(DMI_BOARD_NAME, "GA401IHR"),

I don't really get why git 2.56 refuses to send the cover letter: I've never had this problem before...

"From: Marco Scardovi <[email protected]>
Date: Fri, 16 Oct 2026 14:57:05 +0200
Subject: [PATCH v3 0/6] platform/x86: asus-armoury: add/update power limits quirks

Hi Ilpo,
sent the v3 because in the meantime I found how to pick up the missing nv_tgp_{minx,max} from the ThrottleGear file. They are all encrypted so it took a bit of time figuring it out.

This series adds power limits quirk entries for ASUS laptops. The limits are extracted from each device's ThrottleGear XML configuration.

Changes in v3:
- FA608PM, FA608UH, and FA608UP now include nv_tgp_min/max derived from AC_Config.TGP and TGPItem Level* offsets (missing in v2).

Changes in v2 [1]:
- Corrected english grammar

Changes in v1 [2]:
- First release

[1] https://lore.kernel.org/all/[email protected]/
[2] https://lore.kernel.org/all/[email protected]/

Signature · 1 line
2.56.0"
maintainer
#3 lore raw
In reply to Marco Scardovi
Quoted 11 lines · Marco Scardovi

Add a power limits quirk entry for the ASUS G713QR laptop. The limits are extracted from the device's ThrottleGear XML configuration.

---
drivers/platform/x86/asus-armoury.h | 13 changes(+/-)

 1 file changed, 13 insertions(+), 0 deletions(-)

drivers/platform/x86/asus-armoury.h line 1136

Quoted 7 lines
drivers/platform/x86/asus-armoury.h +4 -0
@@ -1130,6 +1130,19 @@
 			.requires_fan_curve = true,
 		},
 	},
+		{
+			.matches = {
+				DMI_MATCH(DMI_BOARD_NAME, "G713QR"),
+			},

The indentation seems off by one tab in all these patches.

Quoted 13 lines
drivers/platform/x86/asus-armoury.h +9 -0
+			.driver_data = &(struct power_data) {
+				.ac_data = &(struct power_limits) {
+					.ppt_pl1_spl_max = 80,
+					.ppt_pl1_spl_min = 15,
+					.ppt_pl2_sppt_max = 80,
+					.ppt_pl2_sppt_min = 15,
+				},
+			},
+		},
 	{
 		.matches = {
 			DMI_MATCH(DMI_BOARD_NAME, "GA401IHR"),
Signature · 1 line
 i.
#4 lore raw

PATCH v3 2/6 platform/x86: asus-armoury: add power limits quirk for FA608PM

In reply to a message not in the archive

Add a power limits quirk entry for the ASUS FA608PM laptop. The limits are extracted from the device's ThrottleGear XML configuration.

---
drivers/platform/x86/asus-armoury.h | 31 changes(+/-)

 1 file changed, 31 insertions(+), 0 deletions(-)
drivers/platform/x86/asus-armoury.h +31 -0
@@ -787,6 +787,37 @@
 			},
 		},
 	},
+		{
+			.matches = {
+				DMI_MATCH(DMI_BOARD_NAME, "FA608PM"),
+			},
+			.driver_data = &(struct power_data) {
+				.ac_data = &(struct power_limits) {
+					.nv_dynamic_boost_max = 15,
+					.nv_dynamic_boost_min = 10,
+					.nv_temp_target_max = 87,
+					.nv_temp_target_min = 75,
+					.nv_tgp_max = 100,
+					.nv_tgp_min = 55,
+					.ppt_pl1_spl_max = 100,
+					.ppt_pl1_spl_min = 45,
+					.ppt_pl2_sppt_max = 115,
+					.ppt_pl2_sppt_min = 60,
+					.ppt_pl3_fppt_max = 135,
+					.ppt_pl3_fppt_min = 80,
+				},
+				.dc_data = &(struct power_limits) {
+					.nv_temp_target_max = 87,
+					.nv_temp_target_min = 75,
+					.ppt_pl1_spl_max = 68,
+					.ppt_pl1_spl_min = 35,
+					.ppt_pl2_sppt_max = 71,
+					.ppt_pl2_sppt_min = 36,
+					.ppt_pl3_fppt_max = 74,
+					.ppt_pl3_fppt_min = 70,
+				},
+			},
+		},
 	{
 		.matches = {
 			DMI_MATCH(DMI_BOARD_NAME, "FA608UM"),
Signature · 1 line
2.56.0
#5 lore raw

PATCH v3 3/6 platform/x86: asus-armoury: add power limits quirk for FA608UH

In reply to a message not in the archive

Add a power limits quirk entry for the ASUS FA608UH laptop. The limits are extracted from the device's ThrottleGear XML configuration.

---
drivers/platform/x86/asus-armoury.h | 33 changes(+/-)

 1 file changed, 33 insertions(+), 0 deletions(-)
drivers/platform/x86/asus-armoury.h +33 -0
@@ -818,6 +818,39 @@
 				},
 			},
 		},
+		{
+			.matches = {
+				DMI_MATCH(DMI_BOARD_NAME, "FA608UH"),
+			},
+			.driver_data = &(struct power_data) {
+				.ac_data = &(struct power_limits) {
+					.nv_dynamic_boost_max = 15,
+					.nv_dynamic_boost_min = 10,
+					.nv_temp_target_max = 87,
+					.nv_temp_target_min = 75,
+					.nv_tgp_max = 100,
+					.nv_tgp_min = 55,
+					.ppt_pl1_spl_max = 90,
+					.ppt_pl1_spl_min = 15,
+					.ppt_pl2_sppt_max = 90,
+					.ppt_pl2_sppt_min = 35,
+					.ppt_pl3_fppt_max = 90,
+					.ppt_pl3_fppt_min = 35,
+				},
+				.dc_data = &(struct power_limits) {
+					.nv_temp_target_max = 87,
+					.nv_temp_target_min = 75,
+					.ppt_pl1_spl_def = 45,
+					.ppt_pl1_spl_max = 65,
+					.ppt_pl1_spl_min = 15,
+					.ppt_pl2_sppt_def = 54,
+					.ppt_pl2_sppt_max = 65,
+					.ppt_pl2_sppt_min = 35,
+					.ppt_pl3_fppt_max = 65,
+					.ppt_pl3_fppt_min = 35,
+				},
+			},
+		},
 	{
 		.matches = {
 			DMI_MATCH(DMI_BOARD_NAME, "FA608UM"),
Signature · 1 line
2.56.0
#6 lore raw

PATCH v3 4/6 platform/x86: asus-armoury: add power limits quirk for FA608UP

In reply to a message not in the archive

Add a power limits quirk entry for the ASUS FA608UP laptop. The limits are extracted from the device's ThrottleGear XML configuration.

---
drivers/platform/x86/asus-armoury.h | 33 changes(+/-)

 1 file changed, 33 insertions(+), 0 deletions(-)
drivers/platform/x86/asus-armoury.h +33 -0
@@ -887,6 +887,39 @@
 			},
 		},
 	},
+		{
+			.matches = {
+				DMI_MATCH(DMI_BOARD_NAME, "FA608UP"),
+			},
+			.driver_data = &(struct power_data) {
+				.ac_data = &(struct power_limits) {
+					.nv_dynamic_boost_max = 15,
+					.nv_dynamic_boost_min = 10,
+					.nv_temp_target_max = 87,
+					.nv_temp_target_min = 75,
+					.nv_tgp_max = 100,
+					.nv_tgp_min = 55,
+					.ppt_pl1_spl_max = 90,
+					.ppt_pl1_spl_min = 15,
+					.ppt_pl2_sppt_max = 90,
+					.ppt_pl2_sppt_min = 35,
+					.ppt_pl3_fppt_max = 90,
+					.ppt_pl3_fppt_min = 35,
+				},
+				.dc_data = &(struct power_limits) {
+					.nv_temp_target_max = 87,
+					.nv_temp_target_min = 75,
+					.ppt_pl1_spl_def = 45,
+					.ppt_pl1_spl_max = 65,
+					.ppt_pl1_spl_min = 15,
+					.ppt_pl2_sppt_def = 54,
+					.ppt_pl2_sppt_max = 65,
+					.ppt_pl2_sppt_min = 35,
+					.ppt_pl3_fppt_max = 65,
+					.ppt_pl3_fppt_min = 35,
+				},
+			},
+		},
 	{
 		.matches = {
 			DMI_MATCH(DMI_BOARD_NAME, "FA608WI"),
Signature · 1 line
2.56.0
#7 lore raw

PATCH v3 5/6 platform/x86: asus-armoury: add power limits quirk for GA402NV

In reply to a message not in the archive

Add a power limits quirk entry for the ASUS GA402NV laptop. The limits are extracted from the device's ThrottleGear XML configuration.

---
drivers/platform/x86/asus-armoury.h | 31 changes(+/-)

 1 file changed, 31 insertions(+), 0 deletions(-)
drivers/platform/x86/asus-armoury.h +31 -0
@@ -1300,6 +1300,37 @@
 			},
 		},
 	},
+		{
+			.matches = {
+				DMI_MATCH(DMI_BOARD_NAME, "GA402NV"),
+			},
+			.driver_data = &(struct power_data) {
+				.ac_data = &(struct power_limits) {
+					.nv_dynamic_boost_max = 25,
+					.nv_dynamic_boost_min = 5,
+					.nv_temp_target_max = 87,
+					.nv_temp_target_min = 75,
+					.ppt_pl1_spl_def = 35,
+					.ppt_pl1_spl_max = 80,
+					.ppt_pl1_spl_min = 15,
+					.ppt_pl2_sppt_def = 65,
+					.ppt_pl2_sppt_max = 80,
+					.ppt_pl2_sppt_min = 25,
+					.ppt_pl3_fppt_max = 80,
+					.ppt_pl3_fppt_min = 35,
+				},
+				.dc_data = &(struct power_limits) {
+					.nv_temp_target_max = 87,
+					.nv_temp_target_min = 75,
+					.ppt_pl1_spl_max = 35,
+					.ppt_pl1_spl_min = 15,
+					.ppt_pl2_sppt_max = 35,
+					.ppt_pl2_sppt_min = 25,
+					.ppt_pl3_fppt_max = 65,
+					.ppt_pl3_fppt_min = 35,
+				},
+			},
+		},
 	{
 		.matches = {
 			// This model is full AMD. No Nvidia dGPU.
Signature · 1 line
2.56.0
#8 lore raw

PATCH v3 6/6 platform/x86: asus-armoury: add power limits quirk for G533QS

In reply to a message not in the archive

Add a power limits quirk entry for the ASUS G533QS laptop. The limits are extracted from the device's ThrottleGear XML configuration.

---
drivers/platform/x86/asus-armoury.h | 13 changes(+/-)

 1 file changed, 13 insertions(+), 0 deletions(-)
drivers/platform/x86/asus-armoury.h +13 -0
@@ -1229,6 +1229,19 @@
 	},
 		{
 			.matches = {
+				DMI_MATCH(DMI_BOARD_NAME, "G533QS"),
+			},
+			.driver_data = &(struct power_data) {
+				.ac_data = &(struct power_limits) {
+					.ppt_pl1_spl_max = 80,
+					.ppt_pl1_spl_min = 15,
+					.ppt_pl2_sppt_max = 80,
+					.ppt_pl2_sppt_min = 15,
+				},
+			},
+		},
+		{
+			.matches = {
 				DMI_MATCH(DMI_BOARD_NAME, "G713QR"),
 			},
 			.driver_data = &(struct power_data) {
Signature · 1 line
2.56.0