mbox series

[GIT,PULL] mtd: spi-nor: changes for 5.19

Message ID 20220516071518.orf7n7k4fhtpcj3x@ti.com
State Accepted
Headers show
Series [GIT,PULL] mtd: spi-nor: changes for 5.19 | expand

Pull-request

git://git.kernel.org/pub/scm/linux/kernel/git/mtd/linux.git tags/spi-nor/for-5.19

Message

Pratyush Yadav May 16, 2022, 7:15 a.m. UTC
Hi,

This is the SPI NOR PR for 5.19.

Regards,
Pratyush Yadav
Texas Instruments Inc.

The following changes since commit b2d229d4ddb17db541098b83524d901257e93845:

  Linux 5.18-rc3 (2022-04-17 13:57:31 -0700)

are available in the Git repository at:

  git://git.kernel.org/pub/scm/linux/kernel/git/mtd/linux.git tags/spi-nor/for-5.19

for you to fetch changes up to c47452194641b5d27c20e557c84a46c85fd7ce37:

  mtd: spi-nor: debugfs: fix format specifier (2022-05-12 17:56:44 +0530)

----------------------------------------------------------------
SPI NOR core changes:
- Read back written SR value to make sure the write was done correctly.
- Introduce a common function for Read ID that manufacturer drivers can
  use to verify the Octal DTR switch worked correctly.
- Add helpers for read/write any register commands so manufacturer
  drivers don't open code it every time.
- Clarify rdsr dummy cycles documentation.
- Add debugfs entry to expose internal flash parameters and state.

SPI NOR manufacturer drivers changes:
- Add support for Winbond W25Q512NW-IM, and Eon EN25QH256A.
- Move spi_nor_write_ear() to Winbond module since only Winbond flashes
  use it.
- Rework Micron and Cypress Octal DTR enable methods to improve
  readability.
- Use the common Read ID function to verify switch to Octal DTR mode for
  Micron and Cypress flashes.
- Skip polling status on volatile register writes for Micron and Cypress
  flashes since the operation is instant.

----------------------------------------------------------------
Chen-Tsung Hsieh (1):
      mtd: spi-nor: core: Check written SR value in spi_nor_write_16bit_sr_and_check()

Leon M. George (1):
      mtd: spi-nor: support eon en25qh256a variant

Michael Walle (5):
      mtd: spi-nor: amend the rdsr dummy cycles documentation
      mtd: spi-nor: move spi_nor_write_ear() to winbond module
      mtd: spi-nor: export spi_nor_hwcaps_pp2cmd()
      mtd: spi-nor: expose internal parameters via debugfs
      mtd: spi-nor: debugfs: fix format specifier

Shaik Sajida Bhanu (1):
      mtd: spi-nor: winbond: add support for W25Q512NW-IM

Tudor Ambarus (11):
      mtd: spi-nor: Rename method, s/spi_nor_match_id/spi_nor_match_name
      mtd: spi-nor: Introduce spi_nor_match_id()
      mtd: spi-nor: core: Use auto-detection only once
      mtd: spi-nor: core: Introduce method for RDID op
      mtd: spi-nor: manufacturers: Use spi_nor_read_id() core method
      mtd: spi-nor: core: Add helpers to read/write any register
      mtd: spi-nor: micron-st: Rework spi_nor_micron_octal_dtr_enable()
      mtd: spi-nor: spansion: Rework spi_nor_cypress_octal_dtr_enable()
      mtd: spi-nor: Introduce templates for SPI NOR operations
      mtd: spi-nor: spansion: Remove status polling on volatile registers write
      mtd: spi-nor: micron-st: Remove status polling on volatile registers write

 drivers/mtd/spi-nor/Makefile    |   1 +
 drivers/mtd/spi-nor/core.c      | 286 +++++++++++++++++++---------------------
 drivers/mtd/spi-nor/core.h      | 123 ++++++++++++++++-
 drivers/mtd/spi-nor/debugfs.c   | 249 ++++++++++++++++++++++++++++++++++
 drivers/mtd/spi-nor/eon.c       |   3 +-
 drivers/mtd/spi-nor/micron-st.c | 181 ++++++++++++-------------
 drivers/mtd/spi-nor/spansion.c  | 187 +++++++++++++-------------
 drivers/mtd/spi-nor/winbond.c   |  45 ++++++-
 drivers/mtd/spi-nor/xilinx.c    |  12 +-
 include/linux/mtd/spi-nor.h     |   4 +-
 10 files changed, 746 insertions(+), 345 deletions(-)
 create mode 100644 drivers/mtd/spi-nor/debugfs.c

Comments

Miquel Raynal May 20, 2022, 12:12 p.m. UTC | #1
Hi Pratyush,

p.yadav@ti.com wrote on Mon, 16 May 2022 12:45:18 +0530:

> Hi,
> 
> This is the SPI NOR PR for 5.19.
> 
> Regards,
> Pratyush Yadav
> Texas Instruments Inc.
> 
> The following changes since commit b2d229d4ddb17db541098b83524d901257e93845:
> 
>   Linux 5.18-rc3 (2022-04-17 13:57:31 -0700)
> 
> are available in the Git repository at:
> 
>   git://git.kernel.org/pub/scm/linux/kernel/git/mtd/linux.git tags/spi-nor/for-5.19
> 
> for you to fetch changes up to c47452194641b5d27c20e557c84a46c85fd7ce37:
> 
>   mtd: spi-nor: debugfs: fix format specifier (2022-05-12 17:56:44 +0530)

Pulled, thanks!

Miquèl