[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <1424255528-1717-1-git-send-email-maxime.ripard@free-electrons.com>
Date: Wed, 18 Feb 2015 11:32:06 +0100
From: Maxime Ripard <maxime.ripard@...e-electrons.com>
To: Gregory Clement <gregory.clement@...e-electrons.com>,
Jason Cooper <jason@...edaemon.net>,
Andrew Lunn <andrew@...n.ch>,
Sebastian Hesselbarth <sebastian.hesselbarth@...il.com>,
Ezequiel Garcia <ezequiel.garcia@...e-electrons.com>,
Brian Norris <computersforpeace@...il.com>
Cc: linux-mtd@...ts.infradead.org,
Boris Brezillon <boris@...e-electrons.com>,
Thomas Petazzoni <thomas@...e-electrons.com>,
linux-arm-kernel@...ts.infradead.org, linux-kernel@...r.kernel.org,
Tawfik Bayouk <tawfik@...vell.com>,
Nadav Haklai <nadavh@...vell.com>,
Lior Amsalem <alior@...vell.com>,
Sudhakar Gundubogula <sudhakar@...vell.com>,
Seif Mazareeb <seif@...vell.com>,
Maxime Ripard <maxime.ripard@...e-electrons.com>
Subject: [PATCH v4 0/2] ARM: mvebu: a385-db-ap: Enable the NAND controller
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 v3:
- Fixed a typo in the commit log
- Reworked the FIFO draining function to not poll the RDDREQ
register on the last 32 bytes chunk, and handle non 32 bytes
aligned reads
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 | 48 +++++++++++++++++++++++++++++-----
2 files changed, 55 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@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists