Re: [PATCH] platform/x86: asus-armoury: add support for GZ302EA and GZ302EAC
From: Denis Benato
Date: Thu Mar 12 2026 - 21:03:29 EST
On 3/13/26 01:49, Matthew Schwartz wrote:
> Add TDP data for tablet models GZ302EA and GZ302EAC.
Reviewed-by: Denis Benato <denis.benato@xxxxxxxxx>
> Signed-off-by: Matthew Schwartz <matthew.schwartz@xxxxxxxxx>
> ---
> 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"),