[PATCH] platform/x86: asus-armoury: Add power limits quirk for GA401IHR

Marco Scardovi posted 1 patch 1 month, 2 weeks ago
drivers/platform/x86/asus-armoury.h | 14 ++++++++++++++
1 file changed, 14 insertions(+)
[PATCH] platform/x86: asus-armoury: Add power limits quirk for GA401IHR
Posted by Marco Scardovi 1 month, 2 weeks ago
Add power limits quirk entry for ASUS ROG GA401IHR laptop.
The limits are extracted from the device's ThrottleGear XML
configuration file.

Signed-off-by: Marco Scardovi <scardracs@disroot.org>
---
 drivers/platform/x86/asus-armoury.h | 14 ++++++++++++++
 1 file changed, 14 insertions(+)

--- a/drivers/platform/x86/asus-armoury.h
+++ b/drivers/platform/x86/asus-armoury.h
@@ -966,6 +966,20 @@
 	},
 	{
 		.matches = {
+			DMI_MATCH(DMI_BOARD_NAME, "GA401IHR"),
+		},
+		.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,
+			},
+			.requires_fan_curve = true,
+		},
+	},
+	{
+		.matches = {
 			DMI_MATCH(DMI_BOARD_NAME, "GA401Q"),
 		},
 		.driver_data = &(struct power_data) {
-- 
2.55.0
Re: [PATCH] platform/x86: asus-armoury: Add power limits quirk for GA401IHR
Posted by Ilpo Järvinen 1 week, 6 days ago
On Tue, 11 Aug 2026 08:57:03 +0200, Marco Scardovi wrote:

> Add power limits quirk entry for ASUS ROG GA401IHR laptop.
> The limits are extracted from the device's ThrottleGear XML
> configuration file.

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.

FYI [if applicable to your patch], as per Linus' policy change, also
fixes are mostly routed through for-next unless the fix is for a
commit introduced in the most recent cycle or is clearly a regression
fix.

The list of commits applied:
[1/1] platform/x86: asus-armoury: Add power limits quirk for GA401IHR
      commit: f03ec815842c4593f0d743ae21b11bb399137668

--
 i.