Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755882AbbBPMzq (ORCPT ); Mon, 16 Feb 2015 07:55:46 -0500 Received: from down.free-electrons.com ([37.187.137.238]:57223 "EHLO mail.free-electrons.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1755509AbbBPMzF (ORCPT ); Mon, 16 Feb 2015 07:55:05 -0500 From: Maxime Ripard To: Gregory Clement , Jason Cooper , Andrew Lunn , Sebastian Hesselbarth , Ezequiel Garcia , Brian Norris Cc: linux-mtd@lists.infradead.org, Boris Brezillon , Thomas Petazzoni , linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Tawfik Bayouk , Nadav Haklai , Lior Amsalem , Sudhakar Gundubogula , Seif Mazareeb , Maxime Ripard Subject: [PATCH v3 0/2] ARM: mvebu: a385-db-ap: Enable the NAND controller Date: Mon, 16 Feb 2015 13:51:10 +0100 Message-Id: <1424091072-7738-1-git-send-email-maxime.ripard@free-electrons.com> X-Mailer: git-send-email 2.3.0 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1255 Lines: 41 Hi, This patch serie enable the NAND support on the Armada 385 Access Point DB. In the process, some timeouts were found when we were accessing a freshly erased NAND page, which turned out to be an issue when draining the read FIFO where we were not following the datasheet. This has been fixed with the first patch, with stable CC'd. The second patch just enables the NAND controller in the DT. Thanks, Maxime Changes from v2: - Read the status bits only every 32 bytes read, and not 32 bits like was done before. - Changed the timeout routine code not use the jiffies that won't change in an interrupt context. Changes from v1: - Added a timeout to the busy waiting loop for RDDREQ Maxime Ripard (2): mtd: nand: pxa3xx: Fix PIO FIFO draining ARM: mvebu: a385-db-ap: Enable the NAND arch/arm/boot/dts/armada-385-db-ap.dts | 13 ++++++++++ drivers/mtd/nand/pxa3xx_nand.c | 47 +++++++++++++++++++++++++++++----- 2 files changed, 54 insertions(+), 6 deletions(-) -- 2.3.0 -- 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/