Received: by 2002:a05:6500:1b41:b0:1fb:d597:ff75 with SMTP id cz1csp159695lqb; Tue, 4 Jun 2024 07:54:48 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCXCECoA5rfGSD5ixQwDH27pqnKtfa2xWzQbx6sdxUMBlGkKf7lwSot3x/EvP7cHHQ3CNnhSPF1Br5A84OJzOdTDiRWxvtNvapMgEU02jg== X-Google-Smtp-Source: AGHT+IEvEXv+u02Aq75w/fbS6ltEEvC0iCPTVjH8Msxq1QYucHCyAvT0VKvmwTl1P+NyPe2q2Ng1 X-Received: by 2002:a05:6a20:72a7:b0:1b2:b5d1:4ee9 with SMTP id adf61e73a8af0-1b2b5d20fb7mr88371637.24.1717512887764; Tue, 04 Jun 2024 07:54:47 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1717512887; cv=pass; d=google.com; s=arc-20160816; b=Rf5ZXdrnLGX/u+iKSVwFlUveHJAbL0LvD3tyGo8SFkjHGXHG7x049ngAt05JTsoFUA q0ci+t4+fUC+6Hwv/WJUA7CYf1wUUqZEz0zqnajslzWI6NbP+CMMSREyVahr12DmMNoH L219uxzzh2IT4zNzob4kv+ifIB/yBpShq2KLIyhKi+RvKKUAjtRE4LMCMOdoEYq/cTc6 ItMO/dvxEQe39jdK1nZWaNXoDlB4F3xCFPYadNp70TU/tpL2giWe5b1G68RtY3MGN8UI hdiSmci/1oMVs+du/9IVYMjtzAHVUCrGjmQPFselut+ay5cyaEDZINJhgejzhmeThgkb 0LJA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:in-reply-to:autocrypt:from :content-language:references:cc:to:subject:user-agent:mime-version :list-unsubscribe:list-subscribe:list-id:precedence:date:message-id :sender:dkim-signature; bh=btxrm+NJ1/xNKhjXV8pJNpI5p98TsdjFZzhEY1yUR+o=; fh=xV5s6H6VELDSOrIRv9PicPr3yAs2NHRN7HdKcoYcc2E=; b=zKzOtXEOkGjs+dtDY0Qbll9WEESLmDQCH9RWmnIfD7GmVllsh+Hp0B/Dcnk4kAa2k2 6/h6EVeWR34RJsVkivBLLwLXbIaJK/vyaA28pnoTAYESihJFbGPkexH/ZcUtyYkMfahH Qofdmx+FucbK3uuSkya2ZZe6Y+GlmrW9/3sMRZmPCYIWpbi6Lmpkwoek2lCQbWrtUIEm 0w9FAUtltHaNjY9oBZYdY9g5yR4aDLsSyHbAzrNOR322Dw2mawFH4NF3V37nCg3rPVW1 Wn57jSWb4/shMs00c9yehcTzCxi9U/G2TuXiYQ01R65zEJWGMGppbwuD83cSJRNmLzlr n9DA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=XO4ZL1q5; arc=pass (i=1 spf=pass spfdomain=gmail.com dkim=pass dkdomain=gmail.com); spf=pass (google.com: domain of linux-kernel+bounces-200823-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-200823-linux.lists.archive=gmail.com@vger.kernel.org" Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [147.75.48.161]) by mx.google.com with ESMTPS id 41be03b00d2f7-6c3540faf38si8479518a12.99.2024.06.04.07.54.47 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 04 Jun 2024 07:54:47 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-200823-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) client-ip=147.75.48.161; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=XO4ZL1q5; arc=pass (i=1 spf=pass spfdomain=gmail.com dkim=pass dkdomain=gmail.com); spf=pass (google.com: domain of linux-kernel+bounces-200823-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-200823-linux.lists.archive=gmail.com@vger.kernel.org" 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 sy.mirrors.kernel.org (Postfix) with ESMTPS id 67F66B26B12 for ; Tue, 4 Jun 2024 14:32:56 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 18F201448DC; Tue, 4 Jun 2024 14:31:53 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="XO4ZL1q5" Received: from mail-pl1-f178.google.com (mail-pl1-f178.google.com [209.85.214.178]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 9A97113B5B7; Tue, 4 Jun 2024 14:31:50 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.214.178 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717511512; cv=none; b=N/Td9l/n/pLDJD9tU5+2RoM2Cc59zB4L8+D3rXGmrNSPTN0/OtHQFWVoAHxvUobXkDduoAoLytZxk/akMyxs88+AQrn0/jt8P2JoI+zXYgFKlHIJSHWhxNksV/TECP2YZRUIubr/B+Ax18omrdBz80t6EVdzc4ELVD+WJwjo//Y= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717511512; c=relaxed/simple; bh=RM+SjVMkg/K7DFppKMcbKWOM/ucNqttsWoRCyloK3M0=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=QuOKF9oFTKkOOZ2+95Mfl+y/2dXYBl9VQAy6bvPuxkS3aNJzbAep5iB/kJn6mTlgkFbmsFW9a7ThlpHQnWQuGf4HWLrUkimhJQIhK0XrWIuyK6iwqzA1kHuWfNt+plpP+1TBjOhEPH1xxahan0/W/kJa/TexAAkF+5UZkiO5XMs= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=roeck-us.net; spf=pass smtp.mailfrom=gmail.com; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b=XO4ZL1q5; arc=none smtp.client-ip=209.85.214.178 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=roeck-us.net Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Received: by mail-pl1-f178.google.com with SMTP id d9443c01a7336-1f44b5d0c50so42498165ad.2; Tue, 04 Jun 2024 07:31:50 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1717511510; x=1718116310; darn=vger.kernel.org; h=content-transfer-encoding:in-reply-to:autocrypt:from :content-language:references:cc:to:subject:user-agent:mime-version :date:message-id:sender:from:to:cc:subject:date:message-id:reply-to; bh=btxrm+NJ1/xNKhjXV8pJNpI5p98TsdjFZzhEY1yUR+o=; b=XO4ZL1q5Ew+X4qTeHyOhMulVEyE9bRGiut1mkP/abZj2XR9OLrjeuDgdTJQo1iwyYb qE8I5yU7M8iT6N0cMRKjNFESEOZao9vPpBbE+kiRYpaKvLV5jboypWfzYwwGL8tstHLL 3HJKwzftJLAlpH6Fn3wwgpolUudMjbEWVsnYYy3MsX6NCBO1j/2OPtu1aRYoKngjY0Wp v7vhkKNNNIHdzYEs8qS0XjNVkjPW5u3d55rh9JCAzsWnkH5Ndv6SLoSRzzy6e9RIs4JY qEv/Dv1OROq8fRAudY3BsJfsb3fwauoFn8HTnnDsdqBtyr6l01j/qAG7QnBm9rKMw7I6 jj3Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1717511510; x=1718116310; h=content-transfer-encoding:in-reply-to:autocrypt:from :content-language:references:cc:to:subject:user-agent:mime-version :date:message-id:sender:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=btxrm+NJ1/xNKhjXV8pJNpI5p98TsdjFZzhEY1yUR+o=; b=pt2WqIMr45y5JKU20ZxyhDv2bzCwnoqM6GRwnCsVYfbc30Ec2CYnSBzuEzCgTP5U/k w3aIXia12VJooypwxyHLrEaJaihAtHnQt/RmuLmuM3fG0ATZXcBCEgEo0UNuA6qG6K3M n+Hcdj0LnD7+ivh6LxzjCyp3GBCO227IOCd0izISmTjsVpSVHI2CpokVEyPqMZPpG0OF +C55v1XaNAfkrVY2G0HOjLDbT981u2j5TNWazFqV5WSYVuFAnu1lMbekoMgKN+n2kx3R gV475asx1WraRRaNJpXPNtizoWeu3Xg9zq9ypcw2osucTtddqzpVpnLgXHRwApWpAmcl GXCA== X-Forwarded-Encrypted: i=1; AJvYcCUKuckHThmOua+rI8RbLf0zei5GFttQCQ+HlR1HZU5fEg77902WKKDLANmzA86u6UcD6i17g5RGG3b62R3EclmysfVZNCDZH1Y81Sd6mTK8WS1bwDkKjvqhfE/DbP5xjWG+yYc2daBmVUDPyr6DXGg2tduxgTr3kIsdmIWFfFFG9wh0MX5a X-Gm-Message-State: AOJu0Yx7YrA1iR+edfz8afguLZZModdTU/ywk437J9jpvi3WXOhv65BN /wKFxMtCg9+vnMb8+g8w9FJwCfPYsxmB6OGiSB3JYP8hyvSOw4Of X-Received: by 2002:a17:902:fc48:b0:1f6:792c:6372 with SMTP id d9443c01a7336-1f6792c66e0mr70220135ad.47.1717511509717; Tue, 04 Jun 2024 07:31:49 -0700 (PDT) Received: from ?IPV6:2600:1700:e321:62f0:329c:23ff:fee3:9d7c? ([2600:1700:e321:62f0:329c:23ff:fee3:9d7c]) by smtp.gmail.com with ESMTPSA id d9443c01a7336-1f6323dde56sm86252335ad.165.2024.06.04.07.31.48 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 04 Jun 2024 07:31:49 -0700 (PDT) Sender: Guenter Roeck Message-ID: Date: Tue, 4 Jun 2024 07:31:48 -0700 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH v4 2/6] hwmon: Add support for SPD5118 compliant temperature sensors To: Stephen Horvath , linux-hwmon@vger.kernel.org Cc: linux-i2c@vger.kernel.org, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, Krzysztof Kozlowski , Wolfram Sang , =?UTF-8?Q?Ren=C3=A9_Rebe?= , =?UTF-8?Q?Thomas_Wei=C3=9Fschuh?= , Armin Wolf References: <20240604040237.1064024-1-linux@roeck-us.net> <20240604040237.1064024-3-linux@roeck-us.net> Content-Language: en-US From: Guenter Roeck Autocrypt: addr=linux@roeck-us.net; keydata= xsFNBE6H1WcBEACu6jIcw5kZ5dGeJ7E7B2uweQR/4FGxH10/H1O1+ApmcQ9i87XdZQiB9cpN RYHA7RCEK2dh6dDccykQk3bC90xXMPg+O3R+C/SkwcnUak1UZaeK/SwQbq/t0tkMzYDRxfJ7 nyFiKxUehbNF3r9qlJgPqONwX5vJy4/GvDHdddSCxV41P/ejsZ8PykxyJs98UWhF54tGRWFl 7i1xvaDB9lN5WTLRKSO7wICuLiSz5WZHXMkyF4d+/O5ll7yz/o/JxK5vO/sduYDIlFTvBZDh gzaEtNf5tQjsjG4io8E0Yq0ViobLkS2RTNZT8ICq/Jmvl0SpbHRvYwa2DhNsK0YjHFQBB0FX IdhdUEzNefcNcYvqigJpdICoP2e4yJSyflHFO4dr0OrdnGLe1Zi/8Xo/2+M1dSSEt196rXaC kwu2KgIgmkRBb3cp2vIBBIIowU8W3qC1+w+RdMUrZxKGWJ3juwcgveJlzMpMZNyM1jobSXZ0 VHGMNJ3MwXlrEFPXaYJgibcg6brM6wGfX/LBvc/haWw4yO24lT5eitm4UBdIy9pKkKmHHh7s jfZJkB5fWKVdoCv/omy6UyH6ykLOPFugl+hVL2Prf8xrXuZe1CMS7ID9Lc8F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R8O3HjSLdertmw7eyAYOo4RuWJguYMg5DRnBk WkRwrSuCn7UG+qVWZeKEsFKFOkynOs3pVbcbq1pxbhk3TRWCGRU5JolI4ohy/7JV1TVbjiDI HP/aVnm6NC8of26P40Pg8EdAhajZnHHjA7FrJXsy3cyIGqvg9os4rNkUWmrCfLLsZDHD8FnU mDW4+i+XlNFUPUYMrIKi9joBhu18ssf5i5Q= In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit On 6/4/24 01:48, Stephen Horvath wrote: > Hi, > > On 4/6/24 14:02, Guenter Roeck wrote: >> Add support for SPD5118 (Jedec JESD300) compliant temperature >> sensors. Such sensors are typically found on DDR5 memory modules. >> >> Cc: René Rebe >> Cc: Thomas Weißschuh >> Reviewed-by: Thomas Weißschuh >> Tested-by: Thomas Weißschuh >> Signed-off-by: Guenter Roeck >> --- >> v4: No change >> >> v3: Shorten JESD300-5B.01 to JESD300; 5B.01 refers to the version >>      of the standard >>      Drop unnecessary 'attr' parameter from spd5118_{read,write}_enable() >> >> v2: Drop PEC property documentation >>      Add note indicating that alarm attributes are sticky until read >>      to documentation >>      Fix detect function >>      Fix misspelling in Makefile (CONFIG_SENSORS_SPD5118->CONFIG_SENSORS_SPD5118) >> >>   Documentation/hwmon/index.rst   |   1 + >>   Documentation/hwmon/spd5118.rst |  55 ++++ >>   drivers/hwmon/Kconfig           |  12 + >>   drivers/hwmon/Makefile          |   1 + >>   drivers/hwmon/spd5118.c         | 481 ++++++++++++++++++++++++++++++++ >>   5 files changed, 550 insertions(+) >>   create mode 100644 Documentation/hwmon/spd5118.rst >>   create mode 100644 drivers/hwmon/spd5118.c >> > > It seems to report correct temperatures for my sticks, so I guess: > > Tested-by: Stephen Horvath > Thanks! Guenter