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 > From mboxrd@z Thu Jan 1 00:00:00 1970 From: b.brezillon@overkiz.com (boris brezillon) Date: Sat, 11 Jan 2014 14:38:22 +0100 Subject: [RFC PATCH 0/9] mtd: nand: add sunxi NAND Flash Controller support In-Reply-To: <1389190924-26226-1-git-send-email-b.brezillon@overkiz.com> References: <1389190924-26226-1-git-send-email-b.brezillon@overkiz.com> Message-ID: <52D1494E.9090303@overkiz.com> To: linux-arm-kernel@lists.infradead.org List-Id: linux-arm-kernel.lists.infradead.org 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 > From mboxrd@z Thu Jan 1 00:00:00 1970 From: boris brezillon Subject: Re: [RFC PATCH 0/9] mtd: nand: add sunxi NAND Flash Controller support Date: Sat, 11 Jan 2014 14:38:22 +0100 Message-ID: <52D1494E.9090303@overkiz.com> References: <1389190924-26226-1-git-send-email-b.brezillon@overkiz.com> Reply-To: linux-sunxi-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Return-path: In-Reply-To: <1389190924-26226-1-git-send-email-b.brezillon-ZNYIgs0QAGpBDgjK7y7TUQ@public.gmane.org> List-Post: , List-Help: , List-Archive: Sender: linux-sunxi-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org List-Subscribe: , List-Unsubscribe: , To: Maxime Ripard , Rob Landley , Russell King , David Woodhouse , Grant Likely Cc: devicetree-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, linux-doc-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org, linux-mtd-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org, dev-3kdeTeqwOZ9EV1b7eY7vFQ@public.gmane.org, Boris BREZILLON List-Id: devicetree@vger.kernel.org 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 > From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752390AbaAKNjA (ORCPT ); Sat, 11 Jan 2014 08:39:00 -0500 Received: from mo6.mail-out.ovh.net ([178.32.228.6]:36446 "EHLO mo6.mail-out.ovh.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751629AbaAKNi6 (ORCPT ); Sat, 11 Jan 2014 08:38:58 -0500 Message-ID: <52D1494E.9090303@overkiz.com> Date: Sat, 11 Jan 2014 14:38:22 +0100 From: boris brezillon User-Agent: Mozilla/5.0 (X11; Linux i686; rv:24.0) Gecko/20100101 Thunderbird/24.2.0 MIME-Version: 1.0 To: Maxime Ripard , Rob Landley , Russell King , David Woodhouse , Grant Likely CC: devicetree@vger.kernel.org, linux-doc@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-mtd@lists.infradead.org, dev@linux-sunxi.org, Boris BREZILLON 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 X-Ovh-Tracer-Id: 5272307788826572989 X-Ovh-Remote: 78.236.240.82 (cha74-5-78-236-240-82.fbx.proxad.net) X-Ovh-Local: 213.186.33.20 (ns0.ovh.net) X-OVH-SPAMSTATE: OK X-OVH-SPAMSCORE: -100 X-OVH-SPAMCAUSE: gggruggvucftvghtrhhoucdtuddrfeejtddrfeefucetufdoteggodetrfcurfhrohhfihhlvgemucfqggfjnecuuegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmd X-Spam-Check: DONE|U 0.5/N X-VR-SPAMSTATE: OK X-VR-SPAMSCORE: -100 X-VR-SPAMCAUSE: gggruggvucftvghtrhhoucdtuddrfeejtddrfeefucetufdoteggodetrfcurfhrohhfihhlvgemucfqggfjnecuuegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmd Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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 >