* [PATCH] platform/x86: asus-armoury: add support for GZ302EA and GZ302EAC
@ 2026-03-13 0:49 Matthew Schwartz
2026-03-13 1:00 ` Denis Benato
2026-03-17 13:01 ` Ilpo Järvinen
0 siblings, 2 replies; 3+ messages in thread
From: Matthew Schwartz @ 2026-03-13 0:49 UTC (permalink / raw)
To: ilpo.jarvinen, Hans de Goede, Denis Benato
Cc: platform-driver-x86, linux-kernel, Matthew Schwartz
Add TDP data for tablet models GZ302EA and GZ302EAC.
Signed-off-by: Matthew Schwartz <matthew.schwartz@linux.dev>
---
drivers/platform/x86/asus-armoury.h | 29 +++++++++++++++++++++++++++++
1 file changed, 29 insertions(+)
diff --git a/drivers/platform/x86/asus-armoury.h b/drivers/platform/x86/asus-armoury.h
index 208f6fe16168c..c8ef8a68ffcd0 100644
--- a/drivers/platform/x86/asus-armoury.h
+++ b/drivers/platform/x86/asus-armoury.h
@@ -1518,6 +1518,35 @@ static const struct dmi_system_id power_limits[] = {
},
},
},
+ {
+ .matches = {
+ DMI_MATCH(DMI_BOARD_NAME, "GZ302EA"),
+ },
+ .driver_data = &(struct power_data) {
+ .ac_data = &(struct power_limits) {
+ .ppt_pl1_spl_min = 28,
+ .ppt_pl1_spl_def = 60,
+ .ppt_pl1_spl_max = 80,
+ .ppt_pl2_sppt_min = 32,
+ .ppt_pl2_sppt_def = 75,
+ .ppt_pl2_sppt_max = 92,
+ .ppt_pl3_fppt_min = 45,
+ .ppt_pl3_fppt_def = 86,
+ .ppt_pl3_fppt_max = 93,
+ },
+ .dc_data = &(struct power_limits) {
+ .ppt_pl1_spl_min = 28,
+ .ppt_pl1_spl_def = 45,
+ .ppt_pl1_spl_max = 80,
+ .ppt_pl2_sppt_min = 32,
+ .ppt_pl2_sppt_def = 52,
+ .ppt_pl2_sppt_max = 92,
+ .ppt_pl3_fppt_min = 45,
+ .ppt_pl3_fppt_def = 71,
+ .ppt_pl3_fppt_max = 93,
+ },
+ },
+ },
{
.matches = {
DMI_MATCH(DMI_BOARD_NAME, "G513I"),
--
2.53.0
^ permalink raw reply related [flat|nested] 3+ messages in thread* Re: [PATCH] platform/x86: asus-armoury: add support for GZ302EA and GZ302EAC
2026-03-13 0:49 [PATCH] platform/x86: asus-armoury: add support for GZ302EA and GZ302EAC Matthew Schwartz
@ 2026-03-13 1:00 ` Denis Benato
2026-03-17 13:01 ` Ilpo Järvinen
1 sibling, 0 replies; 3+ messages in thread
From: Denis Benato @ 2026-03-13 1:00 UTC (permalink / raw)
To: Matthew Schwartz, ilpo.jarvinen, Hans de Goede
Cc: platform-driver-x86, linux-kernel
On 3/13/26 01:49, Matthew Schwartz wrote:
> Add TDP data for tablet models GZ302EA and GZ302EAC.
Reviewed-by: Denis Benato <denis.benato@linux.dev>
> Signed-off-by: Matthew Schwartz <matthew.schwartz@linux.dev>
> ---
> drivers/platform/x86/asus-armoury.h | 29 +++++++++++++++++++++++++++++
> 1 file changed, 29 insertions(+)
>
> diff --git a/drivers/platform/x86/asus-armoury.h b/drivers/platform/x86/asus-armoury.h
> index 208f6fe16168c..c8ef8a68ffcd0 100644
> --- a/drivers/platform/x86/asus-armoury.h
> +++ b/drivers/platform/x86/asus-armoury.h
> @@ -1518,6 +1518,35 @@ static const struct dmi_system_id power_limits[] = {
> },
> },
> },
> + {
> + .matches = {
> + DMI_MATCH(DMI_BOARD_NAME, "GZ302EA"),
> + },
> + .driver_data = &(struct power_data) {
> + .ac_data = &(struct power_limits) {
> + .ppt_pl1_spl_min = 28,
> + .ppt_pl1_spl_def = 60,
> + .ppt_pl1_spl_max = 80,
> + .ppt_pl2_sppt_min = 32,
> + .ppt_pl2_sppt_def = 75,
> + .ppt_pl2_sppt_max = 92,
> + .ppt_pl3_fppt_min = 45,
> + .ppt_pl3_fppt_def = 86,
> + .ppt_pl3_fppt_max = 93,
> + },
> + .dc_data = &(struct power_limits) {
> + .ppt_pl1_spl_min = 28,
> + .ppt_pl1_spl_def = 45,
> + .ppt_pl1_spl_max = 80,
> + .ppt_pl2_sppt_min = 32,
> + .ppt_pl2_sppt_def = 52,
> + .ppt_pl2_sppt_max = 92,
> + .ppt_pl3_fppt_min = 45,
> + .ppt_pl3_fppt_def = 71,
> + .ppt_pl3_fppt_max = 93,
> + },
> + },
> + },
> {
> .matches = {
> DMI_MATCH(DMI_BOARD_NAME, "G513I"),
^ permalink raw reply [flat|nested] 3+ messages in thread* Re: [PATCH] platform/x86: asus-armoury: add support for GZ302EA and GZ302EAC
2026-03-13 0:49 [PATCH] platform/x86: asus-armoury: add support for GZ302EA and GZ302EAC Matthew Schwartz
2026-03-13 1:00 ` Denis Benato
@ 2026-03-17 13:01 ` Ilpo Järvinen
1 sibling, 0 replies; 3+ messages in thread
From: Ilpo Järvinen @ 2026-03-17 13:01 UTC (permalink / raw)
To: Hans de Goede, Denis Benato, Matthew Schwartz
Cc: platform-driver-x86, linux-kernel
On Thu, 12 Mar 2026 17:49:39 -0700, Matthew Schwartz wrote:
> Add TDP data for tablet models GZ302EA and GZ302EAC.
>
>
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 support for GZ302EA and GZ302EAC
commit: 2b5d6ab79ed67e96ba8b89c972c851d20dc145dd
--
i.
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2026-03-17 13:01 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-03-13 0:49 [PATCH] platform/x86: asus-armoury: add support for GZ302EA and GZ302EAC Matthew Schwartz
2026-03-13 1:00 ` Denis Benato
2026-03-17 13:01 ` 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