Hi, Here is the SPI NOR PR for 5.4. I'd like to thank Vignesh and Boris for reviewing SPI NOR patches. 40 patches merged is surely an improvement. Richard, Please note that I had to merge v5.3-rc6 into spi-nor/next, to include a fix that we depended on for new development. Thank you, ta The following changes since commit a55aa89aab90fae7c815b0551b07be37db359d76: Linux 5.3-rc6 (2019-08-25 12:01:23 -0700) are available in the git repository at: ssh://git@xxxxxxxxxxxxxxxxxxx/pub/scm/linux/kernel/git/mtd/linux.git tags/spi-nor/for-5.4 for you to fetch changes up to 9607af6f857ff062b29562fc1fe36d22b16b9d27: mtd: spi-nor: Rename "n25q512a" to "mt25qu512a (n25q512a)" (2019-08-30 10:11:50 +0300) ---------------------------------------------------------------- MTD core changes: - add debugfs nodes for querying the flash name and id 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 ---------------------------------------------------------------- Alexander Sverdlin (1): mtd: spi-nor: intel-spi: Whitelist 4B read commands 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 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 Jungseung Lee (1): mtd: spi-nor : Remove SPI_NOR_HAS_TB flag on s25fl512s Mika Westerberg (1): mtd: spi-nor: intel-spi: Add support for Intel Tiger Lake SPI serial flash Nishka Dasgupta (2): mtd: spi-nor: aspeed-smc: Add of_node_put() mtd: spi-nor: hisi-sfc: Add of_node_put() before break Thor Thayer (1): mtd: spi-nor: Fix Cadence QSPI RCU Schedule Stall Tudor Ambarus (16): mtd: spi-nor: fix description for int (*flash_is_locked)() 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 (1): mtd: spi-nor: fix a memory leak bug 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 drivers/mtd/devices/Kconfig | 18 - drivers/mtd/devices/Makefile | 1 - drivers/mtd/devices/m25p80.c | 347 ------------ drivers/mtd/mtdcore.c | 86 ++- 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/spi-nor.h | 291 +++++++--- 13 files changed, 1574 insertions(+), 913 deletions(-) delete mode 100644 drivers/mtd/devices/m25p80.c ______________________________________________________ Linux MTD discussion mailing list http://lists.infradead.org/mailman/listinfo/linux-mtd/