Received: by 2002:a05:6359:c8b:b0:c7:702f:21d4 with SMTP id go11csp45685rwb; Thu, 6 Oct 2022 14:16:20 -0700 (PDT) X-Google-Smtp-Source: AMsMyM72QbcR7Wu6LyV/MxezAEfrSBdNkO6Vr2kAFVJesPzhl3jcaiLwnp62Ee7qkOOuJ6s1q2Lm X-Received: by 2002:a17:903:1cc:b0:178:44cd:e9e with SMTP id e12-20020a17090301cc00b0017844cd0e9emr1749026plh.158.1665090980324; Thu, 06 Oct 2022 14:16:20 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1665090980; cv=none; d=google.com; s=arc-20160816; b=O/nSlzbSHdkVo9b0gyYYDBcKXkl4vmF7F990ILi9WdeeYc8lasMacdKM+e39OK9b91 Q+8BScUl5xuM7H7sshCxCJueRiJPVbgcsgxCuer1d+QEFuqPiMSTTUPo1upVgIqOtAhT PGmgzFKQglb/V3LzWCv45YuChO3EB5H7o7Nqo0VWeSMpAjOMpWx0Ld5gPZOlZCkvV+Lq hyUOgDCCL9UhuVDFaI5M1SwWmRlzNjkdE2sndJDiZZsuXEWxaHVyFhe3QvU+oq8SHSAI fWICGv61/FR+Y4OGYHn+NuCyEtCaLBLnyhKoUYCkbMIjuC2dtU5N4dkN5QkGmbtGgAUU C9Ug== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:feedback-id :dkim-signature:dkim-signature; bh=2Vt43tPiKBfkhja3fpNj7tuMYpusFW0Gr3lyy/nnqpE=; b=fE+BLu49HRD946lRCGt6PGAaw2WufA20Y/oJR3mTBfyf7rvy/XBbXcKfmIRimTPfSx U3+AlilWKH0aMGXLJB3sT33ApO2oP5fim7DTkacQFLwk1+8EkHeN+LJSTLwf1+18j8cP S/8bj7IK/g1Yx/vrOMe6bNY1NqEPNQQwNvANTldyUELKHT2xkMAhz24wOXcn0nSO5LPe RrGHu6Y8hfXV27LpJ8EDJ8uOwPyBE/OHtHp45eDngT8MGY4YeXgfUG+fDhaP2v/kUrO3 aJxAhw9boPOkKnhmviwzR1EeuNG5io9FHxz3iMyHV1JFlR6hso0lm6gwmJYl9sVWWEsB e0AQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@stwcx.xyz header.s=fm1 header.b="isN/OcZ3"; dkim=pass header.i=@messagingengine.com header.s=fm2 header.b=UeNEiJMc; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id mw4-20020a17090b4d0400b001fe30008cd0si521961pjb.166.2022.10.06.14.16.03; Thu, 06 Oct 2022 14:16:20 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@stwcx.xyz header.s=fm1 header.b="isN/OcZ3"; dkim=pass header.i=@messagingengine.com header.s=fm2 header.b=UeNEiJMc; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232076AbiJFU1M (ORCPT + 99 others); Thu, 6 Oct 2022 16:27:12 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:33586 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232047AbiJFU1G (ORCPT ); Thu, 6 Oct 2022 16:27:06 -0400 Received: from out1-smtp.messagingengine.com (out1-smtp.messagingengine.com [66.111.4.25]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C3DBC2F02E for ; Thu, 6 Oct 2022 13:27:02 -0700 (PDT) Received: from compute3.internal (compute3.nyi.internal [10.202.2.43]) by mailout.nyi.internal (Postfix) with ESMTP id 339CF5C00C8; Thu, 6 Oct 2022 16:26:59 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute3.internal (MEProxy); Thu, 06 Oct 2022 16:26:59 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=stwcx.xyz; h=cc :cc:content-type:date:date:from:from:in-reply-to:in-reply-to :message-id:mime-version:references:reply-to:sender:subject :subject:to:to; s=fm1; t=1665088019; x=1665174419; bh=2Vt43tPiKB fkhja3fpNj7tuMYpusFW0Gr3lyy/nnqpE=; b=isN/OcZ30egd/brU/i9wevQDZE NFortLRxoILVYQucVp2l30Iu5/6e9cuJf+/C1bF8xtUafAzZTJHOwhdJ1BcQaT32 tXe3uXSXK5ztiad9OG4dVwvcPguOHRgA3e/NHqhxLmqO47OeW7pXVWlXKLHWFKqD 3YHVqorYpnmVYPz7hS0cyeJ6VhQjKg6xT2ql3FhVKDXuYhN0TsQNHsdzgXDKBnkE Ue5dy+JZplVhgaWDiF+t29ZqAdaXu9JXRtjMIEWUMIiZB5qqRvqKgL9nCULrTaCM yuIYxUkMUfqfqnAkNrgwRz9WM/kTYTYy33JbMj7Z513jxgyttWulIdfNsYKw== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-type:date:date:feedback-id :feedback-id:from:from:in-reply-to:in-reply-to:message-id :mime-version:references:reply-to:sender:subject:subject:to:to :x-me-proxy:x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s= fm2; t=1665088019; x=1665174419; bh=2Vt43tPiKBfkhja3fpNj7tuMYpus FW0Gr3lyy/nnqpE=; b=UeNEiJMc8szVAqSurCfeC9sTM37agieoILOYR4BBEwfI iKO0MXTgi2PTWVVk9gJTibVOq5U19AVcFW/4L7fqBBCb0jw1OZ424GpZ7ACi0oF/ 9eAW0Sl/oicqhgp57de1OfjSfOnunVY+MBu7yIkLCSi0rebq0Sx/i7L4XjlwndCa 2GgPR8ULfc820z04T7RGsCQJuj/B9YyDTz/dnMS/L4U20xTdvwlqVmdxgb3RvCn2 AvxcBuDLhFeybCf2twM5X6thNrc+JQe3qz/QS0Xu/Lb/GSb9/LBw5XlLArxun9If 8f3WRxImyYXRw4LXfbTEzMiEx2Snei67YV8I08ZByA== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvfedrfeeihedgudeglecutefuodetggdotefrod ftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfgh necuuegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmd enfghrlhcuvffnffculddvfedmnecujfgurhepfffhvfevuffkfhggtggujgesghdtreer tddtvdenucfhrhhomheprfgrthhrihgtkhcuhghilhhlihgrmhhsuceophgrthhrihgtkh esshhtfigtgidrgiihiieqnecuggftrfgrthhtvghrnhepjefgtdelledvfedtgeegffef ueefveegjeekleegueejveevueefiefgiedvjeejnecuffhomhgrihhnpehkvghrnhgvlh drohhrghenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfhhrohhm pehprghtrhhitghksehsthiftgigrdighiii X-ME-Proxy: Feedback-ID: i68a1478a:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Thu, 6 Oct 2022 16:26:57 -0400 (EDT) Date: Thu, 6 Oct 2022 15:26:56 -0500 From: Patrick Williams To: Michael Walle , Potin Lai Cc: Delphine CC Chiu , ~sircmpwn/email-test-drive@lists.sr.ht, garnermic@fb.com, Tudor Ambarus , Pratyush Yadav , Miquel Raynal , Richard Weinberger , Vignesh Raghavendra , linux-mtd@lists.infradead.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] mtd: spi-nor: winbond: add support for w25q01jv-im Message-ID: References: <20221006070841.2106194-1-Delphine_CC_Chiu@Wiwynn.com> <0dde4fa6ddeefa23314dbdcd1dd1b28b@walle.cc> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="L+AQa5HFPPMOr8/v" Content-Disposition: inline In-Reply-To: <0dde4fa6ddeefa23314dbdcd1dd1b28b@walle.cc> X-Spam-Status: No, score=-2.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FROM_SUSPICIOUS_NTLD, RCVD_IN_DNSWL_LOW,RCVD_IN_MSPIKE_H3,RCVD_IN_MSPIKE_WL,SPF_HELO_PASS, SPF_PASS,T_PDS_OTHER_BAD_TLD autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --L+AQa5HFPPMOr8/v Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu, Oct 06, 2022 at 01:52:33PM +0200, Michael Walle wrote: > Hi, >=20 > Am 2022-10-06 09:08, schrieb Delphine CC Chiu: > > Add support for winbond w25q01jv-im chip. > >=20 > > Signed-off-by: Delphine CC Chiu > > --- > > drivers/mtd/spi-nor/winbond.c | 3 +++ > > 1 file changed, 3 insertions(+) > >=20 > > diff --git a/drivers/mtd/spi-nor/winbond.c=20 > > b/drivers/mtd/spi-nor/winbond.c > > index ffaa24055259..2b02b05ceb0a 100644 > > --- a/drivers/mtd/spi-nor/winbond.c > > +++ b/drivers/mtd/spi-nor/winbond.c > > @@ -139,6 +139,9 @@ static const struct flash_info winbond_nor_parts[]= =20 > > =3D { > > { "w25q512jvq", INFO(0xef4020, 0, 64 * 1024, 1024) > > NO_SFDP_FLAGS(SECT_4K | SPI_NOR_DUAL_READ | > > SPI_NOR_QUAD_READ) }, > > + { "w25q01jv-im", INFO(0xef7021, 0, 64 * 1024, 2048) >=20 > The name should be w25q01jvm. >=20 > > + NO_SFDP_FLAGS(SECT_4K | SPI_NOR_DUAL_READ | > > + SPI_NOR_QUAD_READ) }, >=20 > That flash should support SFDP, so please try the following: > + { "w25q01jvm", INFO(0xef7021, 0, 0, 0) PARSE_SFDP }, >=20 > Also, we require an SFDP dump for new flash submissions, see [1]. >=20 > -michael >=20 > [1]=20 > https://lore.kernel.org/linux-mtd/4304e19f3399a0a6e856119d01ccabe0@walle.= cc/ It looks like this was already attempted to be added: https://lore.kernel.org/all/20220222085148.21594-1-potin.lai@quantatw.com/ Potin, do you have an update? --=20 Patrick Williams --L+AQa5HFPPMOr8/v Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCAAdFiEEBGD9ii4LE9cNbqJBqwNHzC0AwRkFAmM/Og4ACgkQqwNHzC0A wRnafA/+NMv98UWc9p5+yhEAkMiT7KoYEODS+j/IJFnkAO/mhqQXRKpOi+lu9y/m qVWP0wKzFxlTlCuDpx3GqRgR8u2q5XrWw8FODEd1GjjCm31GQO+6Dk5/GB39rpWW KKfGBoXTl613No3K0oB93ZlA9mPL16ZRli7pulrCugND62VfAqqhRBfuPkRG6zhj o92osIFJg8uTa7uUs0SfqRoW/YGDfhj4zLzPabrnWEiYeJ6InVl0KCWzIHrYSgYa 3cK0n+zLRkZ445OW50LsCuoqTQ4VbmKP5sKHvBETZLiSuWGA8cZt9GeZXZXN67Jb 7TjRPvzY51l4I7VAWDFIvo+TifETbZ9TGcoxvYqdX3hLqcxJuPHoFiwJq556jYWp GJiROykvfOC/Vny/vhkPv/CcAFtbBOFYO3T3zgMWjlhVcjl5AHEKHJZJtB44qy2V vR4e+kK/RM3ONrEKE/sOpAVgj7gReBWIHoW6GIRXU0TdljsRzJOFeVb45bTgAM4T ap4lqiJQ6VZwtJ/XrgjvRojKOv/NBvqSH7bgBr5hxfaL3mZrN7/cvKswrSNFPjsG EJK6rg9mu7UgbpiuN6n12/LhXQq4Iash1uZHX8nngvXRgQmJOiMX8FcIRxmPcn6I aOMClErigDGCILguFGDWqCb7yfT5hlf7k5TwF6CvFgX4OgMR6cE= =OlUA -----END PGP SIGNATURE----- --L+AQa5HFPPMOr8/v--