[PATCH v11 0/3] mtd: nand: jz4780: Add NAND and BCH drivers

2016-01-04 Thread Harvey Hunt
Hi, This series adds support for the BCH controller and NAND devices on the Ingenic JZ4780 SoC. Tested on the MIPS Creator Ci20 board. All dependencies are now in mainline. This version of the series is based on l2-mtd/master. As suggested by Boris [0], refactoring work has been done to treat N

[PATCH v11 1/3] dt-bindings: binding for jz4780-{nand,bch}

2016-01-04 Thread Harvey Hunt
-...@lists.infradead.org Cc: devicetree@vger.kernel.org Cc: linux-ker...@vger.kernel.org Cc: r...@kernel.org Signed-off-by: Harvey Hunt Acked-by: Rob Herring Reviewed-by: Boris Brezillon --- v10 -> v11: - Added Boris Brezillon's Reviewed-By. v9 -> v10: - Added Rob Herring's Acked-by. v8 -> v

[PATCH v11 3/3] MIPS: dts: jz4780/ci20: Add NEMC, BCH and NAND device tree nodes

2016-01-04 Thread Harvey Hunt
linux-...@lists.infradead.org Cc: devicetree@vger.kernel.org Cc: linux-ker...@vger.kernel.org Cc: linux-m...@linux-mips.org Cc: r...@kernel.org Signed-off-by: Harvey Hunt Reviewed-by: Boris Brezillon --- v10 -> v11: - Added Boris Brezillon's Reviewed-By. v9 -> v10: - No change. v8 -> v

[PATCH v10 3/3] MIPS: dts: jz4780/ci20: Add NEMC, BCH and NAND device tree nodes

2015-12-24 Thread Harvey Hunt
linux-...@lists.infradead.org Cc: devicetree@vger.kernel.org Cc: linux-ker...@vger.kernel.org Cc: linux-m...@linux-mips.org Cc: r...@kernel.org Signed-off-by: Harvey Hunt --- v9 -> v10: - No change. v8 -> v9: - Represent the partition table as a subnode of a NAND chip. v7 -> v8: - Describe the

[PATCH v10 1/3] dt-bindings: binding for jz4780-{nand,bch}

2015-12-24 Thread Harvey Hunt
-...@lists.infradead.org Cc: devicetree@vger.kernel.org Cc: linux-ker...@vger.kernel.org Cc: r...@kernel.org Signed-off-by: Harvey Hunt Acked-by: Rob Herring --- v9 -> v10: - Added Rob Herring's Acked-by. v8 -> v9: - Document that partitions are represented as a child node of a NAND chip. v7 -> v8:

[PATCH v10 0/3] mtd: nand: jz4780: Add NAND and BCH drivers

2015-12-24 Thread Harvey Hunt
Hi, This series adds support for the BCH controller and NAND devices on the Ingenic JZ4780 SoC. Tested on the MIPS Creator Ci20 board. All dependencies are now in mainline. This version of the series is based on l2-mtd/master. As suggested by Boris [0], refactoring work has been done to treat N

[PATCH v9 3/3] MIPS: dts: jz4780/ci20: Add NEMC, BCH and NAND device tree nodes

2015-12-03 Thread Harvey Hunt
linux-...@lists.infradead.org Cc: devicetree@vger.kernel.org Cc: linux-ker...@vger.kernel.org Cc: linux-m...@linux-mips.org Signed-off-by: Harvey Hunt --- v8 -> v9: - Represent the partition table as a subnode of a NAND chip. v7 -> v8: - Describe the NAND chips as children nodes of the NAND controller

[PATCH v9 0/3] mtd: nand: jz4780: Add NAND and BCH drivers

2015-12-03 Thread Harvey Hunt
Hi, This series adds support for the BCH controller and NAND devices on the Ingenic JZ4780 SoC. Tested on the MIPS Creator Ci20 board. All dependencies are now in mainline. This version of the series is based on 4.4-rc3. As suggested by Boris [0], refactoring work has been done to treat NAND ch

[PATCH v9 1/3] dt-bindings: binding for jz4780-{nand,bch}

2015-12-03 Thread Harvey Hunt
-...@lists.infradead.org Cc: devicetree@vger.kernel.org Cc: linux-ker...@vger.kernel.org Signed-off-by: Harvey Hunt --- v8 -> v9: - Document that partitions are represented as a child node of a NAND chip. v7 -> v8: - Describe how NAND chips are now child nodes of the NAND controller. v6 -> v7: - Add nand

