Hello, This is the NAND PR for 5.3. Thanks, Miquèl The following changes since commit f2c7c76c5d0a443053e94adb9f0918fa2fb85c3a: Linux 5.2-rc3 (2019-06-02 13:55:33 -0700) are available in the Git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/mtd/linux.git tags/nand/for-5.3 for you to fetch changes up to bce9437a0a48dd5e19490f56e1cdc39a9be5563c: mtd: rawnand: stm32_fmc2: increase DMA completion timeouts (2019-06-28 12:01:53 +0200) ---------------------------------------------------------------- NAND core changes: - use longest matching pattern in ->exec_op() default parser - export NAND operation tracer - add flag to indicate panic_write in MTD - use kzalloc() instead of kmalloc() and memset() Raw NAND controller drivers changes: - brcmnand: * fix BCH ECC layout for large page NAND parts * fallback to detected ecc-strength, ecc-step-size * when oops in progress use pio and interrupt polling * code refactor code to introduce helper functions * add support for v7.3 controller - FSMC: * use nand_op_trace for operation tracing - GPMI: * move all driver code into single file * various cleanups (including dmaengine changes) * use runtime PM to manage clocks * implement exec_op - MTK: * correct low level time calculation of r/w cycle * improve data sampling timing for read cycle * add validity check for CE# pin setting * fix wrongly assigned OOB buffer pointer issue * re-license MTK NAND driver as Dual MIT/GPL - STM32: * manage the get_irq error case * increase DMA completion timeouts Raw NAND chips drivers changes: - Macronix: add read-retry support Onenand driver changes: - add support for 8Gb datasize chips - avoid fall-through warnings SPI-NAND changes: - define macros for page-read ops with three-byte addresses - add support for two-byte device IDs and then for GigaDevice GD5F1GQ4UFxxG - add initial support for Paragon PN26G0xA - handle the case where the last page read has bitflips ---------------------------------------------------------------- Amelie Delaunay (1): mtd: rawnand: stm32_fmc2: increase DMA completion timeouts Colin Ian King (1): mtd: rawnand: gpmi: remove double assignment to block_size Fabien Dessenne (1): mtd: rawnand: stm32_fmc2: manage the get_irq error case Fuqian Huang (1): mtd: rawnand: Use kzalloc() instead of kmalloc() and memset() Gustavo A. R. Silva (1): mtd: onenand: Avoid fall-through warnings Jeff Kletsky (4): mtd: spinand: Define macros for page-read ops with three-byte addresses mtd: spinand: Add support for two-byte device IDs mtd: spinand: Add support for GigaDevice GD5F1GQ4UFxxG mtd: spinand: Add initial support for Paragon PN26G0xA Jonathan Bakker (1): mtd: onenand: Add support for 8Gb datasize onenand Kamal Dasu (8): mtd: rawnand: brcmnand: Fix BCH ECC layout for large page NAND parts dt-bindings: mtd: brcmnand: Make nand-ecc-strength and nand-ecc-step-size optional mtd: rawnand: brcmnand: fallback to detected ecc-strength, ecc-step-size mtd: Add flag to indicate panic_write mtd: rawnand: brcmnand: When oops in progress use pio and interrupt polling mtd: rawnand: brcmnand: Refactored code to introduce helper functions mtd: rawnand: brcmnand: Add support for v7.3 controller dt-bindings: mtd: brcmnand: Add brcmnand, brcmnand-v7.3 support Mason Yang (1): mtd: rawnand: Add Macronix NAND read retry support Sascha Hauer (14): mtd: rawnand: export NAND operation tracer mtd: rawnand: fsmc: Use nand_op_trace for operation tracing mtd: rawnand: gpmi: move all driver code into single file mtd: rawnand: gpmi: remove unused variable mtd: rawnand: gpmi: Remove unnecessary variables mtd: rawnand: gpmi: read buf in nand_read_page_op mtd: rawnand: gpmi: remove unused parameters mtd: rawnand: gpmi: Drop unnecessary restoring of previous chipselection mtd: rawnand: gpmi: use runtime PM to manage clocks dmaengine: mxs: Drop unnecessary flag mtd: rawnand: gpmi: drop unnecessary flag dmaengine: mxs: Add header file to be shared with gpmi nand driver dmaengine: mxs: rename custom flag mtd: rawnand: gpmi: Implement exec_op Stefan Agner (1): mtd: rawnand: use longest matching pattern Xiaolei Li (5): mtd: rawnand: mtk: Correct low level time calculation of r/w cycle mtd: rawnand: mtk: Improve data sampling timing for read cycle mtd: rawnand: mtk: Add validity check for CE# pin setting mtd: rawnand: mtk: Fix wrongly assigned OOB buffer pointer issue mtd: rawnand: mtk: Re-license MTK NAND driver as Dual MIT/GPL liaoweixiong (1): mtd: spinand: read returns badly if the last page has bitflips Documentation/devicetree/bindings/mtd/brcm,brcmnand.txt | 5 +- drivers/dma/mxs-dma.c | 25 +- drivers/mtd/mtdcore.c | 3 + drivers/mtd/nand/onenand/onenand_base.c | 5 + drivers/mtd/nand/raw/brcmnand/brcmnand.c | 263 +++- drivers/mtd/nand/raw/fsmc_nand.c | 19 +- drivers/mtd/nand/raw/gpmi-nand/Makefile | 1 - drivers/mtd/nand/raw/gpmi-nand/gpmi-lib.c | 934 ------------ drivers/mtd/nand/raw/gpmi-nand/gpmi-nand.c | 1731 +++++++++++++++------- drivers/mtd/nand/raw/gpmi-nand/gpmi-nand.h | 64 +- drivers/mtd/nand/raw/mtk_ecc.c | 4 +- drivers/mtd/nand/raw/mtk_ecc.h | 4 +- drivers/mtd/nand/raw/mtk_nand.c | 88 +- drivers/mtd/nand/raw/nand_base.c | 80 +- drivers/mtd/nand/raw/nand_bch.c | 3 +- drivers/mtd/nand/raw/nand_macronix.c | 45 + drivers/mtd/nand/raw/stm32_fmc2_nand.c | 21 +- drivers/mtd/nand/spi/Makefile | 2 +- drivers/mtd/nand/spi/core.c | 5 +- drivers/mtd/nand/spi/gigadevice.c | 81 +- drivers/mtd/nand/spi/paragon.c | 147 ++ include/linux/dma/mxs-dma.h | 24 + include/linux/mtd/mtd.h | 6 + include/linux/mtd/onenand_regs.h | 1 + include/linux/mtd/rawnand.h | 36 + include/linux/mtd/spinand.h | 35 +- 26 files changed, 1935 insertions(+), 1697 deletions(-) delete mode 100644 drivers/mtd/nand/raw/gpmi-nand/gpmi-lib.c create mode 100644 drivers/mtd/nand/spi/paragon.c create mode 100644 include/linux/dma/mxs-dma.h ______________________________________________________ Linux MTD discussion mailing list http://lists.infradead.org/mailman/listinfo/linux-mtd/