From patchwork Tue Jun 20 06:20:28 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Joel Stanley X-Patchwork-Id: 105927 Delivered-To: patch@linaro.org Received: by 10.140.91.2 with SMTP id y2csp1215241qgd; Mon, 19 Jun 2017 23:21:19 -0700 (PDT) X-Received: by 10.98.25.19 with SMTP id 19mr29113764pfz.116.1497939679507; Mon, 19 Jun 2017 23:21:19 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1497939679; cv=none; d=google.com; s=arc-20160816; b=JlmCAAh+3DxK7iOPJb/BZlECElYn0EyslSwT60P0WXTysAmf8OIauFS5a09BwvsNmM xHzqi7+fgHpLVzCsvGSMasOTfGLHiu6NXDTxJZF7inK4V59so7Sc3mi9d+0QmOxa6vIg qE2hLc6RVkoKdiR34Tn2j39xjj2XMyMmoGTlwPkmIBRTXs4Vc6TZKeMP8pdgElj7Xv9z YdtyVuoJ97p2ohg7ipc7V7JpoW1weAjWrAetQ+KSTM0Ow+gIDmLkHnUJB97Lqtiy1K2T pr+H3cVGDq4R2hNE2GMFVEL2zFNctQxrWc2fNk5lJcDP6JddKJKItsKxgvt814BMeHbS GRjw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=errors-to:sender:content-transfer-encoding:mime-version:cc :list-subscribe:list-help:list-post:list-archive:list-unsubscribe :list-id:precedence:message-id:date:subject:to:from:dkim-signature :dkim-signature:arc-authentication-results; bh=4nRneawsFH5pcVt9ibLmt1NJ9VNGwdeyguQj0x4a3U8=; b=WnyDRuEXRrdVAHNgZD9EZDQR4Re9gO3Nogppjg2H+htJDvu4NiCaUeendbdsuXZNT9 MQY7dN3Ua/iizutHGqBSOabOPsCChYBJ/GVP+BDwsG9CZ3NBcw/ufDiT42TnMSrzjOSH VxSz6lAt1Gk1kwGl08MjwrRkkWEbug4JPqi9xkjh1Zww1TRIvLXnkDYQ1gOrnd/ixIMZ FI/hAM5YEf1m/T265QrWoruOzjvBjnyxvLSscQCDy0hFC8Ycay3klWvAx21E8LD21x8K pjaw90uNmNwbe8Nx8O690AoBLhgX0WrtOREJE0Snsd/EDE85KoZjipMjodhU5Ik0tc6Z +1vw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@lists.infradead.org header.b=ee48uQ5U; dkim=neutral (body hash did not verify) header.i=@gmail.com header.b=g4St9hpe; spf=pass (google.com: best guess record for domain of linux-mtd-bounces+patch=linaro.org@lists.infradead.org designates 65.50.211.133 as permitted sender) smtp.mailfrom=linux-mtd-bounces+patch=linaro.org@lists.infradead.org Return-Path: Received: from bombadil.infradead.org (bombadil.infradead.org. [65.50.211.133]) by mx.google.com with ESMTPS id q15si11422831plk.279.2017.06.19.23.21.19 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 19 Jun 2017 23:21:19 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-mtd-bounces+patch=linaro.org@lists.infradead.org designates 65.50.211.133 as permitted sender) client-ip=65.50.211.133; Authentication-Results: mx.google.com; dkim=pass header.i=@lists.infradead.org header.b=ee48uQ5U; dkim=neutral (body hash did not verify) header.i=@gmail.com header.b=g4St9hpe; spf=pass (google.com: best guess record for domain of linux-mtd-bounces+patch=linaro.org@lists.infradead.org designates 65.50.211.133 as permitted sender) smtp.mailfrom=linux-mtd-bounces+patch=linaro.org@lists.infradead.org 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:MIME-Version:Cc:List-Subscribe: List-Help:List-Post:List-Archive:List-Unsubscribe:List-Id:Message-Id:Date: Subject:To:From:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To: References:List-Owner; bh=4nRneawsFH5pcVt9ibLmt1NJ9VNGwdeyguQj0x4a3U8=; b=ee4 8uQ5UEOqu6jYEj57fJTm+SUSYF38Ge7v47g6MTc47LPO7VOr34k3fTVjbenXivYR1VxMabvmsxrCk vcImJYxVexfhAohzXkhd3eKOLYT8hxfMnhd6LIC6cpKHp0syeEi9qiWmF1RHRZ9gMNGxUOqPMVeDz CrQOGJs7V5x3GR3EN89FqgWNBkt2bzOvMlR+Bz1hUThmukjIwKmIVgp9UFMdPDGYeVWZzt8vxjLGX +KVlQKebMfqxandRJiVqRD6aCAHZXGxdY8u5c93GhWu+3wpSVR+2/b2Q5cF90+anRgyUdjIHFg4z5 jh9+B+xr7rqW4XWb2vClL+vqeGRioVQ==; 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 1dNCXE-0002F7-Jy; Tue, 20 Jun 2017 06:21:08 +0000 Received: from mail-pg0-x242.google.com ([2607:f8b0:400e:c05::242]) by bombadil.infradead.org with esmtps (Exim 4.87 #1 (Red Hat Linux)) id 1dNCX9-0002Eb-So for linux-mtd@lists.infradead.org; Tue, 20 Jun 2017 06:21:06 +0000 Received: by mail-pg0-x242.google.com with SMTP id j186so19655934pge.1 for ; Mon, 19 Jun 2017 23:20:43 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:from:to:cc:subject:date:message-id; bh=BnqcIFuUh5ndvCdUk6pxATeLzvtaCES6uyyiZqeYR2c=; b=g4St9hperoXSYe6pCkKVFTzb0r/AzQvX64Ub18tvniRy/SIXGGNV3BHHeQRk8Zm9Jw rlNmHHdSc2iRxOVlgdRMqr1hoQphBtK8Kdb7qAgAdts/yynB2VD9zCkiUA64AwPkt/Kf Tu+ExRcwuW5c9dr537FeC61uqyIA/IRp96szeIiJh88SJME9Fx/huUbUs5y3B6CSa5rE jSYz4jSmUnDeOMqEcIzIMXgq1f+khcDY70fbsP5vvllI3tI+Ptx/AVPTTmhsurv6/q8C NnTsOOXPBiH1f2hazqzouAFjssOvl1bLV3RR45MlnCKU0vOQeLMvReX5Vof35Ma+YOJ7 tjlA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:from:to:cc:subject:date:message-id; bh=BnqcIFuUh5ndvCdUk6pxATeLzvtaCES6uyyiZqeYR2c=; b=P68FLiUX0zZ7mA+W0JLYfIcI73cGwO0dDI9SBIm2IDaFIngho8CC91FBDT/DVRBAMk +NVuFURvjb4yHS4SgGJphaRM2MMHv7TpzDhbOAjCHa+9Tvr1EURrzv45zwNm3s6qvDn2 q18QK3BhoXdgCdfaMMjM4lHuAFnQi29i3DAHe26qaPNZ1NC4E+F4yDYmb/O2TKA0zm25 4V75TRJfTnnswZBhcyAS8H/ZlYDkA5lSQZ9Dfrn2EMKBky+XeF++oQy0tUM/DLZYZ+w6 mxD9YdKipXz1C+YRh9r5JpMHOZxtcbmZAkclyKx1vb2ito7+gXiehCn8jBoD1G8buEs+ yHuQ== X-Gm-Message-State: AKS2vOxpydQ2XxeYT8m7a/x/IwRuHc8MPDs8YsQlcc5zVlc3YFkG5p/o GJqu91KLOk3j0Q== X-Received: by 10.101.90.199 with SMTP id d7mr30346655pgt.70.1497939642772; Mon, 19 Jun 2017 23:20:42 -0700 (PDT) Received: from aurora.jms.id.au ([203.0.153.9]) by smtp.gmail.com with ESMTPSA id u194sm24431347pgb.24.2017.06.19.23.20.39 (version=TLS1 cipher=AES128-SHA bits=128/128); Mon, 19 Jun 2017 23:20:42 -0700 (PDT) Received: by aurora.jms.id.au (sSMTP sendmail emulation); Tue, 20 Jun 2017 15:50:35 +0930 From: Joel Stanley To: Cyrille Pitchen , Marek Vasut Subject: [PATCH v3] spi-nor: Add Winbond w25q512jv Date: Tue, 20 Jun 2017 15:50:28 +0930 Message-Id: <20170620062028.7520-1-joel@jms.id.au> X-Mailer: git-send-email 2.11.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20170619_232103_989478_5C6EC7AC X-CRM114-Status: UNSURE ( 8.96 ) 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 RCVD_IN_DNSWL_NONE RBL: Sender listed at http://www.dnswl.org/, no trust [2607:f8b0:400e:c05:0:0:0:242 listed in] [list.dnswl.org] -0.0 SPF_PASS SPF: sender matches SPF record 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider (joel.stan[at]gmail.com) -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily valid -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature 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: , Cc: Benjamin Herrenschmidt , linux-mtd@lists.infradead.org, =?utf-8?q?C=C3=A9dric_Le_Goater?= MIME-Version: 1.0 Sender: "linux-mtd" Errors-To: linux-mtd-bounces+patch=linaro.org@lists.infradead.org From: Benjamin Herrenschmidt Similar to the other ones, different size. The "JV" suffix is in the datasheet, I haven't seen mentions of a different one. The the datasheet indicates DUAL and QUAD are supported. http://www.winbond.com/resource-files/w25m512jv%20revc%2001062017.pdf Signed-off-by: Benjamin Herrenschmidt Signed-off-by: Joel Stanley --- v3: - Added the DUAL and QUAD flags for ben. Tested with aspeed-smc driver. drivers/mtd/spi-nor/spi-nor.c | 2 ++ 1 file changed, 2 insertions(+) -- 2.11.0 ______________________________________________________ Linux MTD discussion mailing list http://lists.infradead.org/mailman/listinfo/linux-mtd/ diff --git a/drivers/mtd/spi-nor/spi-nor.c b/drivers/mtd/spi-nor/spi-nor.c index eef55b597ec7..ad46dc82c8d1 100644 --- a/drivers/mtd/spi-nor/spi-nor.c +++ b/drivers/mtd/spi-nor/spi-nor.c @@ -1146,6 +1146,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) }, + { "w25q512jv", INFO(0xef7119, 0, 64 * 1024, 1024, + SECT_4K | SPI_NOR_QUAD_READ | SPI_NOR_DUAL_READ) }, /* Catalyst / On Semiconductor -- non-JEDEC */ { "cat25c11", CAT25_INFO( 16, 8, 16, 1, SPI_NOR_NO_ERASE | SPI_NOR_NO_FR) },