Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756830AbbGPRoc (ORCPT ); Thu, 16 Jul 2015 13:44:32 -0400 Received: from mail-out.m-online.net ([212.18.0.9]:41932 "EHLO mail-out.m-online.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755944AbbGPRo2 (ORCPT ); Thu, 16 Jul 2015 13:44:28 -0400 X-Auth-Info: czcYzE8MNkwBH58CeZPPo4l8PAaZ7qgg9NgZT7qZ704= From: Marek Vasut To: Cyrille Pitchen Subject: Re: [PATCH 4/7] Documentation: mtd: add a DT property to set the latency code of Spansion memory Date: Thu, 16 Jul 2015 19:44:20 +0200 User-Agent: KMail/1.13.7 (Linux/3.14-2-amd64; KDE/4.13.1; x86_64; ; ) Cc: nicolas.ferre@atmel.com, broonie@kernel.org, linux-spi@vger.kernel.org, dwmw2@infradead.org, computersforpeace@gmail.com, zajec5@gmail.com, beanhuo@micron.com, juhosg@openwrt.org, shijie.huang@intel.com, ben@decadent.org.uk, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org, robh+dt@kernel.org, pawel.moll@arm.com, mark.rutland@arm.com, ijc+devicetree@hellion.org.uk, galak@codeaurora.org, linux-mtd@lists.infradead.org References: <398ca9f17bda638e05e97f258fb4e6d27ac828db.1437059658.git.cyrille.pitchen@atmel.com> In-Reply-To: <398ca9f17bda638e05e97f258fb4e6d27ac828db.1437059658.git.cyrille.pitchen@atmel.com> MIME-Version: 1.0 Content-Type: Text/Plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Message-Id: <201507161944.20523.marex@denx.de> Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 857 Lines: 22 On Thursday, July 16, 2015 at 05:27:51 PM, Cyrille Pitchen wrote: Hi! > Both the SPI controller and the NOR flash memory need to agree on the > number of dummy cycles to use for Fast Read commands. For Spansion > memories, this number of dummy cycles is not given directly but through a > so called "latency code". > The latency code can be found into the memory datasheet and depends on the > SPI clock frequency, the Fast Read op code and the Single/Dual Data Rate > mode. Shouldn't you be able to derive the latency code from the above information, which you already know then ? Best regards, Marek Vasut -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/