[PATCH v8 3/3] MIPS: dts: jz4780/ci20: Add NEMC, BCH and NAND device tree nodes

2015-12-02 Thread Harvey Hunt
linux-...@lists.infradead.org Cc: devicetree@vger.kernel.org Cc: linux-ker...@vger.kernel.org Cc: linux-m...@linux-mips.org Cc: Alex Smith Signed-off-by: Harvey Hunt --- v7 -> v8: - Describe the NAND chips as children nodes of the NAND controller. - Remove ingenic, prefix from ECC settings. - Renamed

[PATCH v8 1/3] dt-bindings: binding for jz4780-{nand,bch}

2015-12-02 Thread Harvey Hunt
-...@lists.infradead.org Cc: devicetree@vger.kernel.org Cc: linux-ker...@vger.kernel.org Cc: Alex Smith Signed-off-by: Harvey Hunt --- v7 -> v8: - Describe how NAND chips are now child nodes of the NAND controller. v6 -> v7: - Add nand-ecc-mode to DT bindings. - Add nand-on-flash-bbt to DT bindings. v5

Re: [PATCH v7,3/3] MIPS: dts: jz4780/ci20: Add NEMC, BCH and NAND device tree nodes

2015-11-17 Thread Harvey Hunt
ource/Documentation/devicetree/bindings/mtd/brcm,brcmnand.txt#L119 [2]http://lxr.free-electrons.com/source/Documentation/devicetree/bindings/mtd/sunxi-nand.txt#L28 Thanks, Paul __ Linux MTD discussion mailing list http://lists.infradead.org/mailman/

Re: [PATCH v7,1/3] dt-bindings: binding for jz4780-{nand,bch}

2015-11-17 Thread Harvey Hunt
Hi Boris, On 04/11/15 07:57, Boris Brezillon wrote: Hi Harvey, On Tue, 6 Oct 2015 17:27:15 +0100 Harvey Hunt wrote: From: Alex Smith Add DT bindings for NAND devices connected to the NEMC on JZ4780 SoCs, as well as the hardware BCH controller, used by the jz4780_{nand,bch} drivers

Re: [PATCH v7,1/3] dt-bindings: binding for jz4780-{nand,bch}

2015-11-17 Thread Harvey Hunt
Hi Boris, On 04/11/15 07:57, Boris Brezillon wrote: Hi Harvey, On Tue, 6 Oct 2015 17:27:15 +0100 Harvey Hunt wrote: From: Alex Smith Add DT bindings for NAND devices connected to the NEMC on JZ4780 SoCs, as well as the hardware BCH controller, used by the jz4780_{nand,bch} drivers

RE: [PATCH v7,3/3] MIPS: dts: jz4780/ci20: Add NEMC, BCH and NAND device tree nodes

2015-10-14 Thread Harvey Hunt
On 8 October 2015 at 22:23, Ezequiel Garcia < ezequ...@vanguardiasur.com.ar> wrote: >On 6 October 2015 at 13:27, Harvey Hunt wrote: >> From: Alex Smith >> >> Add device tree nodes for the NEMC and BCH to the JZ4780 device tree, >> and make use of them in the C

[PATCH v7,3/3] MIPS: dts: jz4780/ci20: Add NEMC, BCH and NAND device tree nodes

2015-10-06 Thread Harvey Hunt
linux-...@lists.infradead.org Cc: devicetree@vger.kernel.org Cc: linux-ker...@vger.kernel.org Cc: linux-m...@linux-mips.org Cc: Alex Smith Signed-off-by: Harvey Hunt --- v6 -> v7: - Add nand-ecc-mode to DT. - Add nand-on-flash-bbt to DT. v4 -> v5: - New patch adding DT nodes for the NAND so that the

[PATCH v7,1/3] dt-bindings: binding for jz4780-{nand,bch}

2015-10-06 Thread Harvey Hunt
-...@lists.infradead.org Cc: devicetree@vger.kernel.org Cc: linux-ker...@vger.kernel.org Cc: Alex Smith Signed-off-by: Harvey Hunt --- v6 -> v7: - Add nand-ecc-mode to DT bindings. - Add nand-on-flash-bbt to DT bindings. v5 -> v6: - No change. v4 -> v5: - Rename ingenic,bch-device to ingenic,bch-controll