mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH v2 1/6] platform/x86: asus-armoury: add power limits quirk for G713QR
       [not found] <20261016121432.35071-1-scardracs@disroot.org>
@ 2026-10-16 12:14 ` Marco Scardovi
  2026-10-16 12:14 ` [PATCH v2 2/6] platform/x86: asus-armoury: add power limits quirk for FA608PM Marco Scardovi
                   ` (4 subsequent siblings)
  5 siblings, 0 replies; 6+ messages in thread
From: Marco Scardovi @ 2026-10-16 12:14 UTC (permalink / raw)
  To: Ilpo Järvinen
  Cc: Hans de Goede, Corentin Chary, Luke D. Jones, Denis Benato,
	platform-driver-x86, linux-kernel, Marco Scardovi

Add a power limits quirk entry for the ASUS G713QR 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 | 13 changes(+/-)
 1 file changed, 13 insertions(+), 0 deletions(-)

--- a/drivers/platform/x86/asus-armoury.h
+++ b/drivers/platform/x86/asus-armoury.h
@@ -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"),
-- 
2.56.0

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

* [PATCH v2 2/6] platform/x86: asus-armoury: add power limits quirk for FA608PM
       [not found] <20261016121432.35071-1-scardracs@disroot.org>
  2026-10-16 12:14 ` [PATCH v2 1/6] platform/x86: asus-armoury: add power limits quirk for G713QR Marco Scardovi
@ 2026-10-16 12:14 ` Marco Scardovi
  2026-10-16 12:14 ` [PATCH v2 3/6] platform/x86: asus-armoury: add power limits quirk for FA608UH Marco Scardovi
                   ` (3 subsequent siblings)
  5 siblings, 0 replies; 6+ messages in thread
From: Marco Scardovi @ 2026-10-16 12:14 UTC (permalink / raw)
  To: Ilpo Järvinen
  Cc: Hans de Goede, Corentin Chary, Luke D. Jones, Denis Benato,
	platform-driver-x86, linux-kernel, Marco Scardovi

Add a power limits quirk entry for the ASUS FA608PM 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 | 29 changes(+/-)
 1 file changed, 29 insertions(+), 0 deletions(-)

--- a/drivers/platform/x86/asus-armoury.h
+++ b/drivers/platform/x86/asus-armoury.h
@@ -787,6 +787,35 @@
 			},
 		},
 	},
+		{
+			.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,
+					.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"),
-- 
2.56.0

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

* [PATCH v2 3/6] platform/x86: asus-armoury: add power limits quirk for FA608UH
       [not found] <20261016121432.35071-1-scardracs@disroot.org>
  2026-10-16 12:14 ` [PATCH v2 1/6] platform/x86: asus-armoury: add power limits quirk for G713QR Marco Scardovi
  2026-10-16 12:14 ` [PATCH v2 2/6] platform/x86: asus-armoury: add power limits quirk for FA608PM Marco Scardovi
@ 2026-10-16 12:14 ` Marco Scardovi
  2026-10-16 12:14 ` [PATCH v2 4/6] platform/x86: asus-armoury: add power limits quirk for FA608UP Marco Scardovi
                   ` (2 subsequent siblings)
  5 siblings, 0 replies; 6+ messages in thread
From: Marco Scardovi @ 2026-10-16 12:14 UTC (permalink / raw)
  To: Ilpo Järvinen
  Cc: Hans de Goede, Corentin Chary, Luke D. Jones, Denis Benato,
	platform-driver-x86, linux-kernel, Marco Scardovi

Add a power limits quirk entry for the ASUS FA608UH 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
@@ -816,6 +816,37 @@
 				},
 			},
 		},
+		{
+			.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,
+					.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"),
-- 
2.56.0

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

* [PATCH v2 4/6] platform/x86: asus-armoury: add power limits quirk for FA608UP
       [not found] <20261016121432.35071-1-scardracs@disroot.org>
                   ` (2 preceding siblings ...)
  2026-10-16 12:14 ` [PATCH v2 3/6] platform/x86: asus-armoury: add power limits quirk for FA608UH Marco Scardovi
@ 2026-10-16 12:14 ` Marco Scardovi
  2026-10-16 12:14 ` [PATCH v2 5/6] platform/x86: asus-armoury: add power limits quirk for GA402NV Marco Scardovi
  2026-10-16 12:14 ` [PATCH v2 6/6] platform/x86: asus-armoury: add power limits quirk for G533QS Marco Scardovi
  5 siblings, 0 replies; 6+ messages in thread
From: Marco Scardovi @ 2026-10-16 12:14 UTC (permalink / raw)
  To: Ilpo Järvinen
  Cc: Hans de Goede, Corentin Chary, Luke D. Jones, Denis Benato,
	platform-driver-x86, linux-kernel, Marco Scardovi

Add a power limits quirk entry for the ASUS FA608UP 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
@@ -883,6 +883,37 @@
 			},
 		},
 	},
+		{
+			.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,
+					.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"),
-- 
2.56.0

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

* [PATCH v2 5/6] platform/x86: asus-armoury: add power limits quirk for GA402NV
       [not found] <20261016121432.35071-1-scardracs@disroot.org>
                   ` (3 preceding siblings ...)
  2026-10-16 12:14 ` [PATCH v2 4/6] platform/x86: asus-armoury: add power limits quirk for FA608UP Marco Scardovi
@ 2026-10-16 12:14 ` Marco Scardovi
  2026-10-16 12:14 ` [PATCH v2 6/6] platform/x86: asus-armoury: add power limits quirk for G533QS Marco Scardovi
  5 siblings, 0 replies; 6+ messages in thread
From: Marco Scardovi @ 2026-10-16 12:14 UTC (permalink / raw)
  To: Ilpo Järvinen
  Cc: Hans de Goede, Corentin Chary, Luke D. Jones, Denis Benato,
	platform-driver-x86, linux-kernel, Marco Scardovi

Add a power limits quirk entry for the ASUS GA402NV 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
@@ -1294,6 +1294,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.
-- 
2.56.0

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

* [PATCH v2 6/6] platform/x86: asus-armoury: add power limits quirk for G533QS
       [not found] <20261016121432.35071-1-scardracs@disroot.org>
                   ` (4 preceding siblings ...)
  2026-10-16 12:14 ` [PATCH v2 5/6] platform/x86: asus-armoury: add power limits quirk for GA402NV Marco Scardovi
@ 2026-10-16 12:14 ` Marco Scardovi
  5 siblings, 0 replies; 6+ messages in thread
From: Marco Scardovi @ 2026-10-16 12:14 UTC (permalink / raw)
  To: Ilpo Järvinen
  Cc: Hans de Goede, Corentin Chary, Luke D. Jones, Denis Benato,
	platform-driver-x86, linux-kernel, Marco Scardovi

Add a power limits quirk entry for the ASUS G533QS 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 | 13 changes(+/-)
 1 file changed, 13 insertions(+), 0 deletions(-)

--- a/drivers/platform/x86/asus-armoury.h
+++ b/drivers/platform/x86/asus-armoury.h
@@ -1223,6 +1223,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) {
-- 
2.56.0

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

end of thread, other threads:[~2026-10-16 12:15 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <20261016121432.35071-1-scardracs@disroot.org>
2026-10-16 12:14 ` [PATCH v2 1/6] platform/x86: asus-armoury: add power limits quirk for G713QR Marco Scardovi
2026-10-16 12:14 ` [PATCH v2 2/6] platform/x86: asus-armoury: add power limits quirk for FA608PM Marco Scardovi
2026-10-16 12:14 ` [PATCH v2 3/6] platform/x86: asus-armoury: add power limits quirk for FA608UH Marco Scardovi
2026-10-16 12:14 ` [PATCH v2 4/6] platform/x86: asus-armoury: add power limits quirk for FA608UP Marco Scardovi
2026-10-16 12:14 ` [PATCH v2 5/6] platform/x86: asus-armoury: add power limits quirk for GA402NV Marco Scardovi
2026-10-16 12:14 ` [PATCH v2 6/6] platform/x86: asus-armoury: add power limits quirk for G533QS Marco Scardovi

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®