public inbox for platform-driver-x86@vger.kernel.org
 help / color / mirror / Atom feed
From: Denis Benato <denis.benato@linux.dev>
To: Matthew Schwartz <matthew.schwartz@linux.dev>,
	ilpo.jarvinen@linux.intel.com, Hans de Goede <hansg@kernel.org>
Cc: platform-driver-x86@vger.kernel.org, linux-kernel@vger.kernel.org
Subject: Re: [PATCH] platform/x86: asus-armoury: add support for GZ302EA and GZ302EAC
Date: Fri, 13 Mar 2026 02:00:24 +0100	[thread overview]
Message-ID: <c6e2d0b7-6481-4205-981f-9dca19e53ce8@linux.dev> (raw)
In-Reply-To: <20260313004939.4103835-1-matthew.schwartz@linux.dev>


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"),

  reply	other threads:[~2026-03-13  1:00 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
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 [this message]
2026-03-17 13:01 ` Ilpo Järvinen

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=c6e2d0b7-6481-4205-981f-9dca19e53ce8@linux.dev \
    --to=denis.benato@linux.dev \
    --cc=hansg@kernel.org \
    --cc=ilpo.jarvinen@linux.intel.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=matthew.schwartz@linux.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