Received: by 2002:a05:6500:2018:b0:1fb:9675:f89d with SMTP id t24csp336301lqh; Fri, 31 May 2024 02:52:50 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCWinUYMZjexTRV+wiASoB0dVrZmx/sBXApY2OZP0STMgbn2fXZke0Gh7H1HpHxkRd2sEGe2W3MU7jDq5jh8re/GLb8QkN7Pu/LG91jykg== X-Google-Smtp-Source: AGHT+IFu82CcqPZ4RpKFYrjyl5bR2M0/pqO3CAhawpIkjYPOCUYFwx+Gi2hcCUVUJZKXKOD4dqjA X-Received: by 2002:a17:906:7046:b0:a59:ba2b:5921 with SMTP id a640c23a62f3a-a6822157e75mr104061066b.72.1717149170212; Fri, 31 May 2024 02:52:50 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1717149170; cv=pass; d=google.com; s=arc-20160816; b=OsujgL9tFHHWuQi0FQjTToERr3d5DmDTGMCzVjgG13iq0zwZQm3rgOqf38SHY3e+En tuwAZnglP1/tSPrirF7u/mcxgJxN3hDI/HbQYZ64FDnjnrO68HnwCty0qMOkx9hlFuSr SDyvsKw137Z3opSVdK9g4u2NEJhrnSdlKBGWYSNw5A+Hsh9gqZzHsJCmyZaIXIJ/rJ5G /OLEwtCs3UHyuS/qweNWS9ThLFK8maQjGokarVdi4YP2jA3dGQWSiX34OBDacPpRxfQZ CKloidxcU98oZ/utk8dLHSrBWFLjROWudZtOxg0L+49CGR6xTymjmVBI5eh2sJvJZo0B 7l9A== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-transfer-encoding:content-disposition :mime-version:list-unsubscribe:list-subscribe:list-id:precedence :references:message-id:subject:cc:to:from:date:dkim-signature; bh=XClobFd2FgWLnRo6kD12poZCg9JxhvLNwjsNHucFySs=; fh=9qFKlQHnevDYoWhe53H9RyyL76BSeUyH5C9Z519y6Ig=; b=D77YEHlToi9AJpbdwyY7tYCpURvjtZTPlAY4O+jBsCt5vFgX3WMJ7dCKYsWv2ua0pp cCw2DoEb5PofEyXlsRWURsyPzXvHjOKWHbAViSzRpZhqQa846wb+XpeJZHpBqmf+ends fvjdVVL8HBVrpUu6V+k+1vDUVn+3q5iRcQcvSTW/BfX00f84YSEeCIhq49iEAJqOc8nW 0yifb4BGrToCja2aQmcyzGIp+pgY2qtU0aJaVy9er+vu5Q7je9TSlWT8xPnV3JioJdta /DKNkxePYvd41DeYOIvO3z86bTAmTzRFjFu4QmCrHIO+N3m6Jmty7sqyqZuaXR206t42 6u/A==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@t-8ch.de header.s=mail header.b=LMgNvkDa; arc=pass (i=1 spf=pass spfdomain=t-8ch.de dkim=pass dkdomain=t-8ch.de dmarc=pass fromdomain=t-8ch.de); spf=pass (google.com: domain of linux-kernel+bounces-195473-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-195473-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=t-8ch.de Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [2604:1380:4601:e00::3]) by mx.google.com with ESMTPS id a640c23a62f3a-a67eaf654a7si79363666b.882.2024.05.31.02.52.50 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 31 May 2024 02:52:50 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-195473-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) client-ip=2604:1380:4601:e00::3; Authentication-Results: mx.google.com; dkim=pass header.i=@t-8ch.de header.s=mail header.b=LMgNvkDa; arc=pass (i=1 spf=pass spfdomain=t-8ch.de dkim=pass dkdomain=t-8ch.de dmarc=pass fromdomain=t-8ch.de); spf=pass (google.com: domain of linux-kernel+bounces-195473-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-195473-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=t-8ch.de Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by am.mirrors.kernel.org (Postfix) with ESMTPS id D4C861F23723 for ; Thu, 30 May 2024 13:57:34 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 8AAD3171B6; Thu, 30 May 2024 13:57:27 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=t-8ch.de header.i=@t-8ch.de header.b="LMgNvkDa" Received: from todd.t-8ch.de (todd.t-8ch.de [159.69.126.157]) (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 B5F201DA53; Thu, 30 May 2024 13:57:24 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=159.69.126.157 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717077446; cv=none; b=KWXmktQdTr5Iyd5AqdIpl7oC0OY2PnL2fPJXnUgt6N67F7tZlXp4af0HEg+00w6PXiTTaz3B7u+eSv4Egxeh0fcYHEM5tP0Z3hTiz6uIODZcPBwej0Da97XJBOkS2CSd0NmZXY/6DhGbrjodLXzHzi3PTmSMS8vDkzcrDz86trA= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717077446; c=relaxed/simple; bh=X/4tvSc6exJycujJ6Oy02jJMwIqe7aAn9t1ImHOdTkI=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=sw2WKlUU/KKVb6Cd7AEWX/GzkhlV26YO8WjE8f0ap+geFg5830cBhStj0amMH9pcMU0YnQ3wsG2Hae1ZCv8/Hhskj5cb5pkHoIIPc4gMAbW18vRNWWrq/tcyfc1WIelOdSjKJrbGKal78V1d45MLVTgTPPBfxNuMLV/tPt4Lq9E= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=t-8ch.de; spf=pass smtp.mailfrom=t-8ch.de; dkim=pass (1024-bit key) header.d=t-8ch.de header.i=@t-8ch.de header.b=LMgNvkDa; arc=none smtp.client-ip=159.69.126.157 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=t-8ch.de Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=t-8ch.de DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=t-8ch.de; s=mail; t=1717077442; bh=X/4tvSc6exJycujJ6Oy02jJMwIqe7aAn9t1ImHOdTkI=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=LMgNvkDac3vrvSUVNdZ9fHYPejRd8uhV/SaZkePvh/vy6hEWGi37691f+xSUzGS6B WEWQs3r41vYc8dJHAM03a8VfAcwK4ie00mV8Ol4zZTB6ZNP6KgrQi2CU5eL3go7V2G 3ur18Yj0ISfk1EaAEx5teiZY3+tYpo+r5ZxWERGE= Date: Thu, 30 May 2024 15:57:22 +0200 From: Thomas =?utf-8?Q?Wei=C3=9Fschuh?= To: Guenter Roeck Cc: linux-hwmon@vger.kernel.org, Hristo Venev , =?utf-8?B?UmVuw6k=?= Rebe , Rob Herring , Krzysztof Kozlowski , Conor Dooley , devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Radu Sabau Subject: Re: [PATCH 2/3] hwmon: Add support for SPD5118 compliant temperature sensors Message-ID: <1258a064-e23f-4079-b1f5-59017c28a210@t-8ch.de> References: <20240529205204.81208-1-linux@roeck-us.net> <20240529205204.81208-3-linux@roeck-us.net> <6d5c2ee5-6e0e-4d13-a977-493d2ee2c0ed@t-8ch.de> <9c7e050b-0e73-4388-bc58-5c4d3ed4f50a@roeck-us.net> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <9c7e050b-0e73-4388-bc58-5c4d3ed4f50a@roeck-us.net> On 2024-05-30 06:47:17+0000, Guenter Roeck wrote: > On 5/30/24 03:51, Thomas Weißschuh wrote: > > On 2024-05-29 13:52:03+0000, Guenter Roeck wrote: > > > Add support for SPD5118 (Jedec JESD300-5B.01) compliant temperature > > > sensors. Such sensors are typically found on DDR5 memory modules. > > > > > > Cc: René Rebe > > > Signed-off-by: Guenter Roeck > > > --- > > > Tested on MAG B650 TOMAHAWK WIFI with CMH32GX5M2B6000Z30 > > > (Corsair Venegance DDR5). > > > > > > René: I included you as MODULE_AUTHOR since the patch is derived from > > > your driver. Please let me know if you prefer not to be listed as > > > author. > > > > > > Documentation/hwmon/index.rst | 1 + > > > Documentation/hwmon/spd5118.rst | 60 ++++ > > > drivers/hwmon/Kconfig | 12 + > > > drivers/hwmon/Makefile | 1 + > > > drivers/hwmon/spd5118.c | 482 ++++++++++++++++++++++++++++++++ > > > 5 files changed, 556 insertions(+) > > > create mode 100644 Documentation/hwmon/spd5118.rst > > > create mode 100644 drivers/hwmon/spd5118.c > > > > With the Makefile and detect callback fixed: > > > > Reviewed-by: Thomas Weißschuh > > Tested-by: Thomas Weißschuh > > Thanks a lot for the feedback! > > If it is not too much trouble, could you send me a register dump ? > The one I have is from Montage Technology M88SPD5118, and I'd like to get > a few more to improve my module test script. From a Kingston KF556S40-32: # i2cdump 20 0x50 0 1 2 3 4 5 6 7 8 9 a b c d e f 0123456789abcdef 00: 51 18 0a 86 32 03 32 00 00 00 00 07 ff 3c 00 00 Q???2?2....?.<.. 10: 00 00 00 00 00 00 00 00 00 00 00 00 70 03 00 00 ............p?.. 20: 50 05 00 00 00 00 00 00 00 00 00 00 00 00 00 00 P?.............. 30: 00 f0 01 00 00 00 00 00 00 00 00 00 00 00 00 00 .??............. 40: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ 50: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ 60: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ 70: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ 80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ 90: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ a0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ b0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ c0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ d0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ e0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ f0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................