From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=100.103.45.18 ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none; t=1796355740; b=H4eBvmjfSUMVHDWby5estkaLeXnC/XJaumgQaWf5fLBlGTsQy74PZcrh1udnfdKk3Ia2 es44Bg0zl4F15pSmaW3QRpqsAB/NVMKBZdmEu4nw3XPgUW0BPes+gEtqFDOf/YRUcPx79 FpJcvzZLhyfioI1Wa9FDHJuwDWEEWgM1IAWcsTBWVy/mXH2wcDYdGbJFYdEQKG3SXDcKH gjxQaFxrVFtp1qAmbtcYd4AHLOpxUsvbNaNPGlQz/guQOSp0ecbwyVC1GIRLds7hgOfrN MWriFLPcHoymhFWHlmRVKzsH9jGEaL9qAEilUTwfFlVvrhMgjv8bFgkDfDfmXGlD0Tg== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1796355740; h=Received:DKIM-Signature:From:To:Cc:Subject:Date:Message-ID:X-Mailer: In-Reply-To:References:MIME-Version:Content-Transfer-Encoding; bh=EqNuD+aP6js/cCgXy7ueq8rhXtHeghbjtLKZ33jwn4s=; b=IvVWg8IKKbmZB3aKQRz8IfeXFGmuOLyD588DcRMp6PqIxsndtSfLlBI+ob+SJIhfUF6X 54dNEFXpqIO0zyaUNEtge6c3OF+P+5c2rbf/WZWEIOzZJ7lUjn3m0jgqfZCa/T827z9U8 rfbi4NrUC4YZbJWHoLIs7Fbwpdr0L6cukAyw/0BnxXAjImiwex7KjyhB/qRHv00A7FfWm 5TtxiO2/ALyYt3H5DdR0i2Rs/fHWK7MqC2VK1ytAupY/8QVPMKb+KhE4oVZzg1cynEPjL ++TRLdP0cgzBrew+tnNCp2hbf4NID46wfaGe/JU2TKvr9ZOKJt45Q0t3uq0XbE5QCrQ== ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dkim=pass header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256 header.s=k20260515 header.b=kdvws2Ek; arc=none smtp.remote-ip=100.103.45.18 Received: from smtp.kernel.org (quasi.space.kernel.org [100.103.45.18]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (prime256v1)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 56E4A606A322 for ; Fri, 4 Dec 2026 03:42:20 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256 header.s=k20260515 header.b=kdvws2Ek Received: by smtp.kernel.org (Postfix) with ESMTPSA id 702D51F000C2; Fri, 4 Dec 2026 03:42:19 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel.org; s=k20260515; t=1796355740; bh=EqNuD+aP6js/cCgXy7ueq8rhXtHeghbjtLKZ33jwn4s=; h=From:To:Cc:Subject:Date:In-Reply-To:References; b=kdvws2EkaWFAZtiFIJvTEEjs5C1rRY8fy2zm6KUSx+1dCszDn3JQSOu/MzHvOGOxa CyEM52pT62DiogTJBF/FpLwj09CAInSP4gjuPPFlnSIRYnnWPAw9Sq3xlZf44LvSYb X5oyMHxV3PQUsZMBfRpmoo+xeNf0Sw8GHhL7cwJv4Ic6eAr0A7PcpmShatvEk/Hxcd m0jgR1pAwsUAhP/y/GShWvPD3Xl3xd+SS4K/XtPL2QHr8gPcScnURkT1vuPCr5j6aH eqrFRTj0HMR33Rdv2M4Dd8GkZX9/HxpjhQ8FFiOQSG0lMCJbYormTRATagiaCT43Au KSnYm7WAky4Ag== From: Sasha Levin To: stable@vger.kernel.org Cc: Ahmad Khalifa , Guenter Roeck , Sasha Levin Subject: [PATCH 6.1.y 1/4] hwmon: (nct6775) Change labels for nct6799 Date: Thu, 3 Dec 2026 22:42:15 -0500 Message-ID: <20261204034157.2461916-1-sashal@kernel.org> X-Mailer: git-send-email 2.53.0 In-Reply-To: <2026120242-flick-armful-dbb4@gregkh> References: <2026120242-flick-armful-dbb4@gregkh> X-Mailing-List: stable@vger.kernel.org List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list MIME-Version: 1.0 Content-Transfer-Encoding: 8bit From: Ahmad Khalifa [ Upstream commit 23299bba08dfb7037877edcc430c907f0522c856 ] nct6799d-r and nct6796d-s are very similar and chip_id is only different in the version nibblet. Since both will be detected by the driver anyway due to the chipid mask, they should be labeled together for dmesg msg. Signed-off-by: Ahmad Khalifa Link: https://lore.kernel.org/r/20230715195244.1334723-1-ahmad@khalifa.ws Signed-off-by: Guenter Roeck Stable-dep-of: 73d857b33cdf ("hwmon: (nct6775) Fix target temp and tolerance for NCT6106/6116/6126") Signed-off-by: Sasha Levin --- Documentation/hwmon/nct6775.rst | 11 ++++++++++- drivers/hwmon/nct6775-core.c | 3 ++- drivers/hwmon/nct6775-platform.c | 2 +- 3 files changed, 13 insertions(+), 3 deletions(-) diff --git a/Documentation/hwmon/nct6775.rst b/Documentation/hwmon/nct6775.rst index 5ba8276aad4b8..9d7a10de61a76 100644 --- a/Documentation/hwmon/nct6775.rst +++ b/Documentation/hwmon/nct6775.rst @@ -80,7 +80,13 @@ Supported chips: Datasheet: Available from Nuvoton upon request + * Nuvoton NCT6796D-S/NCT6799D-R + Prefix: 'nct6799' + + Addresses scanned: ISA address retrieved from Super I/O registers + + Datasheet: Available from Nuvoton upon request Authors: @@ -277,4 +283,7 @@ will not reflect a usable value. It often reports unreasonably high temperatures, and in some cases the reported temperature declines if the actual temperature increases (similar to the raw PECI temperature value - see PECI specification for details). CPUTIN should therefore be ignored on ASUS -boards. The CPU temperature on ASUS boards is reported from PECI 0. +boards. The CPU temperature on ASUS boards is reported from PECI 0 or TSI 0. + +NCT6796D-S and NCT6799D-R chips are very similar and their chip_id indicates +they are different versions. This driver treats them the same way. diff --git a/drivers/hwmon/nct6775-core.c b/drivers/hwmon/nct6775-core.c index b7f9bceedb7b0..62545e1867977 100644 --- a/drivers/hwmon/nct6775-core.c +++ b/drivers/hwmon/nct6775-core.c @@ -33,7 +33,8 @@ * (0xd451) * nct6798d 14 7 7 2+6 0xd428 0xc1 0x5ca3 * (0xd429) - * nct6799d 14 7 7 2+6 0xd802 0xc1 0x5ca3 + * nct6796d-s 18 7 7 6+2 0xd801 0xc1 0x5ca3 + * nct6799d-r 18 7 7 6+2 0xd802 0xc1 0x5ca3 * * #temp lists the number of monitored temperature sources (first value) plus * the number of directly connectable temperature sensors (second value). diff --git a/drivers/hwmon/nct6775-platform.c b/drivers/hwmon/nct6775-platform.c index f43cb418c0338..9e68c99250afc 100644 --- a/drivers/hwmon/nct6775-platform.c +++ b/drivers/hwmon/nct6775-platform.c @@ -35,7 +35,7 @@ static const char * const nct6775_sio_names[] __initconst = { "NCT6796D", "NCT6797D", "NCT6798D", - "NCT6799D", + "NCT6796D-S/NCT6799D-R", }; static unsigned short force_id; -- 2.53.0