From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from out-173.mta0.migadu.com (out-173.mta0.migadu.com [91.218.175.173]) (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 F419E3E8C5A for ; Fri, 12 Jun 2026 11:56:36 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=91.218.175.173 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1781265400; cv=none; b=MkTvDn353UT82GrGYPn3ywXcsu+vKOkkAABN1jVJVSrqpauS/pijEuz/bp6pmsDRXjY/hea2SHQo21LiPtW0iGQf+tf9LiDsdICYrUCG7PZ4LfyYxXzfoLdQYgYVro5bUlbEKDm3+f59ZjPhy+2yDOpli+WaJLcLx1HeW4qIF8Y= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1781265400; c=relaxed/simple; bh=TDgSGULml7aQqzN3qlaccaJpR3XTqxFN1/ky9TvRpWg=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=DOkWY9C8w+4ZAknPK0+LaUfheNeQJo+THN8vnxSu1gNtAHsku2RZT2AeRRX+kXXL7iX+ckB9jOrXa0wF7yoUynyeIYg+Q2axBdfmiSeanJhPqvwzdzhwjLmHO8vkR/i7FkIOoeV6fLVYiwQ+ZqSQwQ8FSIPA5s9gtwEPLq0rmNA= 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=WWSqqkTH; arc=none smtp.client-ip=91.218.175.173 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="WWSqqkTH" X-Report-Abuse: Please report any abuse attempt to abuse@migadu.com and include these headers. DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linux.dev; s=key1; t=1781265395; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=LWGGwH32IEZ2Q589HytbDawuQcwiqdNzhNfPOnrwgW8=; b=WWSqqkTHEwQgln0yXhtGTEG48wd7k+KxGnXwgYb6dvc4LuYXBONWIFtp2aXQDyQ/MgcIgp A+1O3tGkT+j7VGh1oYhq8UnBJ8tapBuZZatyJD/AsmTxsTfyCx/4dwpAl3AvWdSho3/ru7 5+TmBijMxlmgW3ozb/jSikj2LPJT2V4= From: Denis Benato To: linux-kernel@vger.kernel.org Cc: platform-driver-x86@vger.kernel.org, "Hans de Goede" , =?UTF-8?q?Ilpo=20J=C3=A4rvinen?= , "Luke D . Jones" , "Mateusz Schyboll" , "Denis Benato" , Denis Benato Subject: [PATCH 2/3] platform/x86: asus-armoury: add support for GA403UM Date: Fri, 12 Jun 2026 11:56:26 +0000 Message-ID: <20260612115628.964152-3-denis.benato@linux.dev> In-Reply-To: <20260612115628.964152-1-denis.benato@linux.dev> References: <20260612115628.964152-1-denis.benato@linux.dev> Precedence: bulk X-Mailing-List: platform-driver-x86@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Migadu-Flow: FLOW_OUT Add TDP data for laptop model GA403UM. Signed-off-by: Denis Benato --- drivers/platform/x86/asus-armoury.h | 32 +++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) diff --git a/drivers/platform/x86/asus-armoury.h b/drivers/platform/x86/asus-armoury.h index 381eaeed5906..39edc0114b11 100644 --- a/drivers/platform/x86/asus-armoury.h +++ b/drivers/platform/x86/asus-armoury.h @@ -1065,6 +1065,38 @@ static const struct dmi_system_id power_limits[] = { .requires_fan_curve = true, }, }, + { + .matches = { + DMI_MATCH(DMI_BOARD_NAME, "GA403UM"), + }, + .driver_data = &(struct power_data) { + .ac_data = &(struct power_limits) { + .ppt_pl1_spl_min = 15, + .ppt_pl1_spl_max = 80, + .ppt_pl2_sppt_min = 25, + .ppt_pl2_sppt_max = 80, + .ppt_pl3_fppt_min = 35, + .ppt_pl3_fppt_max = 80, + .nv_dynamic_boost_min = 0, + .nv_dynamic_boost_max = 15, + .nv_temp_target_min = 75, + .nv_temp_target_max = 87, + .nv_tgp_min = 55, + .nv_tgp_max = 85, + }, + .dc_data = &(struct power_limits) { + .ppt_pl1_spl_min = 15, + .ppt_pl1_spl_max = 35, + .ppt_pl2_sppt_min = 25, + .ppt_pl2_sppt_max = 35, + .ppt_pl3_fppt_min = 35, + .ppt_pl3_fppt_max = 65, + .nv_temp_target_min = 75, + .nv_temp_target_max = 87, + }, + .requires_fan_curve = true, + }, + }, { .matches = { DMI_MATCH(DMI_BOARD_NAME, "GA403UV"), -- 2.47.3