From patchwork Fri Sep 18 14:53:45 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Roger Quadros X-Patchwork-Id: 53915 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-wi0-f199.google.com (mail-wi0-f199.google.com [209.85.212.199]) by patches.linaro.org (Postfix) with ESMTPS id EECC6218E3 for ; Fri, 18 Sep 2015 14:58:48 +0000 (UTC) Received: by wicmn1 with SMTP id mn1sf9917533wic.1 for ; Fri, 18 Sep 2015 07:58:47 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:delivered-to:from:to:cc:subject:date:message-id :in-reply-to:references:mime-version:content-type:sender:precedence :list-id:x-original-sender:x-original-authentication-results :mailing-list:list-post:list-help:list-archive:list-unsubscribe; bh=AYjscbD0e7K1Vwv0WFmZQmR+hD42WmPTcKSNWjZKLEo=; b=QNbSOrtjV/qapfcFQl17cNgTDgTbw46Gl5SVbuC0zNvmNTp3SlZDPwSSMPq9RCkT9U IfYKgVR/OcBN/D5buq+ogZb3ebgOz/i8pHoiiadkmQw16JQKqfMHmw/FDKBJ19oLoDCt qGTprZ/2GAANd2rh9rfm2XwlChWrcgYEQylUxaPe0z1BQP5cabD41OF0WqZ1B30DoyNL izXzR7pgfA4wuT3Z9Iv6G7wi8AiFG3OlOMVzDGpk/HqEZ4ABhYLYO59Tt15K/EMWsb5S xA3RmxS+tdGRegpDZvAVGR4yAH7Zpzo6XU2ZXTHLb175rPW2ZkCZMJACQ2JSZ3QMkybT TbWg== X-Gm-Message-State: ALoCoQktBjGUqi1HsA2lTWnrVa6UX+K8ZQojmsZZ8i+EORFD9mKdIRZvBHb4QETaCqIqc2SFbbAH X-Received: by 10.112.55.69 with SMTP id q5mr967599lbp.24.1442588327808; Fri, 18 Sep 2015 07:58:47 -0700 (PDT) X-BeenThere: patchwork-forward@linaro.org Received: by 10.152.21.166 with SMTP id w6ls247198lae.10.gmail; Fri, 18 Sep 2015 07:58:47 -0700 (PDT) X-Received: by 10.112.171.69 with SMTP id as5mr3233653lbc.111.1442588327648; Fri, 18 Sep 2015 07:58:47 -0700 (PDT) Received: from mail-lb0-f177.google.com (mail-lb0-f177.google.com. [209.85.217.177]) by mx.google.com with ESMTPS id qv2si6265216lbb.0.2015.09.18.07.58.47 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 18 Sep 2015 07:58:47 -0700 (PDT) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.217.177 as permitted sender) client-ip=209.85.217.177; Received: by lbpo4 with SMTP id o4so26567614lbp.2 for ; Fri, 18 Sep 2015 07:58:47 -0700 (PDT) X-Received: by 10.112.135.9 with SMTP id po9mr3446730lbb.56.1442588327500; Fri, 18 Sep 2015 07:58:47 -0700 (PDT) X-Forwarded-To: patchwork-forward@linaro.org X-Forwarded-For: patch@linaro.org patchwork-forward@linaro.org Delivered-To: patch@linaro.org Received: by 10.112.59.35 with SMTP id w3csp346148lbq; Fri, 18 Sep 2015 07:58:46 -0700 (PDT) X-Received: by 10.50.64.147 with SMTP id o19mr34908925igs.32.1442588315285; Fri, 18 Sep 2015 07:58:35 -0700 (PDT) Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id t70si7110709ioi.204.2015.09.18.07.58.33; Fri, 18 Sep 2015 07:58:35 -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; Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754381AbbIRO5y (ORCPT + 30 others); Fri, 18 Sep 2015 10:57:54 -0400 Received: from bear.ext.ti.com ([192.94.94.41]:50541 "EHLO bear.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752054AbbIRO4X (ORCPT ); Fri, 18 Sep 2015 10:56:23 -0400 Received: from dflxv15.itg.ti.com ([128.247.5.124]) by bear.ext.ti.com (8.13.7/8.13.7) with ESMTP id t8IEtwlh025269; Fri, 18 Sep 2015 09:55:58 -0500 Received: from DFLE72.ent.ti.com (dfle72.ent.ti.com [128.247.5.109]) by dflxv15.itg.ti.com (8.14.3/8.13.8) with ESMTP id t8IEtwWI021142; Fri, 18 Sep 2015 09:55:58 -0500 Received: from dlep33.itg.ti.com (157.170.170.75) by DFLE72.ent.ti.com (128.247.5.109) with Microsoft SMTP Server id 14.3.224.2; Fri, 18 Sep 2015 09:55:58 -0500 Received: from rockdesk.ti.com (ileax41-snat.itg.ti.com [10.172.224.153]) by dlep33.itg.ti.com (8.14.3/8.13.8) with ESMTP id t8IEseAd002598; Fri, 18 Sep 2015 09:55:55 -0500 From: Roger Quadros To: CC: , , , , , , , , , , Roger Quadros Subject: [PATCH v3 23/27] ARM: dts: am437x-gp-evm: Provide NAND ready pin Date: Fri, 18 Sep 2015 17:53:45 +0300 Message-ID: <1442588029-13769-24-git-send-email-rogerq@ti.com> X-Mailer: git-send-email 2.1.4 In-Reply-To: <1442588029-13769-1-git-send-email-rogerq@ti.com> References: <1442588029-13769-1-git-send-email-rogerq@ti.com> MIME-Version: 1.0 Sender: linux-kernel-owner@vger.kernel.org Precedence: list List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Removed-Original-Auth: Dkim didn't pass. X-Original-Sender: rogerq@ti.com X-Original-Authentication-Results: mx.google.com; spf=pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.217.177 as permitted sender) smtp.mailfrom=patch+caf_=patchwork-forward=linaro.org@linaro.org Mailing-list: list patchwork-forward@linaro.org; contact patchwork-forward+owners@linaro.org X-Google-Group-Id: 836684582541 List-Post: , List-Help: , List-Archive: List-Unsubscribe: , On these boards NAND ready pin status is avilable over GPMC_WAIT0 pin. For NAND we don't use GPMC wait pin monitoring but get the NAND Ready/Busy# status using GPIOlib. GPMC driver provides the WAIT0 pin status over GPIOlib. Read speed increases from 16516 KiB/ to 18813 KiB/s and write speed was unchanged at 9941 KiB/s. Measured using mtd_speedtest.ko. Signed-off-by: Roger Quadros --- arch/arm/boot/dts/am437x-gp-evm.dts | 3 +-- arch/arm/boot/dts/am43x-epos-evm.dts | 3 +-- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/arch/arm/boot/dts/am437x-gp-evm.dts b/arch/arm/boot/dts/am437x-gp-evm.dts index aa96c99..d7bfe9f 100644 --- a/arch/arm/boot/dts/am437x-gp-evm.dts +++ b/arch/arm/boot/dts/am437x-gp-evm.dts @@ -800,6 +800,7 @@ reg = <0 0 4>; /* device IO registers */ interrupt-parent = <&gic>; interrupts = ; + ready-gpio = <&gpmc 0 GPIO_ACTIVE_HIGH>; /* gpmc_wait0 */ ti,nand-ecc-opt = "bch16"; ti,elm-id = <&elm>; nand-bus-width = <8>; @@ -818,11 +819,9 @@ gpmc,access-ns = <30>; gpmc,rd-cycle-ns = <40>; gpmc,wr-cycle-ns = <40>; - gpmc,wait-pin = <0>; gpmc,bus-turnaround-ns = <0>; gpmc,cycle2cycle-delay-ns = <0>; gpmc,clk-activation-ns = <0>; - gpmc,wait-monitoring-ns = <0>; gpmc,wr-access-ns = <40>; gpmc,wr-data-mux-bus-ns = <0>; /* MTD partition table */ diff --git a/arch/arm/boot/dts/am43x-epos-evm.dts b/arch/arm/boot/dts/am43x-epos-evm.dts index 9a7786d..4b26762 100644 --- a/arch/arm/boot/dts/am43x-epos-evm.dts +++ b/arch/arm/boot/dts/am43x-epos-evm.dts @@ -567,6 +567,7 @@ reg = <0 0 4>; /* CS0, offset 0, IO size 4 */ interrupt-parent = <&gic>; interrupts = ; + ready-gpio = <&gpmc 0 GPIO_ACTIVE_HIGH>; /* gpmc_wait0 */ ti,nand-ecc-opt = "bch16"; ti,elm-id = <&elm>; nand-bus-width = <8>; @@ -585,11 +586,9 @@ gpmc,access-ns = <30>; /* tCEA + 4*/ gpmc,rd-cycle-ns = <40>; gpmc,wr-cycle-ns = <40>; - gpmc,wait-pin = <0>; gpmc,bus-turnaround-ns = <0>; gpmc,cycle2cycle-delay-ns = <0>; gpmc,clk-activation-ns = <0>; - gpmc,wait-monitoring-ns = <0>; gpmc,wr-access-ns = <40>; gpmc,wr-data-mux-bus-ns = <0>; /* MTD partition table */