Hello, This is the NAND PR for 5.1. Thanks, Miquèl The following changes since commit bfeffd155283772bbe78c6a05dec7c0128ee500c: Linux 5.0-rc1 (2019-01-06 17:08:20 -0800) are available in the Git repository at: git://git.infradead.org/linux-mtd.git tags/nand/for-5.1 for you to fetch changes up to 53bcbb839438df54024d97e8e698d21329d2c9a0: mtd: rawnand: denali_dt: remove single anonymous clock support (2019-02-07 23:17:51 +0100) ---------------------------------------------------------------- NAND core changes: - Fourth batch of fixes/cleanup to the raw NAND core impacting various controller drivers (Sunxi, Marvell, MTK, TMIO, OMAP2). - Checking the return code of nand_reset() and nand_readid_op(). - Removing ->legacy.erase and single_erase(). - Simplifying the locking. - Several implicit fall through annotations. Raw NAND controllers drivers changes: - Fixing various possible object reference leaks (MTK, JZ4780, Atmel). - ST: * Adding support for STM32 FMC2 NAND flash controller. - Meson: * Adding support for Amlogic NAND flash controller. - Denali: * Several cleanup patches. - Sunxi: * Several cleanup patches. - FSMC: * Disabling NAND on remove(). * Resetting NAND timings on resume(). SPI-NAND drivers changes: - Toshiba: * Adding support for all Toshiba products. - Macronix: * Fixing ECC status read. - Gigadevice: * Adding support for GD5F1GQ4UExxG. ---------------------------------------------------------------- Boris Brezillon (13): mtd: rawnand: sunxi: Use a consistent name for sunxi_nand_chip objects mtd: rawnand: sunxi: Use struct_size() mtd: rawnand: sunxi: Name nand_chip objects consistently mtd: rawnand: sunxi: Stop passing mtd_info objects around mtd: rawnand: sunxi: Add an SPDX tag mtd: rawnand: sunxi: Migrate to ->exec_op() mtd: rawnand: sunxi: Fix kernel doc headers mtd: rawnand: sunxi: Handle the tREA > tRC / 2 case mtd: rawnand: mtk: Use nand_controller_init() instead of open-coding it mtd: rawnand: tmio: Do not abuse nand_controller->wq mtd: rawnand: omap2: Use nand_controller_init() mtd: rawnand: Stop using chip->state in drivers mtd: rawnand: Simplify the locking Christophe Kerello (3): dt-bindings: mtd: stm32_fmc2: add STM32 FMC2 NAND controller documentation mtd: rawnand: stm32_fmc2: add STM32 FMC2 NAND flash controller driver mtd: rawnand: stm32_fmc2: add polling mode Emil Lenngren (1): mtd: spinand: macronix: Fix ECC Status Read Gustavo A. R. Silva (1): mtd: rawnand: marvell: use struct_size() in devm_kzalloc() Jianxin Pan (1): MAINTAINERS: Add entry for Amlogic NAND controller driver Liang Yang (2): dt-bindings: nand: meson: add Amlogic NAND controller driver mtd: rawnand: meson: add support for Amlogic NAND flash controller Linus Walleij (2): mtd: rawnand: fsmc: Reset NAND timings on resume() mtd: rawnand: fsmc: Disable NAND on remove() Masahiro Yamada (7): mtd: rawnand: denali: remove ->erase hook mtd: rawnand: remove ->legacy.erase and single_erase() mtd: rawnand: check return code of nand_reset() and nand_readid_op() mtd: rawnand: denali: remove unneeded denali_reset_irq() call mtd: rawnand: denali: remove unused function argument 'raw' mtd: rawnand: denali: remove unused dma_addr field from denali_nand_info mtd: rawnand: denali_dt: remove single anonymous clock support Mathieu Malaterre (2): mtd: rawnand: Annotate implicit fall through in nand_command/nand_command_lp mtd: rawnand: Annotate implicit fall through in nand_scan_tail Stefan Roese (1): mtd: spinand: Add support for GigaDevice GD5F1GQ4UExxG Wen Yang (3): mtd: rawnand: atmel: fix possible object reference leak mtd: rawnand: jz4780: fix possible object reference leak mtd: rawnand: mtk: fix possible object reference leak Yoshio Furuyama (1): mtd: spinand: Add support for all Toshiba Memory products Documentation/devicetree/bindings/mtd/amlogic,meson-nand.txt | 60 +++++ Documentation/devicetree/bindings/mtd/stm32-fmc2-nand.txt | 61 +++++ MAINTAINERS | 7 + drivers/mtd/nand/raw/Kconfig | 17 ++ drivers/mtd/nand/raw/Makefile | 2 + drivers/mtd/nand/raw/atmel/pmecc.c | 23 +- drivers/mtd/nand/raw/denali.c | 42 +-- drivers/mtd/nand/raw/denali.h | 1 - drivers/mtd/nand/raw/denali_dt.c | 27 +- drivers/mtd/nand/raw/fsmc_nand.c | 16 ++ drivers/mtd/nand/raw/jz4780_bch.c | 9 +- drivers/mtd/nand/raw/marvell_nand.c | 5 +- drivers/mtd/nand/raw/meson_nand.c | 1464 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ drivers/mtd/nand/raw/mtk_ecc.c | 8 +- drivers/mtd/nand/raw/mtk_nand.c | 3 +- drivers/mtd/nand/raw/nand_base.c | 159 +++++------ drivers/mtd/nand/raw/nand_legacy.c | 3 +- drivers/mtd/nand/raw/omap2.c | 20 +- drivers/mtd/nand/raw/r852.c | 3 +- drivers/mtd/nand/raw/stm32_fmc2_nand.c | 2073 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ drivers/mtd/nand/raw/sunxi_nand.c | 732 ++++++++++++++++++++++++++------------------------ drivers/mtd/nand/raw/tmio_nand.c | 21 +- drivers/mtd/nand/spi/gigadevice.c | 83 ++++++ drivers/mtd/nand/spi/macronix.c | 8 +- drivers/mtd/nand/spi/toshiba.c | 79 +++++- include/linux/mtd/rawnand.h | 26 +- 26 files changed, 4381 insertions(+), 571 deletions(-) create mode 100644 Documentation/devicetree/bindings/mtd/amlogic,meson-nand.txt create mode 100644 Documentation/devicetree/bindings/mtd/stm32-fmc2-nand.txt create mode 100644 drivers/mtd/nand/raw/meson_nand.c create mode 100644 drivers/mtd/nand/raw/stm32_fmc2_nand.c ______________________________________________________ Linux MTD discussion mailing list http://lists.infradead.org/mailman/listinfo/linux-mtd/