From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1760090AbbLCMCo (ORCPT ); Thu, 3 Dec 2015 07:02:44 -0500 Received: from mailapp01.imgtec.com ([195.59.15.196]:62416 "EHLO mailapp01.imgtec.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1759042AbbLCMCl (ORCPT ); Thu, 3 Dec 2015 07:02:41 -0500 From: Harvey Hunt To: CC: Harvey Hunt , Brian Norris , David Woodhouse , "Paul Burton" , Zubair Lutfullah Kakakhel , , , Subject: [PATCH v9 0/3] mtd: nand: jz4780: Add NAND and BCH drivers Date: Thu, 3 Dec 2015 12:02:19 +0000 Message-ID: <1449144142-24004-1-git-send-email-harvey.hunt@imgtec.com> X-Mailer: git-send-email 2.6.2 MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [192.168.154.22] Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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 chips as children nodes of the NAND controller. Review and feedback welcome. Thanks, Harvey [0] https://patchwork.ozlabs.org/patch/526818/ Cc: Brian Norris Cc: David Woodhouse Cc: Paul Burton Cc: Zubair Lutfullah Kakakhel Cc: devicetree@vger.kernel.org Cc: linux-kernel@vger.kernel.org Cc: linux-mips@linux-mips.org Cc: linux-mtd@lists.infradead.org Alex Smith (3): dt-bindings: binding for jz4780-{nand,bch} mtd: nand: jz4780: driver for NAND devices on JZ4780 SoCs MIPS: dts: jz4780/ci20: Add NEMC, BCH and NAND device tree nodes .../bindings/mtd/ingenic,jz4780-nand.txt | 86 +++++ arch/mips/boot/dts/ingenic/ci20.dts | 63 ++++ arch/mips/boot/dts/ingenic/jz4780.dtsi | 26 ++ drivers/mtd/nand/Kconfig | 7 + drivers/mtd/nand/Makefile | 1 + drivers/mtd/nand/jz4780_bch.c | 361 ++++++++++++++++++ drivers/mtd/nand/jz4780_bch.h | 42 +++ drivers/mtd/nand/jz4780_nand.c | 420 +++++++++++++++++++++ 8 files changed, 1006 insertions(+) create mode 100644 Documentation/devicetree/bindings/mtd/ingenic,jz4780-nand.txt create mode 100644 drivers/mtd/nand/jz4780_bch.c create mode 100644 drivers/mtd/nand/jz4780_bch.h create mode 100644 drivers/mtd/nand/jz4780_nand.c -- 2.6.2