Received: by 2002:ab2:6309:0:b0:1fb:d597:ff75 with SMTP id s9csp1150478lqt; Fri, 7 Jun 2024 09:18:47 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCX5mieaaKcYtbmMzaoJOn8C8onUO5VFKRrPwyuwCrdb3gdOiP65R+6rlLYA8T/636e9K5WFzLK/wa6L9goOVT+keffEzJ/ElE76Yy4utw== X-Google-Smtp-Source: AGHT+IHmUO6jDQwo2GEl+AXAi3MAZJ24BUmfWoo8oUrBNHHRfzyr7IJ/nlexceDr+k61EDwZCBxl X-Received: by 2002:a19:430f:0:b0:52b:7b8a:2d2f with SMTP id 2adb3069b0e04-52bb9f62745mr2201906e87.2.1717777127731; Fri, 07 Jun 2024 09:18:47 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1717777127; cv=pass; d=google.com; s=arc-20160816; b=jCI7klD6RuGY4nIsiqvVtikvxpEpHCQd5Y85pPxoWmTxSzPDnwFiFkTjOofaiTdnmO AatgxyPN46WhYj783+17qbXHulDtXZIROH5IWj6G+gVlfQUkgLEwNQRKHheQL4bxXhZV UlMpg8G9S0AIlZDqDD7c9EjibvFgnMqy8HqownIJ2uG3gUgxPNqNnpLpv+WLHMTw6cyp x4vivqU6JsvEY9uhDR+ytOF9lFpyydVOtfRj5hKHribc8Rj2aHNS6/7F/T6gXIG/7EGW gKuBDwyXKs9TPEQdf8W1tY/7jv3pkLuY6FT0yMd76NZbpaKJiEOk0oIfCmd1mXqq0U2V tlvw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=ui-outboundreport:content-transfer-encoding:in-reply-to:from :content-language:references:cc:to:subject:user-agent:mime-version :list-unsubscribe:list-subscribe:list-id:precedence:date:message-id :dkim-signature; bh=WpsPycSkNqefv/DFU2+Dhs9QAFbosKfQE+s+COBHjek=; fh=c8fYjp7V1T4Byzd/Fz/bfEEc6eKbdQahkrDdrbsAx7k=; b=07ErCDrE21vbr9wHUe1HTMKNbtY6H/AYYJBgkUopCmRIgTalBmh0A+I8+FGPDMUaQS rivtpUer1DqCTcHj5/mLWJKYmzxvzEWEzJNp9g70pDCWECjjDEhDrediE4JPl6taIqGO sZVP/50qFYTpTCnrFIIH+s65diqvdqwbSDIcqtppcf4eRMPBdKnJfEfQgyg85xBiy5bI o41CHhatK1AKmVV0sbJoFeK0fl97udm8/7zfb+e7rWeZoYY2+YVTOJXIs2sY4AORTPkX IRQu0ixj5feIGiTX3Q0vDtvXABaa2slonQmtvQJTS9LHe5IBwLW3G2KOwKWiBkOA9FdL Vs7A==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@gmx.de header.s=s31663417 header.b=qmH+qbV1; arc=pass (i=1 spf=pass spfdomain=gmx.de dkim=pass dkdomain=gmx.de dmarc=pass fromdomain=gmx.de); spf=pass (google.com: domain of linux-kernel+bounces-206456-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-206456-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=gmx.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-a6c80581250si202542666b.22.2024.06.07.09.18.47 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 07 Jun 2024 09:18:47 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-206456-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=@gmx.de header.s=s31663417 header.b=qmH+qbV1; arc=pass (i=1 spf=pass spfdomain=gmx.de dkim=pass dkdomain=gmx.de dmarc=pass fromdomain=gmx.de); spf=pass (google.com: domain of linux-kernel+bounces-206456-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-206456-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=gmx.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 3AE0B1F28A8F for ; Fri, 7 Jun 2024 16:08:37 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 8FA12199EBB; Fri, 7 Jun 2024 16:07:22 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmx.de header.i=w_armin@gmx.de header.b="qmH+qbV1" Received: from mout.gmx.net (mout.gmx.net [212.227.17.22]) (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 70C371993B5; Fri, 7 Jun 2024 16:07:19 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=212.227.17.22 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717776441; cv=none; b=i+UgyepDP8fFvftPvDHBO6TuF7lq2qy27HcDHIiyUu+VdLvXMbP3vLyBQTS8d8vIASlXqHMM9L8wpt+Hekuh2cMU1YSBEjaruOT4DgThsHfP/JpKl0R+8Dgzj47/XDIzfn89ng1MawukGvgqFBFmHfuvWq6jMNDUP0A6MJ109+Y= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717776441; c=relaxed/simple; bh=e060FibAN6dn7MpQtsRShU2TwVWcf8cJXNm5kggqNEE=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=e9+lpDad3rJtgtJ1ifL65dHy6Y37CtL7MHvZxan+WUviFJb/ccknqN2cwLaAvJ0Sa+xeE4PjUrW75gZobFTWdSrdDHQQUbqPB/JkbhIC0augXvBIrKrg8jj6g5pKIcU8zlqca+TuiyMQUdI1NH6RVOWRE6oaOhlHmcocU13m3x0= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=gmx.de; spf=pass smtp.mailfrom=gmx.de; dkim=pass (2048-bit key) header.d=gmx.de header.i=w_armin@gmx.de header.b=qmH+qbV1; arc=none smtp.client-ip=212.227.17.22 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=gmx.de Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmx.de DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmx.de; s=s31663417; t=1717776408; x=1718381208; i=w_armin@gmx.de; bh=WpsPycSkNqefv/DFU2+Dhs9QAFbosKfQE+s+COBHjek=; h=X-UI-Sender-Class:Message-ID:Date:MIME-Version:Subject:To:Cc: References:From:In-Reply-To:Content-Type: Content-Transfer-Encoding:cc:content-transfer-encoding: content-type:date:from:message-id:mime-version:reply-to:subject: to; b=qmH+qbV1XlN4xPNaXJca+WdLHKdPj1Zn6fxtZKD/K3DAtdHYELtYdCbsRl+0MXof Alkg/uxTkONug79tNzrqqhzhq2AWMtls3nYsecfghkuJXxj+J4QIXdF6LIE/Mvvp8 JaY+Mdcp0m8+pGS8KGk01MnVPzbDNZ3mAn4z+2mndHoNXZb9aA8SSP7sfRQvaAtqV StG+EhQOcBEhcnqE8P6690Cb+HBtQ+/UEjstaRKWskmPKVVto2aydGb6OJ8cHCbKE lA1TT7CM7RMM/AlqqoZcz42H47fNEldf5g9eR8cvfMTvFfT1gM+embdi13iTJMz4k hbH1hpQ6MBo1gzWoLQ== X-UI-Sender-Class: 724b4f7f-cbec-4199-ad4e-598c01a50d3a Received: from [141.30.226.129] ([141.30.226.129]) by mail.gmx.net (mrgmx104 [212.227.17.168]) with ESMTPSA (Nemesis) id 1MMobU-1rzBit3cW4-00LrTp; Fri, 07 Jun 2024 18:06:47 +0200 Message-ID: Date: Fri, 7 Jun 2024 18:06:47 +0200 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 5/6] i2c: smbus: Support DDR5 SPD EEPROMs 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?= , Stephen Horvath References: <20240604040237.1064024-1-linux@roeck-us.net> <20240604040237.1064024-6-linux@roeck-us.net> Content-Language: en-US From: Armin Wolf In-Reply-To: <20240604040237.1064024-6-linux@roeck-us.net> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: quoted-printable X-Provags-ID: V03:K1:m9nlxK5q1W4gn1wQ+3dfPZz1bRtMa5DYDrz3gb+BT/rgBF6HfRy h4XAlOCE7YNAs/Bmruwyjmk+EeZfKnhrfJMKoQrWSTqUamoqr0e5borArKVYLLOO7xmUp2W UceDH7ayjPB2PK3N0YCgSshSZlSB9y30aV5ctvOjAfvcQztcJJ4171B9GeTIpR3jgfVLo5R ta5Im3gtbwXpqRQT/o6ZA== X-Spam-Flag: NO UI-OutboundReport: notjunk:1;M01:P0:5FObOyZ0MWA=;g4SABbYYlkx5KCNJjhK+xGdWk7M 5ftpeTThh7KQ3YRrcb+RwIYzlflxyH9cMYpQ3KaWB4plqiRq9JYd+dwVFh69fQdROQnVKyWTN EbMSAZV2R7dFdf8fVRlpSezV+zJKC44SjTxcC3mPVXzx6oxP0esBOKtLPpazBtYkSU3UHnHSE i6xsBeBfwt4uc7+FU/w0PjAcAAu6NkTStRebWIfmxT0aNupGrV47S4mOoF1SGiXoF83FhUN9s uB27/gCSCpvkRVvG0SkZ0GDkHjTRJq27kXbeN1/EHoMZpXwctI3hBprhNMclEHDblUvETKict X5fP7/6NRqfVdQS7DwM5pj2CcorfEg93XJObAxB48AC7MHKkbut92a8cuJESl7nuRiAjRPD8D 0CdSEOAC/GYNN/5rvSc7zNq/dgrMbtRZ6e+rqZ+qs1x6OFatCcygsf5OWDbY5Uqa0kimlFThk sWLjy+maf2ngG2ndCNvY7YTBDhhhVAt3JwH4BbcSSbnCS8i+dfuCpD0fgws2XOhx/YLuk999X CrbXVqbIbx6fbyTdNTGTBuLKwXK7UShyiUd9u2nso26a3fpT1xpmkfjy1LKKpK6/OHgkavsV5 O2P1QU2RwCx4kqJZI/IHUGR2vJBB+0NY0SBRrkYTkpG2ixnYooaIG757CLkFN855FjgSxwg6S AcrPXvj0NbQY3iCAzlV27GtH9QqZ7DUmySWe1SIZKDbJ+wsQPhvv+UimWjONGpghgE7xR5GtU 4df46+9/I0y5s90IK7qODXCewsyQYQAnbmE/+yWm1ZuxpY51Zmn0AVFmO6ZOI1Zk3Hv5+0/yV oYCM2rG+WHOhkg2XIvhLq02VoFNyLAQXuwJpBWiZL41Ow= Am 04.06.24 um 06:02 schrieb Guenter Roeck: > Detect DDR5 memory and instantiate the SPD5118 driver automatically. Hi, the text "Only works for DDR, DDR2, DDR3 and DDR4 for now" should be updat= ed too. With this fixed: Reviewed-by: Armin Wolf > > Suggested-by: Thomas Wei=C3=9Fschuh > Cc: Wolfram Sang > Signed-off-by: Guenter Roeck > --- > v5: New patch > > drivers/i2c/i2c-smbus.c | 4 ++++ > 1 file changed, 4 insertions(+) > > diff --git a/drivers/i2c/i2c-smbus.c b/drivers/i2c/i2c-smbus.c > index 97f338b123b1..8a0dab835761 100644 > --- a/drivers/i2c/i2c-smbus.c > +++ b/drivers/i2c/i2c-smbus.c > @@ -382,6 +382,10 @@ void i2c_register_spd(struct i2c_adapter *adap) > case 0x1E: /* LPDDR4 */ > name =3D "ee1004"; > break; > + case 0x22: /* DDR5 */ > + case 0x23: /* LPDDR5 */ > + name =3D "spd5118"; > + break; > default: > dev_info(&adap->dev, > "Memory type 0x%02x not supported yet, not instantiating SPD\n",