Received: by 2002:a25:ad19:0:0:0:0:0 with SMTP id y25csp3414799ybi; Tue, 2 Jul 2019 07:22:58 -0700 (PDT) X-Google-Smtp-Source: APXvYqx+1hF7BQkQ31Hoq3HuKXjsvjhysFqeYh0i3/fGLcDRkt8rgZ7/UgkMu5gqNjrIsOGQM7Qp X-Received: by 2002:a17:90a:3086:: with SMTP id h6mr6109676pjb.14.1562077378153; Tue, 02 Jul 2019 07:22:58 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1562077378; cv=none; d=google.com; s=arc-20160816; b=I3F41tjYjRBHzrLAfEqGo61UNX6maDo/MKGhDnlIG5z+IM1LC9k/bo8+7ggbGgbAkA aIKoAEeunyV+zwkChXAgquZKHusTMas4DiWPxjOBbb0RkCRTLLeQYyxfkkXR4CCHTB9j UyFFhYnDXrbp4Du8i3XSzUXJi1nx98egDhfFF0b7wK5qRU2flARJJw4rM63/jNXDvvkp 4S0q4Sto0cqYkdHI0ac30mvgpex1LwJQSFYDG9DaZrnjFulz+yvnB2gdjdZBAuoDG+5I 71SjDz8hOYkm6b6yUNrNk+AF9cYJueTJG9GCSQ0kP4tOFHSJdWotYIYJvR7VO9xPfWE7 PXdA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:date:subject:cc:to:from; bh=8bey1Wue0iCRiNEDwDx/cSBEGjdVg1tUFqupCEZKxwc=; b=hib/hKJwLDF8L10I0zOPVwpZelezlOdArKG0Uvcan6Hehm/pxb9FBkeO/yqrGRSe8s tTH0JJDbVLDWiO6MljtxqJWTf4dGxPWPMw3rlyzouzqV7Qyd5hWhsYNfponFtR4Iq+7x HyArKXGQlVqut6J/MheitS1YwH8J5Ug8e3nxtNNUWIMROeGTjJJ2W/vdjUWE1vGBIUq6 unvZoHR2ORVnLc8kLNdHI36eqYG3JgbsnNC0ugcE5o4z+P0DFvQLm52hNOagxDrnr8nO 7PV902YCqPRAjCLUd+4UDyKQEFLHMERmzZaYx249uDMH6JEf6J5+NnXn8LqGE0a9D9oi rSRw== ARC-Authentication-Results: i=1; mx.google.com; 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=fail (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 j9si12320117pgp.328.2019.07.02.07.22.42; Tue, 02 Jul 2019 07:22:58 -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; 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=fail (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727050AbfGBOWK (ORCPT + 99 others); Tue, 2 Jul 2019 10:22:10 -0400 Received: from 212.199.177.27.static.012.net.il ([212.199.177.27]:37289 "EHLO herzl.nuvoton.co.il" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1726803AbfGBOWK (ORCPT ); Tue, 2 Jul 2019 10:22:10 -0400 X-Greylist: delayed 2725 seconds by postgrey-1.27 at vger.kernel.org; Tue, 02 Jul 2019 10:22:09 EDT Received: from taln60.nuvoton.co.il (ntil-fw [212.199.177.25]) by herzl.nuvoton.co.il (8.13.8/8.13.8) with ESMTP id x62DZ7Dh025485; Tue, 2 Jul 2019 16:35:07 +0300 Received: by taln60.nuvoton.co.il (Postfix, from userid 8441) id 75DD761FCC; Tue, 2 Jul 2019 16:35:07 +0300 (IDT) From: Avi Fishman To: tudor.ambarus@microchip.com, dwmw2@infradead.org, computersforpeace@gmail.com, miquel.raynal@bootlin.com, richard@nod.at, vigneshr@ti.com, linux-mtd@lists.infradead.org Cc: avifishman70@gmail.com, linux-kernel@vger.kernel.org, tmaimon77@gmail.com, openbmc@lists.ozlabs.org Subject: [PATCH] mtd: spi-nor: Add Winbond w25q256jvm Date: Tue, 2 Jul 2019 16:34:44 +0300 Message-Id: <20190702133444.444440-1-avifishman70@gmail.com> X-Mailer: git-send-email 2.18.0 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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