Received: by 2002:ac0:a5a6:0:0:0:0:0 with SMTP id m35-v6csp1285250imm; Wed, 26 Sep 2018 15:08:53 -0700 (PDT) X-Google-Smtp-Source: ACcGV63CwdKrkbi4+dM0IT50QvrIfHO/P7UhqLyc6PyH4U/nW5RCePc7gi7ha4BmxIdgZU+YDLDD X-Received: by 2002:a17:902:6843:: with SMTP id f3-v6mr7937492pln.27.1537999732970; Wed, 26 Sep 2018 15:08:52 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1537999732; cv=none; d=google.com; s=arc-20160816; b=AU9O4zp2pQgcbm+M7so9pFu15QViLcyYKiHuZ6ehAHdqFfN4LG5i5vbiS6VP7npNV2 WhJ4/pMRMlxbpvDpMJ0PoEw+hdA2WpmVFe+XUiXszPZY9oHqHVRIEtsz7Zf3WI0mrdnl xWonQu17fnEdwEagNSXuf91c3Ktk0O8UG3hf8XJGwBMkZLtEQ+N1vnVdIizFSwm1E21+ zyxZTEsBvb1ZFdkptcfu2OInDNK+tvFXlR8LXaWpOBVRABWdOW/No+kjZUtibaT9Z4K6 cQ8DSAX3+a/ZWfg2ZwCmlDQLqug4/KnPQBIoHMq/rMYRCJaW5fQaGRdLlgEsL2JRtf81 TZNA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:message-id:date :subject:cc:to:from; bh=mur8UQ51DjQLSxerxuP6BhLB/MdVmlDPU8QH/1npqaI=; b=A4f8U2/IH2QH2Lasy6Wc0lr4DNvRO72s7AT6eJ7sF14K28tHt+PkimH88JNZVqa26q T3m//DnNvQYv5jY36ceYoi85XngiHlfer1+pw5xnr1aii5CIqxC0qGEd0K2Nhcfxt1ST PdrnCke4ajoohpPpyQlULG0JERdySNlUNt+UEjwp/HZokB3WiT6MkMhWQZgJoelU1Sl0 e81GdsW4ucrrRDBqzpRPwxedBW2w1cBTMbEIu0jVMsW0br+1TtcjUhNCFYoY00wCfly6 0xEBy4dFMFIi8GeyZYY9KJ5cFe9Srf/c6P8bSp4p/Q0AJFm55nlGUi5KIEW5/XOOI56N v0eg== 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id j189-v6si161957pgd.476.2018.09.26.15.08.38; Wed, 26 Sep 2018 15:08:52 -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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727203AbeI0EXY (ORCPT + 99 others); Thu, 27 Sep 2018 00:23:24 -0400 Received: from mail-out.m-online.net ([212.18.0.10]:49620 "EHLO mail-out.m-online.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726192AbeI0EXY (ORCPT ); Thu, 27 Sep 2018 00:23:24 -0400 Received: from frontend01.mail.m-online.net (unknown [192.168.8.182]) by mail-out.m-online.net (Postfix) with ESMTP id 42LBsH1qNpz1qv3Q; Thu, 27 Sep 2018 00:08:19 +0200 (CEST) Received: from localhost (dynscan1.mnet-online.de [192.168.6.70]) by mail.m-online.net (Postfix) with ESMTP id 42LBsH1W0gz1qqkx; Thu, 27 Sep 2018 00:08:19 +0200 (CEST) X-Virus-Scanned: amavisd-new at mnet-online.de Received: from mail.mnet-online.de ([192.168.8.182]) by localhost (dynscan1.mail.m-online.net [192.168.6.70]) (amavisd-new, port 10024) with ESMTP id mBFi4u0Ixaea; Thu, 27 Sep 2018 00:08:13 +0200 (CEST) X-Auth-Info: G3cSlPus583s1B3MpaxwZBJlKKP9u6bINvQCeZ682LM= Received: from localhost.localdomain (85-222-111-42.dynamic.chello.pl [85.222.111.42]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.mnet-online.de (Postfix) with ESMTPSA; Thu, 27 Sep 2018 00:08:12 +0200 (CEST) From: Lukasz Majewski To: Frieder Schrempf , boris.brezillon@bootlin.com, Mark Rutland Cc: linux-mtd@lists.infradead.org, linux-spi@vger.kernel.org, linux-kernel@vger.kernel.org, yogeshnarayan.gaur@nxp.com, richard@nod.at, Stefan Agner , Fabio Estevam , Fabio Estevam , prabhakar.kushwaha@nxp.com, han.xu@nxp.com, broonie@kernel.org, david.wolfe@nxp.com, computersforpeace@gmail.com, dwmw2@infradead.org, albert.aribaud@3adev.fr, Lukasz Majewski Subject: [RFC/RFT PATCH v1 7/9] mtd: spi: Add SPI_NOR_DUAL_READ property for the 'n25q128a13' Micron memory Date: Thu, 27 Sep 2018 00:07:37 +0200 Message-Id: <20180926220739.620-8-lukma@denx.de> X-Mailer: git-send-email 2.11.0 In-Reply-To: <20180926220739.620-1-lukma@denx.de> References: <20180926220739.620-1-lukma@denx.de> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This memory supports not only QUAD reads, but DUAL as well. Those are needed when two identical memories are used, but one is not using four lines for read I/O. Signed-off-by: Lukasz Majewski --- drivers/mtd/spi-nor/spi-nor.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/mtd/spi-nor/spi-nor.c b/drivers/mtd/spi-nor/spi-nor.c index f028277fb1ce..442102be174e 100644 --- a/drivers/mtd/spi-nor/spi-nor.c +++ b/drivers/mtd/spi-nor/spi-nor.c @@ -1103,7 +1103,7 @@ static const struct flash_info spi_nor_ids[] = { { "n25q064", INFO(0x20ba17, 0, 64 * 1024, 128, SECT_4K | SPI_NOR_QUAD_READ) }, { "n25q064a", INFO(0x20bb17, 0, 64 * 1024, 128, SECT_4K | SPI_NOR_QUAD_READ) }, { "n25q128a11", INFO(0x20bb18, 0, 64 * 1024, 256, SECT_4K | SPI_NOR_QUAD_READ) }, - { "n25q128a13", INFO(0x20ba18, 0, 64 * 1024, 256, SECT_4K | SPI_NOR_QUAD_READ) }, + { "n25q128a13", INFO(0x20ba18, 0, 64 * 1024, 256, SECT_4K | SPI_NOR_QUAD_READ | SPI_NOR_DUAL_READ) }, { "n25q256a", INFO(0x20ba19, 0, 64 * 1024, 512, SECT_4K | SPI_NOR_DUAL_READ | SPI_NOR_QUAD_READ) }, { "n25q256ax1", INFO(0x20bb19, 0, 64 * 1024, 512, SECT_4K | SPI_NOR_QUAD_READ) }, { "n25q512a", INFO(0x20bb20, 0, 64 * 1024, 1024, SECT_4K | USE_FSR | SPI_NOR_QUAD_READ) }, -- 2.11.0