From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from 18.mo6.mail-out.ovh.net ([46.105.73.110] helo=mo6.mail-out.ovh.net) by merlin.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1W1ymW-0004k2-1C for linux-mtd@lists.infradead.org; Sat, 11 Jan 2014 13:39:21 +0000 Received: from mail625.ha.ovh.net (b9.ovh.net [213.186.33.59]) by mo6.mail-out.ovh.net (Postfix) with SMTP id E7755FF8B72 for ; Sat, 11 Jan 2014 14:42:51 +0100 (CET) Message-ID: <52D1494E.9090303@overkiz.com> Date: Sat, 11 Jan 2014 14:38:22 +0100 From: boris brezillon MIME-Version: 1.0 To: Maxime Ripard , Rob Landley , Russell King , David Woodhouse , Grant Likely Subject: Re: [RFC PATCH 0/9] mtd: nand: add sunxi NAND Flash Controller support References: <1389190924-26226-1-git-send-email-b.brezillon@overkiz.com> In-Reply-To: <1389190924-26226-1-git-send-email-b.brezillon@overkiz.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: devicetree@vger.kernel.org, linux-doc@vger.kernel.org, dev@linux-sunxi.org, linux-kernel@vger.kernel.org, Boris BREZILLON , linux-mtd@lists.infradead.org, linux-arm-kernel@lists.infradead.org List-Id: Linux MTD discussion mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , On 08/01/2014 15:21, Boris BREZILLON wrote: > Hello, > > This series add the sunxi NFC support with up to 8 NAND chip connected. > I'm still in the early stages drivers development and some key features are > missing, but it's usable (I tested it on the cubietruck board). > > Here's what's missing: > - HW ECC support > - DMA support > - HW randomization support > - many more improvements > > This series depends on Emilio's patch series implementing mod0 clks > (http://lists.infradead.org/pipermail/linux-arm-kernel/2013-July/185478.html) > + an other patch not yet posted > (http://git.elopez.com.ar/linux/commits/5b4eb3ac406b9c98965714d40e8dd6da943d1ab0) During my reasearch regarding the HW ECC and HW randomizer of the Allwinner NAND flash controller I found this document describing the Altera NAND flash controller (which is in turn based on a cadence IP): http://www.altera.com/literature/hb/arria-v/av_54010.pdf This really looks like the sunxi NAND flash controller (except for the registers positions and contents) ;-) > > Best Regards, > > Boris > > Boris BREZILLON (9): > mtd: nand: retrieve ECC requirements from Hynix READ ID byte 4 > mtd: nand: define struct nand_timings > of: mtd: add NAND timings retrieval support > of: mtd: add NAND timings bindings documentation > mtd: nand: add sunxi NFC support > mtd: nand: add sunxi NFC dt bindings doc > ARM: dt/sunxi: add NFC node to Allwinner A20 SoC > ARM: dt/sunxi: add NFC pinctrl pin definitions > ARM: sunxi/dt: enable NAND on cubietruck board > > Documentation/devicetree/bindings/mtd/nand.txt | 34 + > .../devicetree/bindings/mtd/sunxi-nand.txt | 71 ++ > arch/arm/boot/dts/sun7i-a20-cubietruck.dts | 33 + > arch/arm/boot/dts/sun7i-a20.dtsi | 35 + > drivers/mtd/nand/Kconfig | 6 + > drivers/mtd/nand/Makefile | 1 + > drivers/mtd/nand/nand_base.c | 37 ++ > drivers/mtd/nand/sunxi_nfc.c | 700 ++++++++++++++++++++ > drivers/of/of_mtd.c | 47 ++ > include/linux/mtd/nand.h | 44 ++ > include/linux/of_mtd.h | 9 + > 11 files changed, 1017 insertions(+) > create mode 100644 Documentation/devicetree/bindings/mtd/sunxi-nand.txt > create mode 100644 drivers/mtd/nand/sunxi_nfc.c >