mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH] platform/x86: asus-armoury: fix ppt data for FA507R
@ 2025-12-24 23:07 Denis Benato
  2025-12-29 10:44 ` Ilpo Järvinen
  0 siblings, 1 reply; 2+ messages in thread
From: Denis Benato @ 2025-12-24 23:07 UTC (permalink / raw)
  To: linux-kernel
  Cc: platform-driver-x86, Hans de Goede, Ilpo Järvinen,
	Luke D . Jones, Mateusz Schyboll, Denis Benato, Denis Benato

PPT data for FA507R was reported to be wrong by a user:
Change limits to make them equal to Armoury Crate limits.

Signed-off-by: Denis Benato <denis.benato@linux.dev>
---
 drivers/platform/x86/asus-armoury.h | 21 ++++++++++++++++++---
 1 file changed, 18 insertions(+), 3 deletions(-)

diff --git a/drivers/platform/x86/asus-armoury.h b/drivers/platform/x86/asus-armoury.h
index a1bb2005c3f3..ad23718b4298 100644
--- a/drivers/platform/x86/asus-armoury.h
+++ b/drivers/platform/x86/asus-armoury.h
@@ -449,12 +449,27 @@ static const struct dmi_system_id power_limits[] = {
 			.ac_data = &(struct power_limits) {
 				.ppt_pl1_spl_min = 15,
 				.ppt_pl1_spl_max = 80,
-				.ppt_pl2_sppt_min = 25,
+				.ppt_pl2_sppt_min = 35,
 				.ppt_pl2_sppt_max = 80,
 				.ppt_pl3_fppt_min = 35,
-				.ppt_pl3_fppt_max = 80
+				.ppt_pl3_fppt_max = 80,
+				.nv_dynamic_boost_min = 5,
+				.nv_dynamic_boost_max = 25,
+				.nv_temp_target_min = 75,
+				.nv_temp_target_max = 87,
+			},
+			.dc_data = &(struct power_limits) {
+				.ppt_pl1_spl_min = 15,
+				.ppt_pl1_spl_def = 45,
+				.ppt_pl1_spl_max = 65,
+				.ppt_pl2_sppt_min = 35,
+				.ppt_pl2_sppt_def = 54,
+				.ppt_pl2_sppt_max = 65,
+				.ppt_pl3_fppt_min = 35,
+				.ppt_pl3_fppt_max = 65,
+				.nv_temp_target_min = 75,
+				.nv_temp_target_max = 87,
 			},
-			.dc_data = NULL,
 		},
 	},
 	{
-- 
2.52.0


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

* Re: [PATCH] platform/x86: asus-armoury: fix ppt data for FA507R
  2025-12-24 23:07 [PATCH] platform/x86: asus-armoury: fix ppt data for FA507R Denis Benato
@ 2025-12-29 10:44 ` Ilpo Järvinen
  0 siblings, 0 replies; 2+ messages in thread
From: Ilpo Järvinen @ 2025-12-29 10:44 UTC (permalink / raw)
  To: Denis Benato
  Cc: LKML, platform-driver-x86, Hans de Goede, Luke D . Jones,
	Mateusz Schyboll, Denis Benato

On Thu, 25 Dec 2025, Denis Benato wrote:

> PPT data for FA507R was reported to be wrong by a user:
> Change limits to make them equal to Armoury Crate limits.
> 
> Signed-off-by: Denis Benato <denis.benato@linux.dev>

Fixes tag missing.

-- 
 i.

> ---
>  drivers/platform/x86/asus-armoury.h | 21 ++++++++++++++++++---
>  1 file changed, 18 insertions(+), 3 deletions(-)
> 
> diff --git a/drivers/platform/x86/asus-armoury.h b/drivers/platform/x86/asus-armoury.h
> index a1bb2005c3f3..ad23718b4298 100644
> --- a/drivers/platform/x86/asus-armoury.h
> +++ b/drivers/platform/x86/asus-armoury.h
> @@ -449,12 +449,27 @@ static const struct dmi_system_id power_limits[] = {
>  			.ac_data = &(struct power_limits) {
>  				.ppt_pl1_spl_min = 15,
>  				.ppt_pl1_spl_max = 80,
> -				.ppt_pl2_sppt_min = 25,
> +				.ppt_pl2_sppt_min = 35,
>  				.ppt_pl2_sppt_max = 80,
>  				.ppt_pl3_fppt_min = 35,
> -				.ppt_pl3_fppt_max = 80
> +				.ppt_pl3_fppt_max = 80,
> +				.nv_dynamic_boost_min = 5,
> +				.nv_dynamic_boost_max = 25,
> +				.nv_temp_target_min = 75,
> +				.nv_temp_target_max = 87,
> +			},
> +			.dc_data = &(struct power_limits) {
> +				.ppt_pl1_spl_min = 15,
> +				.ppt_pl1_spl_def = 45,
> +				.ppt_pl1_spl_max = 65,
> +				.ppt_pl2_sppt_min = 35,
> +				.ppt_pl2_sppt_def = 54,
> +				.ppt_pl2_sppt_max = 65,
> +				.ppt_pl3_fppt_min = 35,
> +				.ppt_pl3_fppt_max = 65,
> +				.nv_temp_target_min = 75,
> +				.nv_temp_target_max = 87,
>  			},
> -			.dc_data = NULL,
>  		},
>  	},
>  	{
> 

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

end of thread, other threads:[~2025-12-29 10:44 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2025-12-24 23:07 [PATCH] platform/x86: asus-armoury: fix ppt data for FA507R Denis Benato
2025-12-29 10:44 ` 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

Powered by JetHome