From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eusmtp01.atmel.com ([212.144.249.242]) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1aQrL9-0004sP-UZ for linux-mtd@lists.infradead.org; Wed, 03 Feb 2016 06:55:01 +0000 Subject: Re: [PATCH v3 0/5] mtd: atmel_nand: Add support for NAND Flash on SAMA5D2 To: Romain Izard , , References: <1454322360-8666-1-git-send-email-romain.izard.pro@gmail.com> CC: Josh Wu , Nicolas Ferre From: "Yang, Wenyou" Message-ID: <56B1A428.2060500@atmel.com> Date: Wed, 3 Feb 2016 14:54:32 +0800 MIME-Version: 1.0 In-Reply-To: <1454322360-8666-1-git-send-email-romain.izard.pro@gmail.com> Content-Type: text/plain; charset="windows-1252"; format=flowed Content-Transfer-Encoding: 7bit List-Id: Linux MTD discussion mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Hi Romain, On 2016/2/1 18:25, Romain Izard wrote: > The NAND Flash controller for SAMA5D2 has small differences that make it > impossible to use the existing driver for SAMA5D3. This patchset uses the > device tree's compatible string to get those differences, and the code is > slightly modified to handle them. > > Base on linux-mtd-next, commit 15c0be7bec002f9a529dd0966d0db96dde176fd0 > > See previous revisions to apply on the Atmel Linux 4.1 branch. > > Compile tested for sama5_defconfig, and tested on SAMA5D3xek as there is no > existing SAMA5D2 board with NAND Flash memory (yet). Tested it on the SAMA5D2 board, with device: 8-bit ECC (MT29F4G08ABAEAWP-IT:E) and 24-bit ECC (MT29F64G08CBAAAWP-Z:A). For all series, you can add, Tested-by: Wenyou Yang > > V3 -> V2: > - Rebase on linux-mtd-next > - Skip patches already in the tree > > V2 -> V1: > - Rebase on v4.4 > - Use of_device_get_match_data > - Split message cleanup > - Reword a small part of the atmel_nand device tree binding > - Use 'caps' for all private data structures > > RFC -> V1: > - Split the support of 32-bit ECC on SAMA5D2 in two commits > - Fix the missing ECC strength configuration code > > Romain Izard (5): > mtd: atmel_nand: Support variable RB_EDGE interrupts > dt-bindings: atmel_nand: Reword the documenation > mtd: atmel_nand: Support PMECC on SAMA5D2 > mtd: atmel_nand: Support 32-bit ECC strength > ARM: at91/dt: sama5d2: add nand0 and nfc0 nodes > > .../devicetree/bindings/mtd/atmel-nand.txt | 31 +++++---- > arch/arm/boot/dts/sama5d2.dtsi | 38 +++++++++++ > drivers/mtd/nand/atmel_nand.c | 77 ++++++++++++++++++---- > drivers/mtd/nand/atmel_nand_ecc.h | 9 ++- > drivers/mtd/nand/atmel_nand_nfc.h | 3 +- > 5 files changed, 131 insertions(+), 27 deletions(-) > Best Regards, Wenyou Yang