[GIT PULL] mtd: spi-nor: Changes for 5.5

Tudor.Ambarus at microchip.com Tudor.Ambarus at microchip.com
Tue Nov 12 01:46:59 PST 2019


Hi,

Lots of patches were reviewed by Boris and Vignesh. Thank you.

ta


The following changes since commit 7d194c2100ad2a6dded545887d02754948ca5241:

  Linux 5.4-rc4 (2019-10-20 15:56:22 -0400)

are available in the git repository at:

  ssh://git@gitolite.kernel.org/pub/scm/linux/kernel/git/mtd/linux.git tags/spi-nor/for-5.5

for you to fetch changes up to 83cba933a6db1dd4d7ac85170f99461fbc339eff:

  mtd: spi-nor: Set default Quad Enable method for ISSI flashes (2019-11-11 20:42:55 +0200)

----------------------------------------------------------------
SPI NOR core changes:
- introduce 'struct spi_nor_controller_ops',
- clean the Register Operations methods,
- use dev_dbg insted of dev_err for low level info,
- fix retlen handling in sst_write(),
- fix silent truncations in spi_nor_read and spi_nor_read_raw(),
- fix the clearing of QE bit on lock()/unlock(),
- rework the disabling of the block write protection,
- rework the Quad Enable methods,
- make sure nor->spimem and nor->controller_ops are mutually exclusive,
- set default Quad Enable method for ISSI flashes,
- add support for few flashes.

SPI NOR controller drivers changes:
- intel-spi:
	- support chips without software sequencer,
	- add support for Intel Cannon Lake and Intel Comet Lake-H flashes.

----------------------------------------------------------------
DENG Qingfang (1):
      mtd: spi-nor: add support for en25qh16

Jethro Beekman (2):
      mtd: spi-nor: intel-spi: support chips without software sequencer
      mtd: spi-nor: intel-spi: add support for Intel Cannon Lake SPI flash

Manivannan Sadhasivam (1):
      mtd: spi-nor: Add support for w25q256jw

Mika Westerberg (1):
      mtd: spi-nor: intel-spi: Add support for Intel Comet Lake-H SPI serial flash

Sagar Shrikant Kadam (2):
      mtd: spi-nor: Add support for is25wp256
      mtd: spi-nor: Set default Quad Enable method for ISSI flashes

Sergei Shtylyov (2):
      mtd: spi-nor: fix silent truncation in spi_nor_read()
      mtd: spi-nor: fix silent truncation in spi_nor_read_raw()

Tudor Ambarus (36):
      mtd: spi-nor: hisi-sfc: Drop nor->erase NULL assignment
      mtd: spi-nor: Introduce 'struct spi_nor_controller_ops'
      mtd: spi-nor: cadence-quadspi: Fix cqspi_command_read() definition
      mtd: spi-nor: Prepend spi_nor_ to all Reg Ops methods
      mtd: spi-nor: Drop duplicated new line
      mtd: spi-nor: Group all Reg Ops to avoid forward declarations
      mtd: spi-nor: Stop compare with negative in Reg Ops methods
      mtd: spi-nor: Drop explicit cast to int to already int value
      mtd: spi-nor: Don't overwrite errno from Reg Ops
      mtd: spi-nor: Pointer parameter for SR in spi_nor_read_sr()
      mtd: spi-nor: Pointer parameter for FSR in spi_nor_read_fsr()
      mtd: spi-nor: Pointer parameter for CR in spi_nor_read_cr()
      mtd: spi-nor: Drop redundant error reports in Reg Ops callers
      mtd: spi-nor: Fix retlen handling in sst_write()
      mtd: spi-nor: Constify data to write to the Status Register
      mtd: spi-nor: Print device info in case of error
      mtd: spi-nor: Use dev_dbg insted of dev_err for low level info
      mtd: spi-nor: Print debug info inside Reg Ops methods
      mtd: spi-nor: Check for errors after each Register Operation
      mtd: spi-nor: Rename label as it is no longer generic
      mtd: spi-nor: Void return type for spi_nor_clear_sr/fsr()
      mtd: spi-nor: Move the WE and wait calls inside Write SR methods
      mtd: spi-nor: Merge spi_nor_write_sr() and spi_nor_write_sr_cr()
      mtd: spi-nor: Describe all the Reg Ops
      mtd: spi-nor: Drop spansion_quad_enable()
      mtd: spi-nor: Fix errno on Quad Enable methods
      mtd: spi-nor: Check all the bits written, not just the BP ones
      mtd: spi-nor: Print debug message when the read back test fails
      mtd: spi-nor: Fix clearing of QE bit on lock()/unlock()
      mtd: spi-nor: Rework the disabling of block write protection
      mtd: spi-nor: Extend the SR Read Back test
      mtd: spi-nor: Rename CR_QUAD_EN_SPAN to SR2_QUAD_EN_BIT1
      mtd: spi-nor: Merge spansion Quad Enable methods
      mtd: spi-nor: Rename Quad Enable methods
      mtd: spi-nor: Make sure nor->spimem and nor->controller_ops are mutually exclusive
      mtd: spi-nor: Move condition to avoid a NULL check

 drivers/mtd/spi-nor/aspeed-smc.c        |   23 +-
 drivers/mtd/spi-nor/cadence-quadspi.c   |   54 +-
 drivers/mtd/spi-nor/hisi-sfc.c          |   23 +-
 drivers/mtd/spi-nor/intel-spi-pci.c     |    6 +
 drivers/mtd/spi-nor/intel-spi.c         |   58 +-
 drivers/mtd/spi-nor/mtk-quadspi.c       |   25 +-
 drivers/mtd/spi-nor/nxp-spifi.c         |   23 +-
 drivers/mtd/spi-nor/spi-nor.c           | 1665 ++++++++++++++++++++++++++++++++------------------------
 include/linux/mtd/spi-nor.h             |   64 ++-
 include/linux/platform_data/intel-spi.h |    1 +
 10 files changed, 1115 insertions(+), 827 deletions(-)



More information about the linux-mtd mailing list