mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Marco Scardovi <scardracs@disroot.org>
To: "Ilpo Järvinen" <ilpo.jarvinen@linux.intel.com>
Cc: Hans de Goede <hansg@kernel.org>,
	Corentin Chary <corentin.chary@gmail.com>,
	"Luke D. Jones" <luke@ljones.dev>,
	Denis Benato <denis.benato@linux.dev>,
	platform-driver-x86@vger.kernel.org,
	linux-kernel@vger.kernel.org
Subject: Re: [PATCH v3 1/6] platform/x86: asus-armoury: add power limits quirk for G713QR
Date: Fri, 16 Oct 2026 15:09:10 +0200	[thread overview]
Message-ID: <a4wgP33YQQayT9y_yt9msQ@disroot.org> (raw)
In-Reply-To: <20261016130342.69923-2-scardracs@disroot.org>

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@disroot.org>
> ---
>  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@disroot.org>
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@disroot.org/
[2] https://lore.kernel.org/all/20261015181850.170862-2-scardracs@disroot.org/

Signed-off-by: Marco Scardovi <scardracs@disroot.org>
-- 
2.56.0"




  reply	other threads:[~2026-10-16 13:09 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <20261016130342.69923-1-scardracs@disroot.org>
2026-10-16 13:03 ` Marco Scardovi
2026-10-16 13:09   ` Marco Scardovi [this message]
2026-10-20 21:09   ` Ilpo Järvinen
2026-10-16 13:03 ` [PATCH v3 2/6] platform/x86: asus-armoury: add power limits quirk for FA608PM Marco Scardovi
2026-10-16 13:03 ` [PATCH v3 3/6] platform/x86: asus-armoury: add power limits quirk for FA608UH Marco Scardovi
2026-10-16 13:03 ` [PATCH v3 4/6] platform/x86: asus-armoury: add power limits quirk for FA608UP Marco Scardovi
2026-10-16 13:03 ` [PATCH v3 5/6] platform/x86: asus-armoury: add power limits quirk for GA402NV Marco Scardovi
2026-10-16 13:03 ` [PATCH v3 6/6] platform/x86: asus-armoury: add power limits quirk for G533QS Marco Scardovi

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=a4wgP33YQQayT9y_yt9msQ@disroot.org \
    --to=scardracs@disroot.org \
    --cc=corentin.chary@gmail.com \
    --cc=denis.benato@linux.dev \
    --cc=hansg@kernel.org \
    --cc=ilpo.jarvinen@linux.intel.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=luke@ljones.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

all inboxes | Powered by JetHome®