public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] platform/x86: asus-armoury: Add power limits for Asus G513QY
@ 2026-01-09  5:50 Shresth Sarthak Awasthi
  2026-01-09 13:05 ` [PATCH v2] " Shresth Sarthak Awasthi
  0 siblings, 1 reply; 3+ messages in thread
From: Shresth Sarthak Awasthi @ 2026-01-09  5:50 UTC (permalink / raw)
  To: hansg, ilpo.jarvinen
  Cc: platform-driver-x86, linux-kernel, Shresth Sarthak Awasthi

Add the DMI entry and power limits for the Asus ROG Strix G15
Advantage Edition (G513QY). This laptop requires manual fan curves
and specific APU/Platform PPT limits.

Signed-off-by: Shresth Sarthak Awasthi <bengdeeba@gmail.com>
---
 drivers/platform/x86/asus-armoury.h | 16 ++++++++++++++++
 1 file changed, 16 insertions(+)

diff --git a/drivers/platform/x86/asus-armoury.h b/drivers/platform/x86/asus-armoury.h
index 3ac7aea37838..c94da70de87f 100644
--- a/drivers/platform/x86/asus-armoury.h
+++ b/drivers/platform/x86/asus-armoury.h
@@ -1316,6 +1316,22 @@ static const struct dmi_system_id power_limits[] = {
 			.requires_fan_curve = true,
 		},
 	},
+	{
+		.matches = {
+			DMI_MATCH(DMI_BOARD_NAME, "G513QY"),
+		},
+		.driver_data = &(struct power_data) {
+			.ac_data = &(struct power_limits) {
+				/* Advantage Edition Laptop, no PL1 or PL2 limits */
+				.ppt_apu_sppt_min = 15,
+				.ppt_apu_sppt_max = 100,
+				.ppt_platform_sppt_min = 190,
+				.ppt_platform_sppt_max = 190,
+			},
+			.dc_data = NULL,
+			.requires_fan_curve = true,
+		},
+	},
 	{
 		.matches = {
 			DMI_MATCH(DMI_BOARD_NAME, "G513R"),
-- 
2.52.0


^ permalink raw reply related	[flat|nested] 3+ messages in thread

* [PATCH v2] platform/x86: asus-armoury: Add power limits for Asus G513QY
  2026-01-09  5:50 [PATCH] platform/x86: asus-armoury: Add power limits for Asus G513QY Shresth Sarthak Awasthi
@ 2026-01-09 13:05 ` Shresth Sarthak Awasthi
  2026-01-15 14:27   ` Ilpo Järvinen
  0 siblings, 1 reply; 3+ messages in thread
From: Shresth Sarthak Awasthi @ 2026-01-09 13:05 UTC (permalink / raw)
  To: hansg, ilpo.jarvinen
  Cc: platform-driver-x86, linux-kernel, Shresth Sarthak Awasthi

Add the DMI entry and power limits for the Asus ROG Strix G15
Advantage Edition (G513QY). This laptop requires manual fan curves
and specific APU/Platform PPT limits.

Signed-off-by: Shresth Sarthak Awasthi <bengdeeba@gmail.com>
---
Changes in v2:
 - Fixed typo in ppt_platform_sppt_min (changed 190 to 70).

 drivers/platform/x86/asus-armoury.h | 16 ++++++++++++++++
 1 file changed, 16 insertions(+)

diff --git a/drivers/platform/x86/asus-armoury.h b/drivers/platform/x86/asus-armoury.h
index 3ac7aea37838..6f2c18a2d93d 100644
--- a/drivers/platform/x86/asus-armoury.h
+++ b/drivers/platform/x86/asus-armoury.h
@@ -1316,6 +1316,22 @@ static const struct dmi_system_id power_limits[] = {
 			.requires_fan_curve = true,
 		},
 	},
+	{
+		.matches = {
+			DMI_MATCH(DMI_BOARD_NAME, "G513QY"),
+		},
+		.driver_data = &(struct power_data) {
+			.ac_data = &(struct power_limits) {
+				/* Advantage Edition Laptop, no PL1 or PL2 limits */
+				.ppt_apu_sppt_min = 15,
+				.ppt_apu_sppt_max = 100,
+				.ppt_platform_sppt_min = 70,
+				.ppt_platform_sppt_max = 190,
+			},
+			.dc_data = NULL,
+			.requires_fan_curve = true,
+		},
+	},
 	{
 		.matches = {
 			DMI_MATCH(DMI_BOARD_NAME, "G513R"),
-- 
2.52.0


^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [PATCH v2] platform/x86: asus-armoury: Add power limits for Asus G513QY
  2026-01-09 13:05 ` [PATCH v2] " Shresth Sarthak Awasthi
@ 2026-01-15 14:27   ` Ilpo Järvinen
  0 siblings, 0 replies; 3+ messages in thread
From: Ilpo Järvinen @ 2026-01-15 14:27 UTC (permalink / raw)
  To: hansg, Shresth Sarthak Awasthi; +Cc: platform-driver-x86, linux-kernel

On Fri, 09 Jan 2026 18:35:57 +0530, Shresth Sarthak Awasthi wrote:

> Add the DMI entry and power limits for the Asus ROG Strix G15
> Advantage Edition (G513QY). This laptop requires manual fan curves
> and specific APU/Platform PPT limits.
> 
> 


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/1] platform/x86: asus-armoury: Add power limits for Asus G513QY
      commit: 2e91919a67953609d34786807697410a6ffb760e

--
 i.


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2026-01-15 14:27 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-01-09  5:50 [PATCH] platform/x86: asus-armoury: Add power limits for Asus G513QY Shresth Sarthak Awasthi
2026-01-09 13:05 ` [PATCH v2] " Shresth Sarthak Awasthi
2026-01-15 14:27   ` Ilpo Järvinen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox