Received: by 2002:a25:ad19:0:0:0:0:0 with SMTP id y25csp3341672ybi; Tue, 2 Jul 2019 06:16:18 -0700 (PDT) X-Google-Smtp-Source: APXvYqySM9BGyJEfrEAohrZQVG+3sWGRqMv3KQFS/EFvfQx8/CE7NNwHgjpduXTuct0QaXmhMpa/ X-Received: by 2002:a17:902:2865:: with SMTP id e92mr34766882plb.264.1562073378757; Tue, 02 Jul 2019 06:16:18 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1562073378; cv=none; d=google.com; s=arc-20160816; b=PWp6vbhtHPzI0elIxkbC5mN+nos3wq4dUej8uKI6LaVz9LKojPIuX/LQZZgilMRV54 0E3fMvdLinyPHuRh1e13dt85gishJtEtb0l5gA/DRVhGAhf+NXRNcMZubFLLr7eGde3r KPHG0kpsfQda6KEWnyqYXuzs7PeLh047OZiglUxMkHy79m2AAiz/C36BDQ/hXD/PzuwG x7mA4LADxs1xbSLjwUU+5jWVdstCvzK/DcvJpG+n/V21iGTD0OKi9xdhDh9NP6VkbJO2 EjnFfFzLRN0rE//XW00KBNLVtaNnKcpobOKafIiC7mqkMm4ZqNpToLdaIpkRs0HZI4na aPCw== 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 :mime-version:dkim-signature; bh=0ztf1PZrt5oedAcicUONlFjNaMMVTARFA+N8wrNUA0Q=; b=pUQLjC4lJMqrFKmkXujGHoqAECLVCvH9XqUxsngWYzBPdh9hCu5aGXhItcmMFTVi6q 3Sa75GxOBhUns3lOAVA02T5rWbZCVmfFTwXUmUp4Jl+WYZ95pZ23W+FGtwqVeNPgO0s9 r3WWizEuWXdvSUGBCNppZWT2DjFCP6+bQjLueDCvgjoNPt2OXuVPY5O9QPK5nXxztWfF 4bl1Q9h67ibqdNrkretAOQQAoH4DAk2FK0zw+qSdfA0jtbHxoDmuYde8gL5qXFGnMz7y qhQLthI8Y9GpWlzc4ZOlcCrYXkXO0S+kdSRoEZBWPsbmhyI9JlKfQfvHkiAjl1zFnq28 DSeg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=iNncWwvr; 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 3si565957pfn.170.2019.07.02.06.16.03; Tue, 02 Jul 2019 06:16:18 -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=iNncWwvr; 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 S1727054AbfGBNPA (ORCPT + 99 others); Tue, 2 Jul 2019 09:15:00 -0400 Received: from mail-io1-f68.google.com ([209.85.166.68]:33566 "EHLO mail-io1-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726375AbfGBNO7 (ORCPT ); Tue, 2 Jul 2019 09:14:59 -0400 Received: by mail-io1-f68.google.com with SMTP id u13so36905777iop.0 for ; Tue, 02 Jul 2019 06:14:59 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:from:date:message-id:subject:to:cc; bh=0ztf1PZrt5oedAcicUONlFjNaMMVTARFA+N8wrNUA0Q=; b=iNncWwvr3JS+GVKMI8sE6eC6JPeOW0+/n7i58LiHB012ztLksHRJlxh3Dx/feaC/c8 WLDKUGg8QbTbvSU/T7QUCZ8szt5D05PzsX95kpiHiZVQUMqclatZAuKUzRcp0eaPFyII GUEEFK5XISpOKmQLQ1HShxxuEOWypcMZgih5/2c/WKpCMa6YuJ/8dyTC3Q2JEGhPFGdh fa2PtercOCt01XjTcsrJ+dte3/XLQvFruM3ctguP8K5igwqz458wdgeWwn+YbNLoLRig 2/zL9MfdnX87SJ5xAJjT6E/Njspq4/rtAFOnwC+4l9xtdn90Jpexxthdt60OOGN/Rz2c 8bUw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to:cc; bh=0ztf1PZrt5oedAcicUONlFjNaMMVTARFA+N8wrNUA0Q=; b=L6/5LrQikU7qy6f7eqfJFdnjvu+vgExA0gz+Qly/KQRWvcFDRiKC3gVk7Z6ap4VqFV 8lGXPJOroXohNYJmTxxsWzos5Qp3HhsLTsEvHBfzKYgEaVa5Ni5olZfEBsS2CDq7xRUi dRTq3+GnP/gPDrvwSG+aBXavBataL4fxywIEFeQ9DfCoqjE0ZuIZ9hXyWgVLLtY5fPv0 3AaM8L4DYEqtWIw9Aiqt9pAuyGACwayQVV4y4MgKS4CaqVkRc+m/RNMo33kxa4WZfika V0tY+UahGZCgUp9M3x1hmcnz3ShuaeAuawZyosv8mBBjwNSSKBK7pRkt2vXteofvkd0x ewbQ== X-Gm-Message-State: APjAAAVyTvpm4XolUkR54YUdOfJ7HnZYMXc2lxXqc+vFC7w495S9cx8l Lw3rqet8jDzDdpohEuXrLg4i5oeFF/lRPc1Xmw== X-Received: by 2002:a02:b914:: with SMTP id v20mr35251356jan.83.1562073299013; Tue, 02 Jul 2019 06:14:59 -0700 (PDT) MIME-Version: 1.0 From: Avi Fishman Date: Tue, 2 Jul 2019 16:14:16 +0300 Message-ID: Subject: [PATCH] mtd: spi-nor: Add Winbond w25q256jvm To: Tudor Ambarus , David Woodhouse , Brian Norris , Miquel Raynal , Richard Weinberger , Vignesh Raghavendra , Tomer Maimon Cc: linux-mtd@lists.infradead.org, Linux Kernel Mailing List , OpenBMC Maillist , Avi Fishman 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 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