Re: [PATCH v3 1/6] platform/x86: asus-armoury: add power limits quirk for G713QR

From: Marco Scardovi

Date: Fri Oct 16 2026 - 09:14:23 EST


In data venerdì 16 ottobre 2026 15:03:37 Ora legale dell’Europa centrale,
Marco Scardovi ha scritto:
> 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@xxxxxxxxxxx>
> ---
> 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"),

I don't really get why git 2.56 refuses to send the cover letter: I've never
had this problem before...

"From: Marco Scardovi <scardracs@xxxxxxxxxxx>
Date: Fri, 16 Oct 2026 14:57:05 +0200
Subject: [PATCH v3 0/6] platform/x86: asus-armoury: add/update power limits
quirks

Hi Ilpo,
sent the v3 because in the meantime I found how to pick up the missing
nv_tgp_{minx,max} from the ThrottleGear file. They are all encrypted
so it took a bit of time figuring it out.

This series adds power limits quirk entries for ASUS laptops. The limits
are extracted from each device's ThrottleGear XML configuration.

Changes in v3:
- FA608PM, FA608UH, and FA608UP now include nv_tgp_min/max derived from
AC_Config.TGP and TGPItem Level* offsets (missing in v2).

Changes in v2 [1]:
- Corrected english grammar

Changes in v1 [2]:
- First release

[1] https://lore.kernel.org/all/20261016121432.35071-7-scardracs@xxxxxxxxxxx/
[2] https://lore.kernel.org/all/20261015181850.170862-2-scardracs@xxxxxxxxxxx/

Signed-off-by: Marco Scardovi <scardracs@xxxxxxxxxxx>
--
2.56.0"