From mboxrd@z Thu Jan 1 00:00:00 1970 From: Miquel Raynal Subject: Re: [PATCH 00/11] add support for sam9x60 nand controller Date: Mon, 1 Apr 2019 17:24:02 +0200 Message-ID: <20190401172352.7f18e49f@xps13> References: <20190213085930.31578-1-tudor.ambarus@microchip.com> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8BIT Return-path: In-Reply-To: <20190213085930.31578-1-tudor.ambarus@microchip.com> Sender: linux-kernel-owner@vger.kernel.org To: Tudor.Ambarus@microchip.com Cc: robh+dt@kernel.org, mark.rutland@arm.com, Nicolas.Ferre@microchip.com, alexandre.belloni@bootlin.com, Ludovic.Desroches@microchip.com, dwmw2@infradead.org, computersforpeace@gmail.com, bbrezillon@kernel.org, marek.vasut@gmail.com, richard@nod.at, lee.jones@linaro.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-mtd@lists.infradead.org List-Id: devicetree@vger.kernel.org Hi Tudor, wrote on Wed, 13 Feb 2019 08:59:41 +0000: > From: Tudor Ambarus > > The sam9x60 board defines the CCFG_EBICSA register under SFR, > and not as a MATRIX register, as previous boards do. > NAND Flash I/Os are connected to D16–D23, thus > SFR_CCFG_EBICSA.NFD0_ON_D16 is set to 1. > > Tested using mtd-utils. > > - patches [1, 7] add support for the sam9x60 nand controller. I would > suggest to get them through linux-mtd tree, if all agree. > - patch 8 can be taken by Alexandre > - patch 9 - SPDX change, can be taken by Lee > - patch 10 - SPDX change, can be taken by Alexandre > - patch 11 - SPDX change, should go through linux-mtd > > dt compatible string for "microchip,sam9x60-sfr" has already been > submited at https://patchwork.kernel.org/patch/10799831/ > > Tudor Ambarus (11): > ARM: at91: add sam9x60 SFR definitions > memory: atmel-ebi: add generic name for ebi regmap > dt-bindings: memory: atmel-ebi: add sam9x60 compatible > memory: atmel-ebi: add sam9x60 EBI support > mtd: rawnand: atmel: add generic name for EBICSA regmap > dt-bindings: mtd: atmel-nand: add sam9x60 compatible > mtd: rawnand: atmel: add sam9x60 nand controller support > memory: atmel-ebi: move NUM_CS definition inside atmel-ebi > mfd: syscon: atmel: switch to SPDX license identifiers > memory: atmel-ebi: switch to SPDX license identifiers > mtd: rawnand: atmel: switch to SPDX license identifiers > > .../bindings/memory-controllers/atmel,ebi.txt | 1 + > .../devicetree/bindings/mtd/atmel-nand.txt | 1 + > drivers/memory/atmel-ebi.c | 48 ++++++--- > drivers/mtd/nand/raw/atmel/nand-controller.c | 117 ++++++++++++++++----- > drivers/mtd/nand/raw/atmel/pmecc.c | 5 +- > drivers/mtd/nand/raw/atmel/pmecc.h | 6 +- > include/linux/mfd/syscon/atmel-matrix.h | 7 +- > include/linux/mfd/syscon/atmel-mc.h | 6 +- > include/linux/mfd/syscon/atmel-smc.h | 5 +- > include/linux/mfd/syscon/atmel-st.h | 6 +- > include/soc/at91/atmel-sfr.h | 34 ++++-- > 11 files changed, 161 insertions(+), 75 deletions(-) > Patches 1-7 & 11 applied to git://git.kernel.org/pub/scm/linux/kernel/git/mtd/linux.git on nand/next. Thanks, Miquèl