From patchwork Fri May 25 14:48:11 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Johannes Poehlmann X-Patchwork-Id: 920607 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=none (mailfrom) smtp.mailfrom=lists.infradead.org (client-ip=2607:7c80:54:e::133; helo=bombadil.infradead.org; envelope-from=linux-mtd-bounces+incoming=patchwork.ozlabs.org@lists.infradead.org; receiver=) Authentication-Results: ozlabs.org; dmarc=none (p=none dis=none) header.from=izt-labs.de Authentication-Results: ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="iT0QtrbK"; dkim-atps=neutral Received: from bombadil.infradead.org (bombadil.infradead.org [IPv6:2607:7c80:54:e::133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 40spzX5XPYz9s01 for ; Sat, 26 May 2018 00:48:54 +1000 (AEST) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:Message-ID:Subject:To:From :Date:Reply-To:Cc:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References: List-Owner; bh=TVIchjIrSI+6tsy+i16dwzGAZPQursDtEw9T3ptbNI8=; b=iT0QtrbKxj+eg1 C/UlUjOk/i4lozaGH6atNmo5SggVM3AuRa6nS1u/7zxuAlVrlLZ4k00OznFnVHMcpQF1ucq9JH4a4 Bdw3XhCezGktV9GQFaTr8CsGdnBppP10iiitSCS1/ue3I0WVRF0Q+qs4PbS9x60Ul7QjNt0sYgYwg cYuwCRzML91JpCCJqtYWATDz5U4CkpfCc6sNTowcgwNLmDuJ4kMlQrPnYFDXy+2RzsS3Yt4v4w5y3 KzIyIbkvitbJcaxdmfh1qdo5ExNne0xggidS1oxtBC+Bhw4Ilsaq8aGBGzuDn0xlfFhcWrj/hBu0P NaocvoRHFdsK+zTqwkuA==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux)) id 1fME1S-0002My-Pz; Fri, 25 May 2018 14:48:50 +0000 Received: from mail.izt-labs.de ([82.135.25.162]) by bombadil.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux)) id 1fME1L-0002JN-P0 for linux-mtd@lists.infradead.org; Fri, 25 May 2018 14:48:48 +0000 Received: from localhost (unknown [127.0.0.1]) by mail.izt-labs.de (Postfix) with ESMTP id C3F14A7383 for ; Fri, 25 May 2018 14:48:25 +0000 (UTC) Received: from mail.izt-labs.de ([127.0.0.1]) by localhost (iztmail-dmz.izt-technologies.de [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id 12890-05 for ; Fri, 25 May 2018 16:48:16 +0200 (CEST) Received: from mail.izt.loc (mail.izt.loc [10.61.1.130]) by mail.izt-labs.de (Postfix) with ESMTP id E9780A734A for ; Fri, 25 May 2018 16:48:16 +0200 (CEST) Received: from ppcx2.izt.loc (ppcx2.izt.loc [10.61.1.187]) (Authenticated sender: phn) by mail.izt.loc (Postfix) with ESMTP id E32901D3DF for ; Fri, 25 May 2018 16:48:16 +0200 (CEST) Date: Fri, 25 May 2018 16:48:11 +0200 From: Johannes Poehlmann To: linux-mtd@lists.infradead.org Subject: [PATCH] new NOR flash winbond w25q16jv, jedec code 0xef7015 Message-ID: <20180525144811.GA27270@ppcx2.izt.loc> MIME-Version: 1.0 Content-Disposition: inline User-Agent: Mutt/1.5.23 (2014-03-12) X-Virus-Scanned: amavisd-new at izt-technologies.de X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20180525_074843_987329_6472C76D X-CRM114-Status: UNSURE ( 8.80 ) X-CRM114-Notice: Please train this message. X-Spam-Score: 0.0 (/) X-Spam-Report: SpamAssassin version 3.4.1 on bombadil.infradead.org summary: Content analysis details: (0.0 points) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at http://www.dnswl.org/, no trust [82.135.25.162 listed in list.dnswl.org] X-BeenThere: linux-mtd@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: Linux MTD discussion mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-mtd" Errors-To: linux-mtd-bounces+incoming=patchwork.ozlabs.org@lists.infradead.org Copy values from jedec code 0xef4015, which is also the jedec code of Winbond w25q16db. w25q16jv is presented as follow up type in the data sheet. w25q16jv works with this patch. Signed-off-by: Johannes Poehlmann --- drivers/mtd/spi-nor/spi-nor.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/mtd/spi-nor/spi-nor.c b/drivers/mtd/spi-nor/spi-nor.c index 5bfa36e..9bac67b 100644 --- a/drivers/mtd/spi-nor/spi-nor.c +++ b/drivers/mtd/spi-nor/spi-nor.c @@ -1188,6 +1188,7 @@ static const struct flash_info spi_nor_ids[] = { SECT_4K | SPI_NOR_DUAL_READ | SPI_NOR_QUAD_READ | SPI_NOR_HAS_LOCK | SPI_NOR_HAS_TB) }, + { "w25q16jv", INFO(0xef7015, 0, 64 * 1024, 32, SECT_4K | SPI_NOR_DUAL_READ | SPI_NOR_QUAD_READ) }, { "w25x32", INFO(0xef3016, 0, 64 * 1024, 64, SECT_4K) }, { "w25q20cl", INFO(0xef4012, 0, 64 * 1024, 4, SECT_4K) }, { "w25q20bw", INFO(0xef5012, 0, 64 * 1024, 4, SECT_4K) },