Received: by 2002:a25:ad19:0:0:0:0:0 with SMTP id y25csp3200814ybi; Sun, 14 Jul 2019 08:43:06 -0700 (PDT) X-Google-Smtp-Source: APXvYqxtKMrMNryP8qpBMoc1dh8ogqtUpTXCs1HdacxQWeIY082lSUyhhwBoUBydoLjwMwBBBVHy X-Received: by 2002:a17:90a:208d:: with SMTP id f13mr23463453pjg.68.1563118986122; Sun, 14 Jul 2019 08:43:06 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1563118986; cv=none; d=google.com; s=arc-20160816; b=Ik7Vgc1J6FiAAt6FFllAjPc3lFcPGQxqqcqP80/+FUJWF26hnfjXKd+LA2WAuwq+uk wtZ0ZH5x4neq5KPb3QbJcg7SY6HSA0JMfOKpSoB3YJAom7eTllj5lDhI6IUBjw6CBihV nRYWf806TLuDQiL7xeAfX5oMGcZCqD6AxpBLdHn3QRcQrz9Fv7sWioGNN8j4SYWcYlFX /XrNNWizzVUW9tBro5L+JVIyivuMYNo2+RcoBlqG4Blr1KZZZQhU04jy7MAURyjBvcmI BWhO7FA3AWufxvK92hu05IH015Zrx9Z8y08OskAQK5BtY+cxy1NNK5RPvV6CCE3I34+B K1mA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature; bh=h4bHQ1Jc5WTGlqwv+kn8JJgmRRoI96dt/IgZ72rjGBA=; b=bm95gc5/9rv/VXGjBWSdj7GE5/0epQXJ8LWODmURQFjUZJtp+1Afm2zn3x6YJssMqG /6Q8u7Dpx+fqExiI5tvWdvZF3pbYVc2Hnwt2UvJDGYr9SNedjb5ZYXhisx0xqyfcprKT 6PcqIaqLGNDL59rXeUbCCQhMsuxkGNHHkFQBZ6AGjwPCWVDnMeI8xGjsbywAxE3Sh37S MM7bTgRVJCk6923IzD9Ba+N8NcDsaZmdvKxWbtAKiFFcDXriq1zPsw/gKofIf7mCFpF8 p8cz3yO3qEdR+zG20UpJJUjN/pThA+3tTUwJOaLYV5IaMKqnJfPQS5mGSE0bOZK+c1yT TzpQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=EbTQ+Azt; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id b22si14048280pjb.82.2019.07.14.08.42.47; Sun, 14 Jul 2019 08:43:06 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=EbTQ+Azt; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728440AbfGNPkM (ORCPT + 99 others); Sun, 14 Jul 2019 11:40:12 -0400 Received: from mail-io1-f66.google.com ([209.85.166.66]:41271 "EHLO mail-io1-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728065AbfGNPkL (ORCPT ); Sun, 14 Jul 2019 11:40:11 -0400 Received: by mail-io1-f66.google.com with SMTP id j5so26116803ioj.8 for ; Sun, 14 Jul 2019 08:40:11 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=h4bHQ1Jc5WTGlqwv+kn8JJgmRRoI96dt/IgZ72rjGBA=; b=EbTQ+Aztyq+1j51yJyaXlSrersnYBW/r0zoiVuDyu0dByJxIupmw500q+tV1XItn3f fGPvHEoox/Z2H3e03WWBHc79byethRqRi+k9uixTxTuO23jbUomxPKTd6GvYAtaiPQ/i BsMn4aPMKMHujUFkvPFJLSBEmaL9p1TQgxkZAySXVbi7K49mzgSmmLNPnEmwk6SQ5yEb RPT1qxMUSl+rvW9rcrl0PnK4LG/WCY1Agi8HMWmiSVUYe1jxwuT9MAvWrBkS6TR8+nnb Yt/QsX/b/hRkM9trNmZDyCSaOIFJGcWZzCLVA70oHtdzYR+04HE81/hQddh/Kfp2ap6x 5wAg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=h4bHQ1Jc5WTGlqwv+kn8JJgmRRoI96dt/IgZ72rjGBA=; b=d7cmkzWs6kSfQKCzJTE7lUEIQsavnWcUbvZHDi0qF34vjspar02udBcuQ2fBAGucGV 1TXMr+NKSPvKwb2NeWdgUv/mpoxmBi79YVukaHHt7fzqv0r3102fJvaz2ZkSuJTY9O35 HiWQeaCiIoqpyeluElhGbiTIEcDdN9V/Y78+x/b7trivf4jAdORMapqWNjIJIkXXitqz 54G3xdI2aCxk3RgkK68552sc7lMQ3I4LWDgdQQ58RFVhsVv5Ax4yPKqQkQZiYkx1HjEw 9aKv3kzJ0KmcH8Dz17S/FzOTS9DLdU+3cZfrsnpLWKyBQ/tdMOVY75tKLpvafaXMr6u4 IAYA== X-Gm-Message-State: APjAAAWQ+yQnSzMfuage2IrTq1niVVW+YiU18GlVlKCM7b4vTbDcSCiA OWHUhvmifmTYCMJsKtqQ47ATzPJbpl4TEdRbzA== X-Received: by 2002:a02:b90e:: with SMTP id v14mr22926814jan.122.1563118811187; Sun, 14 Jul 2019 08:40:11 -0700 (PDT) MIME-Version: 1.0 References: <20190702133444.444440-1-avifishman70@gmail.com> In-Reply-To: <20190702133444.444440-1-avifishman70@gmail.com> From: Avi Fishman Date: Sun, 14 Jul 2019 18:39:29 +0300 Message-ID: Subject: Re: [PATCH] mtd: spi-nor: Add Winbond w25q256jvm To: Tudor Ambarus , David Woodhouse , Brian Norris , Miquel Raynal , Richard Weinberger , Vignesh Raghavendra , linux-mtd@lists.infradead.org, boris.brezillon@bootlin.com, robimarko@gmail.com, Willis Chai , Jerry Wang Cc: OpenBMC Maillist , Linux Kernel Mailing List , Tomer Maimon Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Tudor, Boris & Tudor, I see that you pushed this kind of commit of Winbond chip previously, can you please approve also this? On Tue, Jul 2, 2019 at 5:23 PM Avi Fishman wrote: > > Similar to w25q256 (besides not supporting QPI mode) but with different ID. > The "JVM" suffix is in the datasheet. > The datasheet indicates DUAL and QUAD are supported. > https://www.winbond.com/resource-files/w25q256jv%20spi%20revi%2010232018%20plus.pdf > > Signed-off-by: Avi Fishman > --- > drivers/mtd/spi-nor/spi-nor.c | 2 ++ > 1 file changed, 2 insertions(+) > > diff --git a/drivers/mtd/spi-nor/spi-nor.c b/drivers/mtd/spi-nor/spi-nor.c > index 0c2ec1c21434..ccb217a24404 100644 > --- a/drivers/mtd/spi-nor/spi-nor.c > +++ b/drivers/mtd/spi-nor/spi-nor.c > @@ -2120,6 +2120,8 @@ static const struct flash_info spi_nor_ids[] = { > { "w25q80bl", INFO(0xef4014, 0, 64 * 1024, 16, SECT_4K) }, > { "w25q128", INFO(0xef4018, 0, 64 * 1024, 256, SECT_4K) }, > { "w25q256", INFO(0xef4019, 0, 64 * 1024, 512, SECT_4K | SPI_NOR_DUAL_READ | SPI_NOR_QUAD_READ) }, > + { "w25q256jvm", INFO(0xef7019, 0, 64 * 1024, 512, > + SECT_4K | SPI_NOR_DUAL_READ | SPI_NOR_QUAD_READ) }, > { "w25m512jv", INFO(0xef7119, 0, 64 * 1024, 1024, > SECT_4K | SPI_NOR_QUAD_READ | SPI_NOR_DUAL_READ) }, > > -- > 2.18.0 > -- Regards, Avi