Received: by 2002:ab2:7903:0:b0:1fb:b500:807b with SMTP id a3csp1452554lqj; Tue, 4 Jun 2024 01:50:03 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCWZ0gJ6EYmGuXDfywbA4Jho4ghQXMtcsoHNCit04JdzOvlPtDXJAsMSrADRyZGv0DoGlhKKsL98B+DZzfcnh8SNOF/QDn9wa7ksuRpp+g== X-Google-Smtp-Source: AGHT+IHuY4LoSckKlZpFREXpRCbVtgxlLky8FPXBqEvRz8qKfXPOe85EvlkWDUvlmea6S3riHicP X-Received: by 2002:a05:6102:2169:b0:48b:c005:8aab with SMTP id ada2fe7eead31-48bc1e635aamr11576916137.0.1717491003484; Tue, 04 Jun 2024 01:50:03 -0700 (PDT) Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [2604:1380:45d1:ec00::1]) by mx.google.com with ESMTPS id af79cd13be357-794f3063f91si254966685a.283.2024.06.04.01.50.03 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 04 Jun 2024 01:50:03 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-200273-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) client-ip=2604:1380:45d1:ec00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@OUTLOOK.COM.AU header.s=selector1 header.b=LdnxwnwP; arc=fail (signature failed); spf=pass (google.com: domain of linux-kernel+bounces-200273-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-200273-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=outlook.com.au 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 ny.mirrors.kernel.org (Postfix) with ESMTPS id 077081C232CB for ; Tue, 4 Jun 2024 08:49:17 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 1263C1420D7; Tue, 4 Jun 2024 08:49:03 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=OUTLOOK.COM.AU header.i=@OUTLOOK.COM.AU header.b="LdnxwnwP" Received: from AUS01-ME3-obe.outbound.protection.outlook.com (mail-me3aus01olkn2160.outbound.protection.outlook.com [40.92.63.160]) (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 49CB222066; Tue, 4 Jun 2024 08:48:59 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=fail smtp.client-ip=40.92.63.160 ARC-Seal:i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717490941; cv=fail; b=ZDQ+jwYMKqT7Ua5DGl5XtWGXF/qkY5IAFjsUHW62kRHbUjo1fj68IESAF1lZVWzaLSRVgOiTRdEd1KT/c1+X5Jhxa7aF9SSFxgI5z6CcqKH8PIND8W0eAhfJ7QEMqTH1HOjnhPLXLRZw2OI1m2KcwvNryh+T4H5gqoBB5LE2CBQ= ARC-Message-Signature:i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717490941; c=relaxed/simple; bh=sliAdc9zknd4EPTPPygv/yar1UeOf2JBmCVI2u0MuWw=; h=Message-ID:Date:Subject:To:Cc:References:From:In-Reply-To: Content-Type:MIME-Version; b=Fx+No3+Iawh+SKGw3dFKy22TxDsuDGvjcClG3pGQdKcEes8Dcy52HaytGE04uGPm/9pIHV3vA0ObBkjO58kNjd5mcA0wpG6jov71JbY0c/hXe872evoaw1gDvhKNc6x5oPcnzwAH3PaDe7PPVQUF95kGorsfZkI8CrJg0YPkF8o= ARC-Authentication-Results:i=2; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=outlook.com.au; spf=pass smtp.mailfrom=outlook.com.au; dkim=pass (2048-bit key) header.d=OUTLOOK.COM.AU header.i=@OUTLOOK.COM.AU header.b=LdnxwnwP; arc=fail smtp.client-ip=40.92.63.160 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=outlook.com.au Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=outlook.com.au ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=jGiZghcCPFZvL8IZggChJ6lT6bz53+rI3eGzLGAOcolF2BHJac/0h9QAPBduE/P2q2RgVQYAWzNjLPOOWiQaHy7hk3opsnS/6D5RlT3d8OS0pM5ViVKZcDcm2eC6mGUuQ1wmrFdFHy/nP+UD4n1lr8UyH2Aoiqd7WvnOhzxW1pAXR2cA25PViy+G4jWS7Eu6bwOZ2HftY8Cd1UTHD7FS8Doe52zpgiRvXKFhfhpyVPtFwYO+wp94Nmr1xwi7DvvVTIEd1rMi1QUHSdN9LSPheVWAn0GV36C5cnWOh810d84AbLIiohzynV47lUfqehEfVUypCGRhVJK/vTZpQWmPtA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=gbQb2+2HmY5kY2Fdb25F8TfnULwCk59ICgHHEZ8Yr/8=; b=Bg5gGwPackXrTyPW2QdoREIQMo8XtW9nzFtBDR30YJjVTj0ZSySViTy1LYc4L7EUMohpQvVluMGIHxsHoRS21rjpZU76154YMK7OOVfO/jFL95A1MZHziizUORkRZd23CBiN2popS4ul3M/fFhX+e2dSnrXEZcS/wEdXRnPne+rpr7UBkh3X6QDzgRTr6cMJj4LsJ7+OQWitc5NIBCzyZJVTHm/kvzrbVAwNSJzo5qyO/3O27la+LoLsHTAOM52Dts0sbmutCa77T6UHML4vgYvkMA5U+Dh6kFFnxIUqNn2fMvreJID0AixDkSbCXEYtYuzJ1DpZPY5vWWbmFaLGQQ== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=none; dmarc=none; dkim=none; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=OUTLOOK.COM.AU; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=gbQb2+2HmY5kY2Fdb25F8TfnULwCk59ICgHHEZ8Yr/8=; b=LdnxwnwPW/BV/FcJfOS2ztl3ClmAa65ta2KQhHj8Tvz+L9sFPnIj/TtE1SDFGdkYm9vAMY8uWglyuwkE43BFJFOJxVPcFLtlpbJOGtx7NMPKdwB2QheB4bdIRn9iTScq1IfKb38D4y4YsVAmgBk8TVTw9yH3PHKQbjvAI3LZqhc9gdu0TLAzGEUsY1GW033lt7JRlP+Gq7CeeKZyIiYiJs6z8iQIBuy0ZFHewQbn4n52E4URWy/lZBwfpLiSD5ChgQY4M1A0MS3IxLsb6H6wPu/bkz97auZTQoYASZHIUo8aNtKyOWJ4R3dugSfIqPfZkh3Pk7MUiWMNlh7K00aClA== Received: from SY4P282MB3063.AUSP282.PROD.OUTLOOK.COM (2603:10c6:10:159::9) by SY7P282MB4571.AUSP282.PROD.OUTLOOK.COM (2603:10c6:10:27c::6) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7409.15; Tue, 4 Jun 2024 08:48:55 +0000 Received: from SY4P282MB3063.AUSP282.PROD.OUTLOOK.COM ([fe80::37cc:3733:d1e9:d8e4]) by SY4P282MB3063.AUSP282.PROD.OUTLOOK.COM ([fe80::37cc:3733:d1e9:d8e4%3]) with mapi id 15.20.7633.021; Tue, 4 Jun 2024 08:48:55 +0000 Message-ID: Date: Tue, 4 Jun 2024 18:48:52 +1000 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH v4 2/6] hwmon: Add support for SPD5118 compliant temperature sensors To: Guenter Roeck , 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-AU, en-US, en-GB From: Stephen Horvath In-Reply-To: <20240604040237.1064024-3-linux@roeck-us.net> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-TMN: [5Yp1q1fTKdMd5OIUcM9vBiS+GROZ3QAvQbsbmJ2pQHsMLvqkeKOkbqYlAVhB5Zyw] X-ClientProxiedBy: SY5P300CA0056.AUSP300.PROD.OUTLOOK.COM (2603:10c6:10:1fe::20) To SY4P282MB3063.AUSP282.PROD.OUTLOOK.COM (2603:10c6:10:159::9) X-Microsoft-Original-Message-ID: <286a8879-3995-4d6c-a9cf-12c61f0bf019@outlook.com.au> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-MS-Exchange-MessageSentRepresentingType: 1 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: SY4P282MB3063:EE_|SY7P282MB4571:EE_ X-MS-Office365-Filtering-Correlation-Id: d737b2fa-72c4-4874-a2ce-08dc84732a81 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: AiCh54RhxqxUMOKz23bT/Aylu4Ljuaekor4Za8Jg+xLlvo8sCfCEDdx7rdxW25D0WGmuBm3pmbklTrrFlzCqNLUs3fpXsnE+w/y2zGjUK/0wCg5wyXYKtETox7n0f5bQIrlShcD0AckojX/OAYu91oeL3NHpYsZh3aNHBEOZR7ZhbkFwK47J7C8qqKuMgS6rfZ+l5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ya2ZTWDNKUlRFdXhW?= =?utf-8?B?ZHRqSHVkVTU4YUJzdUdaSE1ZSUJIbHE0QmU4MFU3K0NxZXJrTUkycHlBVkVH?= =?utf-8?B?MWpXcXRwdjVud1JtMHpFQWxIZzd0bllpbCtNOXVtSEJ3ZXRVYUYxSGNJUENP?= =?utf-8?B?OWw2ejB4SE4yY0JVcHFoR0Q2Nzc5WnRTSUpKSkRkUjRjcUE2Z3YydHYxaWRJ?= =?utf-8?B?SjBoTFhpWFVzV3laREVxZHpTbUVZUHcyTjZIb1RiR2kwY21jazliWWVNVjZH?= =?utf-8?B?c054QWhERCtLajBmTk14bFpwblBwaCtoSlVRZjNNYkxGSEV4SGpnMWF2QnIw?= =?utf-8?Q?LIwlWtwOm3mmqFYYelZZmOxxaR/ZoFXsx3ByHWO?= X-OriginatorOrg: sct-15-20-4755-11-msonline-outlook-746f3.templateTenant X-MS-Exchange-CrossTenant-Network-Message-Id: d737b2fa-72c4-4874-a2ce-08dc84732a81 X-MS-Exchange-CrossTenant-AuthSource: SY4P282MB3063.AUSP282.PROD.OUTLOOK.COM X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 04 Jun 2024 08:48:55.1533 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 84df9e7f-e9f6-40af-b435-aaaaaaaaaaaa X-MS-Exchange-CrossTenant-RMS-PersistedConsumerOrg: 00000000-0000-0000-0000-000000000000 X-MS-Exchange-Transport-CrossTenantHeadersStamped: SY7P282MB4571 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, Steve