mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH] platform/x86: asus-armoury: add power limits quirk for G614FM
@ 2026-08-28  6:59 Marco Scardovi
  2026-09-18 17:06 ` Ilpo Järvinen
  0 siblings, 1 reply; 2+ messages in thread
From: Marco Scardovi @ 2026-08-28  6:59 UTC (permalink / raw)
  To: scardracs
  Cc: corentin.chary, denis.benato, hansg, ilpo.jarvinen, linux-kernel,
	luke, platform-driver-x86

add power limits quirk entry for ASUS G614FM laptop.
The limits are extracted from the device's ThrottleGear XML configuration.

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

--- a/drivers/platform/x86/asus-armoury.h
+++ b/drivers/platform/x86/asus-armoury.h
@@ -1056,6 +1056,37 @@
 			.requires_fan_curve = true,
 		},
 	},
+		{
+			.matches = {
+				DMI_EXACT_MATCH(DMI_BOARD_NAME, "G614FM"),
+			},
+			.driver_data = &(struct power_data) {
+				.ac_data = &(struct power_limits) {
+					.nv_dynamic_boost_max = 15,
+					.nv_dynamic_boost_min = 5,
+					.nv_temp_target_max = 87,
+					.nv_temp_target_min = 75,
+					.ppt_pl1_spl_max = 120,
+					.ppt_pl1_spl_min = 30,
+					.ppt_pl2_sppt_def = 140,
+					.ppt_pl2_sppt_max = 165,
+					.ppt_pl2_sppt_min = 65,
+					.ppt_pl3_fppt_def = 140,
+					.ppt_pl3_fppt_max = 165,
+					.ppt_pl3_fppt_min = 65,
+				},
+				.dc_data = &(struct power_limits) {
+					.nv_temp_target_max = 87,
+					.nv_temp_target_min = 75,
+					.ppt_pl1_spl_max = 65,
+					.ppt_pl1_spl_min = 25,
+					.ppt_pl2_sppt_max = 65,
+					.ppt_pl2_sppt_min = 25,
+					.ppt_pl3_fppt_max = 75,
+					.ppt_pl3_fppt_min = 35,
+				},
+		},
+	},
 	{
 		.matches = {
 			DMI_MATCH(DMI_BOARD_NAME, "GA401Q"),
-- 
2.55.0

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

end of thread, other threads:[~2026-09-18 17:06 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-08-28  6:59 [PATCH] platform/x86: asus-armoury: add power limits quirk for G614FM Marco Scardovi
2026-09-18 17:06 ` 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

all inboxes | Powered by JetHome®