Received: by 2002:a25:ad19:0:0:0:0:0 with SMTP id y25csp663604ybi; Fri, 2 Aug 2019 02:12:53 -0700 (PDT) X-Google-Smtp-Source: APXvYqxXu+CngO3oOGz8VlT00+U4jqYnFO1VNWcNArNxFO39AqUEY87eip25S5qJF8V+z1m0/kOL X-Received: by 2002:aa7:8d98:: with SMTP id i24mr59330292pfr.199.1564737173451; Fri, 02 Aug 2019 02:12:53 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1564737173; cv=none; d=google.com; s=arc-20160816; b=QeW7wxasl2In7tDudnlP/KiJyAPyES2rsVGXN2iSViKS6dd4svOnzmAVR+h5do+xpe KaGOmZyTGKC9Yf5TOfOS9QTq+NqV365Tel89RjlxLlgh9D4oZ4i+hWpLJlR+vmX7NP+P 17XUjZlVJtHd8U1D9pHL7DAV4703vScgFCk6iXnpLuR61KnaNVCzR9rWcBZvZmXInjgJ azq4Xh0v3QstsaXBKypYwAyr/9XYkBRNBL5sXAD/XYjKvwtuJnlVFBJowqckQ/UvUoZK IMNjdH7qS9L3qbLuSyNDEBRY+LXqqtbQ1XFTNUg2hGHowCl/uih+l9kThLIFyws8nR0Q jV9Q== 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=aFWaj3cSyAp5cCruqVAXM269R+jXFA+hpQyudleBW8I=; b=1JA8fi2fCi3FUTUc6VM0WVi+zQmb3423S8+Q51d+WsQWhEHcksvOaX0xhITIx4PDdo Am6ZmMCNUv9RbGcitJJa/vn6c5TBtYveo8oYT2AmDwW+ZMbqvHggs0cLjAhrqHbsqMdj m9leYtbn1HK0D4Go5yIGk4VQ+M8RnBsKeFm0/LWmOipoo3Cymm6pdnUlJSuBQJ2hYPgm swACRnWespxv7cKo9+arW24n5MIrBhbjhRAv8Jt7rrCH7oMj2MMW4UHCem2XRTcbq3la uDJ7UZ007zVj4oLA1ZdBYZ3wyfqnvHJb41ytE6XH58EzbXskPBcLuoPvZFDBEJZqAGNH xPGw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@jms.id.au header.s=google header.b=R3+zgINs; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id r200si34834205pgr.518.2019.08.02.02.12.37; Fri, 02 Aug 2019 02:12:53 -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=@jms.id.au header.s=google header.b=R3+zgINs; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2388391AbfHBGKK (ORCPT + 99 others); Fri, 2 Aug 2019 02:10:10 -0400 Received: from mail-qt1-f195.google.com ([209.85.160.195]:33629 "EHLO mail-qt1-f195.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727403AbfHBGKJ (ORCPT ); Fri, 2 Aug 2019 02:10:09 -0400 Received: by mail-qt1-f195.google.com with SMTP id r6so68565574qtt.0 for ; Thu, 01 Aug 2019 23:10:09 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=jms.id.au; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=aFWaj3cSyAp5cCruqVAXM269R+jXFA+hpQyudleBW8I=; b=R3+zgINs75dLpE9xitGDlrbGtE/wzbCCZrUQRqXd1DkFAauk+rXBs5F/P6isRb82rQ fGCdP+uzBdeSYGqQpFlJB3PO3LQtniJfZDwC7aTY1w7I/MNKmSqPPLN5EwZ2gGwtY3KB /kjIdOGt+CsMNaXLGf9WLJI4inkssBNReoyCg= 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=aFWaj3cSyAp5cCruqVAXM269R+jXFA+hpQyudleBW8I=; b=K0I3LYmKudq7AQ0K1eRe0pbGG2jFk9X1Pivjme5sOX2J/4UIVuWeIpx/qG21zahvJ5 TwJz0Yke0o5aT3Rim2/8ceq/JS1oaaEGw5SpvwnsMLU3CoiXuH8jPDVogbvtZxinsQir Kgi95Obcttj3cDAfD20SCHcQMiEyix6bMkRGDEKzhutHeFcdIMUN1q9w66We2xv0HOp3 hrboXS1GfhgZJKI/nzY2gsDveyKY6u5y0M0q9OPPY906QVXoTWYNVvHzWan9c14hpNTN 9vP9BIXY1BoSIhqK+S8UlNbOkXQr6fyZkZTey/heMVcRd6pDdH6ZbHJf1cg7K/SSjMmo P0xg== X-Gm-Message-State: APjAAAXdEyflv555oBi6A7oVVlJqgptUBeovksmHljuDf58TlxHLuK1+ Xrp6T3sCxHUMo0AxtwwgK7tYEVp75KPP34Dw4FU= X-Received: by 2002:a05:6214:1306:: with SMTP id a6mr97906903qvv.38.1564726208597; Thu, 01 Aug 2019 23:10:08 -0700 (PDT) MIME-Version: 1.0 References: <20190730081832.271125-1-avifishman70@gmail.com> In-Reply-To: <20190730081832.271125-1-avifishman70@gmail.com> From: Joel Stanley Date: Fri, 2 Aug 2019 06:09:56 +0000 Message-ID: Subject: Re: [PATCH v2] mtd: spi-nor: Add Winbond w25q256jvm To: Avi Fishman Cc: tudor.ambarus@microchip.com, David Woodhouse , Brian Norris , miquel.raynal@bootlin.com, Richard Weinberger , vigneshr@ti.com, linux-mtd@lists.infradead.org, Linux Kernel Mailing List , Tomer Maimon , OpenBMC Maillist 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 On Tue, 30 Jul 2019 at 08:19, 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 Reviewed-by: Joel Stanley > --- > 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 03cc788511d5..74b41ec92414 100644 > --- a/drivers/mtd/spi-nor/spi-nor.c > +++ b/drivers/mtd/spi-nor/spi-nor.c > @@ -2151,6 +2151,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 >