Received: by 2002:a25:ad19:0:0:0:0:0 with SMTP id y25csp4770182ybi; Tue, 30 Jul 2019 07:52:24 -0700 (PDT) X-Google-Smtp-Source: APXvYqx9EyDBgyekeIZyHzaflV/OufjgX+4n+v0Cf0X7sZJMcPkjO/UVdpp8mgHQ2eg4cVXdy+PO X-Received: by 2002:a62:303:: with SMTP id 3mr42057453pfd.118.1564498344490; Tue, 30 Jul 2019 07:52:24 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1564498344; cv=none; d=google.com; s=arc-20160816; b=NKj+v9BUMV2K882yh+odRtJBBNR5Md40prVSk/IJBhRD+M6CXHUiwNr34BqYkp8xh/ zbJDBZrEbCSfhK2Ao4Uhfp7OG0QvsP2Ov1Io/08UNON0PbwyiaH7zcjLdAzDHDtZQzYZ g4vK9lWWGuf7gwGHHRLEMTyuOfU74O+WLRGPevEDmsspSJ6m2Y081GfAuavehtPY5loJ muB+U4WqLsZYYcd7nXNwLbiVPM/qw6LdF15PEl1WVXD4dEyCyEZ+FBc90BMbCINWcZnG x9E7p1VTr/xD/e7HeHny8lIKhnaEbWSSLhWgZN1FogPTdwDOxL2TwaxSop27Amunkzr/ pPbg== 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=1ExJMXWn98DnzwcAVj2HGZhRfc0RTfyma5+s+fg4neY=; b=UAoBFX+vuU9VZ7Ay41Z2XeD9ygcVpFDcEfVnaFQ11cHSOQJ0oui9GjEK2ERFFyihpf G2mHbgsyvW+C1dVgYkMUR1l1qYKyQvPxrFMsHnjaDh1KuDpB+IMHHXv+yhld8M4EAF99 7FddiwErz3e33zT/pMlreiAgcWBV0ldLhhPStOVHK0j+S45GtSi4BDYWcCQo0OFzni4C U5XZrJB6hgWAcdwpL4zOVf6lsNoFIOw0CEFc/2uAkL6zxkhSkcChRHsHZ7CLY0FzHS2P ODUDG6G89o0mCsGr3FApSSksXWxAnXC5U51l1VSm3Kkz56OQqhBdCoIpLbI+JOPzPS9j j23w== 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 t15si28413966plo.360.2019.07.30.07.52.09; Tue, 30 Jul 2019 07:52:24 -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 S1730347AbfG3IUi (ORCPT + 99 others); Tue, 30 Jul 2019 04:20:38 -0400 Received: from 212.199.177.27.static.012.net.il ([212.199.177.27]:40166 "EHLO herzl.nuvoton.co.il" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1727129AbfG3IUi (ORCPT ); Tue, 30 Jul 2019 04:20:38 -0400 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 x6U8JLvX014526; Tue, 30 Jul 2019 11:19:22 +0300 Received: by taln60.nuvoton.co.il (Postfix, from userid 8441) id A126062A2E; Tue, 30 Jul 2019 11:19:21 +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, joel@jms.id.au, linux-mtd@lists.infradead.org Cc: avifishman70@gmail.com, linux-kernel@vger.kernel.org, tmaimon77@gmail.com, openbmc@lists.ozlabs.org Subject: [PATCH v2] mtd: spi-nor: Add Winbond w25q256jvm Date: Tue, 30 Jul 2019 11:18:32 +0300 Message-Id: <20190730081832.271125-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 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