Linus, The following changes since commit 089cf7f6ecb266b6a4164919a2e69bd2f938374a: Linux 5.3-rc7 (2019-09-02 09:57:40 -0700) are available in the Git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/mtd/linux.git tags/mtd/for-5.4 for you to fetch changes up to 2cfcfadb8e1380938d6631cffa4fa567b13f52b2: mtd: pmc551: Remove set but not used variable 'soff_lo' (2019-09-15 23:51:07 +0200) ---------------------------------------------------------------- This pull-request contains the following changes for MTD: MTD core changes: - add debugfs nodes for querying the flash name and id - mtd parser reorganization SPI NOR core changes: - always use bounce buffer for register read/writes - move m25p80 code in spi-nor.c - rework hwcaps selection for the spi-mem case - rework the core in order to move the manufacturer specific code out of it: - regroup flash parameters in 'struct spi_nor_flash_parameter' - add default_init() and post_sfdp() hooks to tweak the flash parameters - introduce the ->set_4byte(), ->convert_addr() and ->setup() methods, to deal with manufacturer specific code - rework the SPI NOR lock/unlock logic - fix an error code in spi_nor_read_raw() - fix a memory leak bug - enable the debugfs for the partname and partid - add support for few flashes SPI NOR controller drivers changes: - intel-spi: - Whitelist 4B read commands - Add support for Intel Tiger Lake SPI serial flash - aspeed-smc: Add of_node_put() - hisi-sfc: Add of_node_put() - cadence-quadspi: Fix QSPI RCU Schedule Stall NAND core: - Fixing typos - Adding missing of_node_put() in various drivers Raw NAND controller drivers: - Macronix: new controller driver - Omap2: Fixing the number of bitflips returned - Brcmnand: Fix a pointer not iterating over all the page chunks - W90x900: Driver removed - Onenand: Fix a memory leak - Sharpsl: Missing include guard - STM32: Avoid warnings when building with W=1 - Ingenic: Fix a coccinelle warning - r852: Call a helper to simplify the code CFI core: - Kill useless initializer in mtd_do_chip_probe() - Fix a rare write failure seen on some cfi_cmdset_0002 compliant Parallel NORs - Bunch of cleanups for cfi_cmdset_0002 driver's write functions by Tokunori Ikegami <ikegami.t@xxxxxxxxx> ---------------------------------------------------------------- Alexander Sverdlin (1): mtd: spi-nor: intel-spi: Whitelist 4B read commands Arnd Bergmann (1): mtd: rawnand: remove w90x900 driver Ashish Kumar (2): mtd: spi-nor: Add support for mt35xu02g mtd: spi-nor: Rename "n25q512a" to "mt25qu512a (n25q512a)" Avi Fishman (1): mtd: spi-nor: Add Winbond w25q256jvm Boris Brezillon (9): mtd: spi-nor: Move m25p80 code in spi-nor.c mtd: spi-nor: Rework hwcaps selection for the spi-mem case mtd: spi-nor: Add a default_init() fixup hook for gd25q256 mtd: spi-nor: Create a ->set_4byte() method mtd: spi-nor: Rework the SPI NOR lock/unlock logic mtd: spi-nor: Add post_sfdp() hook to tweak flash config mtd: spi-nor: Add spansion_post_sfdp_fixups() mtd: spi-nor: Add a ->convert_addr() method mtd: spi-nor: Add the SPI_NOR_XSR_RDY flag Christoph Hellwig (1): mtd: pxa2xx: Use ioremap_cache insted of ioremap_cached Christophe Kerello (1): mtd: rawnand: stm32_fmc2: avoid warnings when building with W=1 option Chuhong Yuan (1): mtd: rawnand: r852: Use dev_get_drvdata Claire Lin (1): mtd: rawnand: brcmnand: Fix ecc chunk calculation for erased page bitfips Colin Ian King (1): mtd: rawnand: remove redundant assignment to variable ret Dan Carpenter (1): mtd: spi-nor: Fix an error code in spi_nor_read_raw() Eugeniy Paltsev (1): mtd: spi-nor: add support for sst26wf016b memory IC Julia Lawall (1): mtd: rawnand: ingenic: fix devm_platform_ioremap_resource.cocci warnings Jungseung Lee (1): mtd: spi-nor : Remove SPI_NOR_HAS_TB flag on s25fl512s Linus Walleij (5): mtd: parsers: Move TI AR7 parser mtd: parsers: Move BCM47xx parser mtd: parsers: Move BCM63xx parser mtd: parsers: Move OF parser mtd: parsers: Move CMDLINE parser Masahiro Yamada (1): mtd: rawnand: sharpsl: add include guard to linux/mtd/sharpsl.h Mason Yang (2): mtd: rawnand: Add Macronix raw NAND controller driver dt-bindings: mtd: Document Macronix raw NAND controller bindings Mika Westerberg (1): mtd: spi-nor: intel-spi: Add support for Intel Tiger Lake SPI serial flash Nishka Dasgupta (7): mtd: rawnand: vf610: Add of_node_put() before goto mtd: rawnand: oxnas: Add of_node_put() mtd: rawnand: tango: Add of_node_put() before return mtd: rawnand: meson: Add of_node_put() before return mtd: rawnand: ingenic: Add of_node_put() before return mtd: spi-nor: aspeed-smc: Add of_node_put() mtd: spi-nor: hisi-sfc: Add of_node_put() before break Richard Weinberger (3): Merge tag 'nand/for-5.4' of git://git.kernel.org/.../mtd/linux into mtd/for-5.4 Merge tag 'spi-nor/for-5.4' of git://git.kernel.org/.../mtd/linux into mtd/for-5.4 Merge tag 'cfi/for-5.4-rc1' of https://github.com/r-vignesh/linux into mtd/for-5.4 Sascha Hauer (1): mtd: rawnand: omap2: Fix number of bitflips reporting with ELM Sergei Shtylyov (1): mtd: chips: gen_probe: kill useless initializer in mtd_do_chip_probe() Thor Thayer (1): mtd: spi-nor: Fix Cadence QSPI RCU Schedule Stall Tokunori Ikegami (9): mtd: cfi_cmdset_0002: Use chip_good() to retry in do_write_oneword() mtd: cfi_cmdset_0002: Remove goto statement from do_write_buffer() mtd: cfi_cmdset_0002: Split do_write_oneword() to reduce function size mtd: cfi_cmdset_0002: Split do_write_oneword() op_done goto statement mtd: cfi_cmdset_0002: Split write-to-buffer-reset sequence mtd: cfi_cmdset_0002: Split wait for write buffer completion sequence mtd: cfi_cmdset_0002: Split do_write_oneword() to reduce exit paths mtd: cfi_cmdset_0002: Disable write buffer functions if FORCE_WORD_WRITE is 1 mtd: cfi_cmdset_0002: Fix do_erase_chip() to get chip as erasing mode Tudor Ambarus (17): mtd: spi-nor: fix description for int (*flash_is_locked)() mtd: nand: fix typo, s/erasablocks/eraseblocks Merge tag 'v5.3-rc6' into spi-nor/next mtd: spi-nor: Remove unused macro mtd: spi-nor: Regroup flash parameter and settings mtd: spi-nor: Use nor->params mtd: spi-nor: Drop quad_enable() from 'struct spi-nor' mtd: spi-nor: Move erase_map to 'struct spi_nor_flash_parameter' mtd: spi-nor: Add default_init() hook to tweak flash parameters mtd: spi-nor: Move manufacturer quad_enable() in ->default_init() mtd: spi-nor: Split spi_nor_init_params() mtd: spi-nor: Add a ->setup() method mtd: spi-nor: Add s3an_post_sfdp_fixups() mtd: spi-nor: Bring flash params init together mtd: spi-nor: Introduce spi_nor_set_addr_width() mtd: spi-nor: Introduce spi_nor_get_flash_info() mtd: spi-nor: remove superfluous pass of nor->info->sector_size Vignesh Raghavendra (1): mtd: spi-nor: always use bounce buffer for register read/writes Wenwen Wang (4): mtd: spi-nor: fix a memory leak bug mtd: onenand_base: Fix a memory leak bug mtd: rawnand: Fix a memory leak bug mtd: sm_ftl: Fix memory leak in sm_init_zone() error path Wolfram Sang (1): mtd: pismo: Simplify getting the adapter of a client Xiaoming Ni (1): mtd: phram: Module parameters add writable permissions Zhuohao Lee (2): mtd: mtdcore: add debugfs nodes for querying the flash name and id mtd: spi-nor: enable the debugfs for the partname and partid zhengbin (1): mtd: pmc551: Remove set but not used variable 'soff_lo' .../devicetree/bindings/mtd/mxic-nand.txt | 36 + drivers/mtd/Kconfig | 67 - drivers/mtd/Makefile | 5 - drivers/mtd/chips/cfi_cmdset_0002.c | 299 ++-- drivers/mtd/chips/gen_probe.c | 2 +- drivers/mtd/devices/Kconfig | 18 - drivers/mtd/devices/Makefile | 1 - drivers/mtd/devices/m25p80.c | 347 ---- drivers/mtd/devices/phram.c | 2 +- drivers/mtd/devices/pmc551.c | 9 +- drivers/mtd/maps/pismo.c | 3 +- drivers/mtd/maps/pxa2xx-flash.c | 3 +- drivers/mtd/mtdcore.c | 86 +- drivers/mtd/nand/onenand/onenand_base.c | 3 + drivers/mtd/nand/raw/Kconfig | 14 +- drivers/mtd/nand/raw/Makefile | 2 +- drivers/mtd/nand/raw/brcmnand/brcmnand.c | 5 +- drivers/mtd/nand/raw/ingenic/ingenic_nand_drv.c | 5 +- drivers/mtd/nand/raw/meson_nand.c | 1 + drivers/mtd/nand/raw/mxic_nand.c | 582 +++++++ drivers/mtd/nand/raw/nand_base.c | 2 +- drivers/mtd/nand/raw/nand_bbt.c | 10 +- drivers/mtd/nand/raw/nuc900_nand.c | 304 ---- drivers/mtd/nand/raw/omap2.c | 2 +- drivers/mtd/nand/raw/oxnas_nand.c | 8 +- drivers/mtd/nand/raw/r852.c | 4 +- drivers/mtd/nand/raw/stm32_fmc2_nand.c | 90 +- drivers/mtd/nand/raw/tango_nand.c | 1 + drivers/mtd/nand/raw/vf610_nfc.c | 1 + drivers/mtd/parsers/Kconfig | 68 + drivers/mtd/parsers/Makefile | 5 + drivers/mtd/{ => parsers}/ar7part.c | 0 drivers/mtd/{ => parsers}/bcm47xxpart.c | 0 drivers/mtd/{ => parsers}/bcm63xxpart.c | 0 drivers/mtd/{ => parsers}/cmdlinepart.c | 0 drivers/mtd/{ => parsers}/ofpart.c | 0 drivers/mtd/sm_ftl.c | 5 +- drivers/mtd/spi-nor/Kconfig | 2 + drivers/mtd/spi-nor/aspeed-smc.c | 4 +- drivers/mtd/spi-nor/cadence-quadspi.c | 19 +- drivers/mtd/spi-nor/hisi-sfc.c | 1 + drivers/mtd/spi-nor/intel-spi-pci.c | 1 + drivers/mtd/spi-nor/intel-spi.c | 2 + drivers/mtd/spi-nor/spi-nor.c | 1712 +++++++++++++++----- include/linux/mtd/mtd.h | 3 + include/linux/mtd/nand.h | 2 +- include/linux/mtd/sharpsl.h | 5 + include/linux/mtd/spi-nor.h | 291 +++- 48 files changed, 2531 insertions(+), 1501 deletions(-) create mode 100644 Documentation/devicetree/bindings/mtd/mxic-nand.txt delete mode 100644 drivers/mtd/devices/m25p80.c create mode 100644 drivers/mtd/nand/raw/mxic_nand.c delete mode 100644 drivers/mtd/nand/raw/nuc900_nand.c rename drivers/mtd/{ => parsers}/ar7part.c (100%) rename drivers/mtd/{ => parsers}/bcm47xxpart.c (100%) rename drivers/mtd/{ => parsers}/bcm63xxpart.c (100%) rename drivers/mtd/{ => parsers}/cmdlinepart.c (100%) rename drivers/mtd/{ => parsers}/ofpart.c (100%) ______________________________________________________ Linux MTD discussion mailing list http://lists.infradead.org/mailman/listinfo/linux-mtd/