From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from out-177.mta0.migadu.com (out-177.mta0.migadu.com [91.218.175.177]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 84527175A8D for ; Sun, 14 Jun 2026 12:33:56 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=91.218.175.177 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1781440439; cv=none; b=byycaFNnrfGwci5iayDvRge2W2qEYDdM2lAOe5J/pFGh1sH4k7XzKu18mPIvUXuug51LWf4yr3jPS+kWKJEgA7yphJ9zLbeCC8qtKUejI7XV7ykzBqmfErjQxI0xYuxfiftmfEGv1oNIomd2GXkp48zqEGvyUa3Ei0owmC9qi5s= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1781440439; c=relaxed/simple; bh=eeTQBexZMFEriKQRBUt0UdjKhevDmlufCyXn9I+nhNA=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=oM12PxTnu480bN/VFQjSTjEFzDayIKsyI4GC9+PNyZ4CyGrc/cno/QpBf7/DrZ5zVCZuZelG/iM6VRCRWJIAuN2GTTtvsf8T0A90cxdfxnRFCs7x+jtKSAGghUNPuI+ONqmVjKKg9WWvTz2oJMjG1yI0QeNMfb6mXTK2z4Gs+dI= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linux.dev; spf=pass smtp.mailfrom=linux.dev; dkim=pass (1024-bit key) header.d=linux.dev header.i=@linux.dev header.b=QbuqxH1a; arc=none smtp.client-ip=91.218.175.177 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linux.dev Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linux.dev Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linux.dev header.i=@linux.dev header.b="QbuqxH1a" Message-ID: <524bc16a-6a66-4b2f-8aa6-6a4b0bc31f09@linux.dev> DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linux.dev; s=key1; t=1781440434; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=DCRya8RJjD+FTD3xKv0GALIzWAmdXRDC7PQQUx6xNSU=; b=QbuqxH1a3cr2eBJnpARrCv6PqA1RJzJkH8d+/kyqFne1ie+46id/EbSVlzfYotIx+Vrpuz epHMe4lUGZOc+T01dF9/Lsp0M1+Swl077QNbosVwr4HHeFbfSCF6yZBU364PjNPoJfyniE tVp1F+ulqyoO+QFQ6KvJ5oz3e2kCkls= Date: Sun, 14 Jun 2026 14:33:47 +0200 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Subject: Re: [PATCH v2] platform/x86: asus-armoury: add support for G614PR To: Marco Scardovi , ilpo.jarvinen@linux.intel.com Cc: corentin.chary@gmail.com, hansg@kernel.org, linux-kernel@vger.kernel.org, luke@ljones.dev, platform-driver-x86@vger.kernel.org References: <178119015973.12014.6231948241278781864.b4-ty@b4> <20260614084423.50723-1-scardracs@disroot.org> <20260614084423.50723-2-scardracs@disroot.org> Content-Language: en-US X-Report-Abuse: Please report any abuse attempt to abuse@migadu.com and include these headers. From: Denis Benato In-Reply-To: <20260614084423.50723-2-scardracs@disroot.org> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Migadu-Flow: FLOW_OUT On 6/14/26 10:44, Marco Scardovi wrote: > Add TDP power limits and fan curve requirements for the ASUS ROG > Strix G16 G614PR laptop model. > > Add the corresponding DMI board name matching entry ("G614PR") under > the power_limits table in asus-armoury.h, populating the AC and DC limits > based on the platform's hardware specification. In general all these data have been posted in the ppt data collection thread in form of screenshots (and I'd like to have yours too for future reference). Your model isn't posted there, so I assumed these values were what is available to you on the official windows app, if so the previous one has to be kept unless you find an explanation of why what is see is different from what you expect to see. > Assisted-by: Antigravity:gemini-3.5-flash > Signed-off-by: Marco Scardovi > --- > drivers/platform/x86/asus-armoury.h | 34 +++++++++++++++++++++++++++++ > 1 file changed, 34 insertions(+) > > diff --git a/drivers/platform/x86/asus-armoury.h b/drivers/platform/x86/asus-armoury.h > index 692978b61959..c2df2381a260 100644 > --- a/drivers/platform/x86/asus-armoury.h > +++ b/drivers/platform/x86/asus-armoury.h > @@ -1898,6 +1898,40 @@ static const struct dmi_system_id power_limits[] = { > .requires_fan_curve = true, > }, > }, > + { > + .matches = { > + DMI_MATCH(DMI_BOARD_NAME, "G614PR"), > + }, > + .driver_data = &(struct power_data) { > + .ac_data = &(struct power_limits) { > + .ppt_pl1_spl_min = 30, > + .ppt_pl1_spl_max = 120, > + .ppt_pl2_sppt_min = 65, > + .ppt_pl2_sppt_def = 140, > + .ppt_pl2_sppt_max = 145, > + .ppt_pl3_fppt_min = 65, > + .ppt_pl3_fppt_def = 140, > + .ppt_pl3_fppt_max = 145, > + .nv_temp_target_min = 75, > + .nv_temp_target_max = 87, > + .nv_dynamic_boost_min = 5, > + .nv_dynamic_boost_max = 25, > + .nv_tgp_min = 65, > + .nv_tgp_max = 115, > + }, > + .dc_data = &(struct power_limits) { > + .ppt_pl1_spl_min = 25, > + .ppt_pl1_spl_max = 65, > + .ppt_pl2_sppt_min = 25, > + .ppt_pl2_sppt_max = 65, > + .ppt_pl3_fppt_min = 35, > + .ppt_pl3_fppt_max = 75, > + .nv_temp_target_min = 75, > + .nv_temp_target_max = 87, > + }, > + .requires_fan_curve = true, > + }, > + }, > { > .matches = { > DMI_MATCH(DMI_BOARD_NAME, "G615LR"),