mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Denis Benato <denis.benato@linux.dev>
To: linux-kernel@vger.kernel.org
Cc: platform-driver-x86@vger.kernel.org,
	"Hans de Goede" <hansg@kernel.org>,
	"Ilpo Järvinen" <ilpo.jarvinen@linux.intel.com>,
	"Luke D . Jones" <luke@ljones.dev>,
	"Mateusz Schyboll" <dragonn@op.pl>,
	"Denis Benato" <benato.denis96@gmail.com>,
	Cymirk <Cymirk@icloud.com>,
	"Denis Benato" <denis.benato@linux.dev>
Subject: [PATCH] platform/x86: asus-armoury: add support for GX651AR
Date: Thu, 10 Sep 2026 20:50:32 +0000	[thread overview]
Message-ID: <20260910205032.153165-1-denis.benato@linux.dev> (raw)

From: Cymirk <Cymirk@icloud.com>

Add power limit data for the ASUS ROG Zephyrus Duo GX651AR.

The GX651AR uses the following limits:
- CPU PL1: 30-75 W
- CPU PL2: 38-80 W
- NVIDIA Dynamic Boost: 5-25 W
- NVIDIA TGP: 80-115 W
- NVIDIA temperature target: 75-87 C

The same CPU limits and temperature target are available on DC power.

Signed-off-by: Cymirk <Cymirk@icloud.com>
Signed-off-by: Denis Benato <denis.benato@linux.dev>
---
 drivers/platform/x86/asus-armoury.h | 27 +++++++++++++++++++++++++++
 1 file changed, 27 insertions(+)

diff --git a/drivers/platform/x86/asus-armoury.h b/drivers/platform/x86/asus-armoury.h
index 0e301d663d0c..44ea9519560d 100644
--- a/drivers/platform/x86/asus-armoury.h
+++ b/drivers/platform/x86/asus-armoury.h
@@ -1881,6 +1881,33 @@ static const struct dmi_system_id power_limits[] = {
 			},
 		},
 	},
+		{
+			.matches = {
+				DMI_MATCH(DMI_BOARD_NAME, "GX651AR"),
+			},
+			.driver_data = &(struct power_data) {
+				.ac_data = &(struct power_limits) {
+					.ppt_pl1_spl_min = 30,
+					.ppt_pl1_spl_max = 75,
+					.ppt_pl2_sppt_min = 38,
+					.ppt_pl2_sppt_max = 80,
+					.nv_dynamic_boost_min = 5,
+					.nv_dynamic_boost_max = 25,
+					.nv_temp_target_min = 75,
+					.nv_temp_target_max = 87,
+					.nv_tgp_min = 80,
+					.nv_tgp_max = 115,
+				},
+				.dc_data = &(struct power_limits) {
+					.ppt_pl1_spl_min = 30,
+					.ppt_pl1_spl_max = 75,
+					.ppt_pl2_sppt_min = 38,
+					.ppt_pl2_sppt_max = 80,
+					.nv_temp_target_min = 75,
+					.nv_temp_target_max = 87,
+				},
+			},
+		},
 	{
 		.matches = {
 			DMI_MATCH(DMI_BOARD_NAME, "GZ302EA"),
-- 
2.47.3


                 reply	other threads:[~2026-09-10 20:50 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20260910205032.153165-1-denis.benato@linux.dev \
    --to=denis.benato@linux.dev \
    --cc=Cymirk@icloud.com \
    --cc=benato.denis96@gmail.com \
    --cc=dragonn@op.pl \
    --cc=hansg@kernel.org \
    --cc=ilpo.jarvinen@linux.intel.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=luke@ljones.dev \
    --cc=platform-driver-x86@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®