From patchwork Fri Jun 16 03:01:36 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Benjamin Herrenschmidt X-Patchwork-Id: 776534 X-Patchwork-Delegate: cyrille.pitchen@atmel.com Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from bombadil.infradead.org (bombadil.infradead.org [65.50.211.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 3wplXG2XBKz9s82 for ; Fri, 16 Jun 2017 13:02:06 +1000 (AEST) Authentication-Results: ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="I6o6wVup"; dkim-atps=neutral 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:Date:To:From:Subject: Message-ID: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=fGA20IIcDvi/oQ9TuUrVjnDC14fpB7cVcHrXsaCgB/Y=; b=I6o6wVup+1d+RH L1HcN91lZw8oG9OGnYFsI98Bgb2Ytwiv8saZKgTVYg3PGMSZtAuvgzzwGaw7+D4I7jUKBTBbs5vIR MbMJCvcZmkzEDXvHfUeaKRkr9/B5Wdfi7cDrQT6EsRENyNexiYhJh9AWrCezK1LQW6E/PMeqHP+oA Ojv2Mf/8atKFUMirO3eNfcoqPwLVcatb7rNu7FLforq9+UiT5+5bH9FKeQG2H/lnKM3yLv7HVgN38 aa1j/7R6e9fdfdDNDww5WQyWYTkzjaLf3BesQqSK2ib9BeS+GgjIeCZw6qtxCiuKohA2A6xcE3M3J puZGil1ib2yWZUa6AfHA==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.87 #1 (Red Hat Linux)) id 1dLhWM-0003BN-St; Fri, 16 Jun 2017 03:02:02 +0000 Received: from gate.crashing.org ([63.228.1.57]) by bombadil.infradead.org with esmtps (Exim 4.87 #1 (Red Hat Linux)) id 1dLhWJ-0003A4-Rh for linux-mtd@lists.infradead.org; Fri, 16 Jun 2017 03:02:01 +0000 Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by gate.crashing.org (8.14.1/8.13.8) with ESMTP id v5G31a8c013109 for ; Thu, 15 Jun 2017 22:01:37 -0500 Message-ID: <1497582096.2897.93.camel@kernel.crashing.org> Subject: [PATCH] spi-nor: Add Winbond w25q512jv From: Benjamin Herrenschmidt To: "linux-mtd@lists.infradead.org" Date: Fri, 16 Jun 2017 13:01:36 +1000 X-Mailer: Evolution 3.22.6 (3.22.6-2.fc25) Mime-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20170615_200200_152053_01099625 X-CRM114-Status: UNSURE ( 4.98 ) X-CRM114-Notice: Please train this message. X-Spam-Score: -1.9 (-) X-Spam-Report: SpamAssassin version 3.4.1 on bombadil.infradead.org summary: Content analysis details: (-1.9 points) pts rule name description ---- ---------------------- -------------------------------------------------- 0.0 T_SPF_PERMERROR SPF: test of record failed (permerror) -0.0 T_RP_MATCHES_RCVD Envelope sender domain matches handover relay domain 0.0 T_SPF_HELO_PERMERROR SPF: test of HELO record failed (permerror) -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] 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 Similar to the other ones, different size. The "JV" suffix is in the datasheet, I haven't seen mentions of a different one. Signed-off-by: Benjamin Herrenschmidt --- a/drivers/mtd/spi-nor/spi-nor.c +++ b/drivers/mtd/spi-nor/spi-nor.c @@ -1160,6 +1160,7 @@ 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) }, +       { "w25q512jv", INFO(0xef7119, 0, 64 * 1024, 1024, SECT_4K) },           /* Catalyst / On Semiconductor -- non-JEDEC */         { "cat25c11", CAT25_INFO(  16, 8, 16, 1, SPI_NOR_NO_ERASE | SPI_NOR_NO_FR) },