Skip to contentSkip to conversation

mtd: spi-nor: Changes for 6.2

GIT PULL Tudor Ambarus 2 participants 2 messages Dec 2, 2022 – Dec 5, 2022 Memory technology devices (MTD)

lore
Share & tools
lore
#0 lore raw

Hi, Richard,

You'll have to do a small manual merge as indicated by Stephen at:
https://lore.kernel.org/linux-next/[email protected]/

Thanks,
ta

The following changes since commit 247f34f7b80357943234f93f247a1ae6b6c3a740:

Linux 6.1-rc2 (2022-10-23 15:27:33 -0700)

are available in the Git repository at:

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

for you to fetch changes up to 1799cd8540b67b88514c82f5fae1c75b986bcbd8:

mtd: spi-nor: add SFDP fixups for Quad Page Program (2022-11-22
08:19:01 +0200)

----------------------------------------------------------------
SPI NOR core changes:
* Add support for flash reset using the dt reset-gpios property.
* Update hwcaps.mask to include 8D-8D-8D read and page program ops when xSPI profile 1.0 table is defined.
* Bypass zero erase size in spi_nor_find_best_erase_type().
* Fix select_uniform_erase to skip 0 erase size
* Add generic flash driver. If a flash is not found in the flash_info array, fall back to the generic flash driver which is described solely by the flash's SFDP tables.
* Fix the number of bytes for the dummy cycles in spi_nor_spimem_check_readop().
* Introduce SPI_NOR_QUAD_PP flag, as PP_1_1_4 is not SFDP discoverable.

SPI NOR manufacturer drivers changes:
* Spansion:
- use PARSE_SFDP for s28hs512t,
- add support for s28hl512t, s28hl01gt, and s28hs01gt.
* Gigadevice: Replace default_init() with post_bfpt() for gd25q256.
* Micron - ST: Enable locking for mt25qu256a.
* Winbond: Add support for W25Q512NW-IQ.
* ISSI: Use PARSE_SFDP and SPI_NOR_QUAD_PP.

----------------------------------------------------------------
Alexander Sverdlin (1):
mtd: spi-nor: Check for zero erase size in
spi_nor_find_best_erase_type()

Allen-KH Cheng (1):
mtd: spi-nor: Fix the number of bytes for the dummy cycles

Eliav Farber (1):
mtd: spi-nor: micron-st: Enable locking for mt25qu256a

Jae Hyun Yoo (1):
mtd: spi-nor: winbond: add support for W25Q512NW-IQ

Jonathan Neuschäfer (1):
mtd: spi-nor: Fix formatting in spi_nor_read_raw() kerneldoc comment

Michael Walle (7):
mtd: spi-nor: hide jedec_id sysfs attribute if not present
mtd: spi-nor: sysfs: hide manufacturer if it is not set
mtd: spi-nor: remember full JEDEC flash ID
mtd: spi-nor: move function declaration out of sfdp.h
mtd: spi-nor: fix select_uniform_erase to skip 0 erase size
mtd: spi-nor: add generic flash driver
mtd: spi-nor: sysfs: print JEDEC ID for generic flash driver

Sai Krishna Potthuri (2):
dt-bindings: mtd: spi-nor: Add reset-gpios property
mtd: spi-nor: Add support for flash reset

Sudip Mukherjee (2):
mtd: spi-nor: issi: is25wp256: Init flash based on SFDP
mtd: spi-nor: add SFDP fixups for Quad Page Program

Takahiro Kuwano (4):

      mtd: spi-nor: sfdp: Update params->hwcaps.mask at xSPI profile 

1.0 table parse
mtd: spi-nor: spansion: Remove NO_SFDP_FLAGS from s28hs512t info
mtd: spi-nor: spansion: Rename s28hs512t prefix
mtd: spi-nor: spansion: Add s28hl512t, s28hl01gt, and s28hs01gt info

Tudor Ambarus (3):
mtd: spi-nor: spansion: Replace hardcoded values for
addr_nbytes/addr_mode_nbytes
mtd: spi-nor: micron-st.c: Replace hardcoded values for
addr_nbytes/addr_mode_nbytes
mtd: spi-nor: core: Add an error message when failing to exit the
4-byte address mode

Yaliang Wang (1):

      mtd: spi-nor: gigadevice: gd25q256: replace gd25q256_default_init 

with gd25q256_post_bfpt

 Documentation/ABI/testing/sysfs-bus-spi-devices-spi-nor  |  6 +++
 Documentation/devicetree/bindings/mtd/jedec,spi-nor.yaml |  8 ++++
 drivers/mtd/spi-nor/core.c                               | 85 
+++++++++++++++++++++++++++++++++---
 drivers/mtd/spi-nor/core.h                               |  5 +++
 drivers/mtd/spi-nor/debugfs.c                            |  2 +-
 drivers/mtd/spi-nor/gigadevice.c                         | 24 +++++++---
 drivers/mtd/spi-nor/issi.c                               |  5 ++-
 drivers/mtd/spi-nor/micron-st.c                          | 12 +++--
 drivers/mtd/spi-nor/sfdp.c                               | 37 
+++++++++++++++-
 drivers/mtd/spi-nor/sfdp.h                               |  2 -
 drivers/mtd/spi-nor/spansion.c                           | 61 
++++++++++++++++----------
 drivers/mtd/spi-nor/sysfs.c                              | 20 ++++++++-
 drivers/mtd/spi-nor/winbond.c                            |  3 ++
 include/linux/mtd/spi-nor.h                              |  3 ++
 14 files changed, 228 insertions(+), 45 deletions(-)

______________________________________________________
Linux MTD discussion mailing list
http://lists.infradead.org/mailman/listinfo/linux-mtd/

maintainer
#1 lore raw

Hi Tudor,

[email protected] wrote on Fri, 2 Dec 2022 14:16:19 +0200:

Quoted 7 lines

Hi, Richard,

You'll have to do a small manual merge as indicated by Stephen at:
https://lore.kernel.org/linux-next/[email protected]/

Thanks,
ta

Pulled, thanks!

Miquèl

Quoted 83 lines

The following changes since commit 247f34f7b80357943234f93f247a1ae6b6c3a740:

   Linux 6.1-rc2 (2022-10-23 15:27:33 -0700)

are available in the Git repository at:

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

for you to fetch changes up to 1799cd8540b67b88514c82f5fae1c75b986bcbd8:

mtd: spi-nor: add SFDP fixups for Quad Page Program (2022-11-22 08:19:01 +0200)

----------------------------------------------------------------
SPI NOR core changes:
* Add support for flash reset using the dt reset-gpios property.
* Update hwcaps.mask to include 8D-8D-8D read and page program ops when xSPI profile 1.0 table is defined.
* Bypass zero erase size in spi_nor_find_best_erase_type().
* Fix select_uniform_erase to skip 0 erase size
* Add generic flash driver. If a flash is not found in the flash_info array, fall back to the generic flash driver which is described solely by the flash's SFDP tables.
* Fix the number of bytes for the dummy cycles in spi_nor_spimem_check_readop().
* Introduce SPI_NOR_QUAD_PP flag, as PP_1_1_4 is not SFDP discoverable.

SPI NOR manufacturer drivers changes:
* Spansion:
- use PARSE_SFDP for s28hs512t,
- add support for s28hl512t, s28hl01gt, and s28hs01gt.
* Gigadevice: Replace default_init() with post_bfpt() for gd25q256.
* Micron - ST: Enable locking for mt25qu256a.
* Winbond: Add support for W25Q512NW-IQ.
* ISSI: Use PARSE_SFDP and SPI_NOR_QUAD_PP.

----------------------------------------------------------------
Alexander Sverdlin (1):
mtd: spi-nor: Check for zero erase size in spi_nor_find_best_erase_type()

Allen-KH Cheng (1):
mtd: spi-nor: Fix the number of bytes for the dummy cycles

Eliav Farber (1):
mtd: spi-nor: micron-st: Enable locking for mt25qu256a

Jae Hyun Yoo (1):
mtd: spi-nor: winbond: add support for W25Q512NW-IQ

Jonathan Neuschäfer (1):
mtd: spi-nor: Fix formatting in spi_nor_read_raw() kerneldoc comment

Michael Walle (7):
mtd: spi-nor: hide jedec_id sysfs attribute if not present
mtd: spi-nor: sysfs: hide manufacturer if it is not set
mtd: spi-nor: remember full JEDEC flash ID
mtd: spi-nor: move function declaration out of sfdp.h
mtd: spi-nor: fix select_uniform_erase to skip 0 erase size
mtd: spi-nor: add generic flash driver
mtd: spi-nor: sysfs: print JEDEC ID for generic flash driver

Sai Krishna Potthuri (2):
dt-bindings: mtd: spi-nor: Add reset-gpios property
mtd: spi-nor: Add support for flash reset

Sudip Mukherjee (2):
mtd: spi-nor: issi: is25wp256: Init flash based on SFDP
mtd: spi-nor: add SFDP fixups for Quad Page Program

Takahiro Kuwano (4):
mtd: spi-nor: sfdp: Update params->hwcaps.mask at xSPI profile 1.0 table parse
mtd: spi-nor: spansion: Remove NO_SFDP_FLAGS from s28hs512t info
mtd: spi-nor: spansion: Rename s28hs512t prefix
mtd: spi-nor: spansion: Add s28hl512t, s28hl01gt, and s28hs01gt info

Tudor Ambarus (3):
mtd: spi-nor: spansion: Replace hardcoded values for addr_nbytes/addr_mode_nbytes
mtd: spi-nor: micron-st.c: Replace hardcoded values for addr_nbytes/addr_mode_nbytes
mtd: spi-nor: core: Add an error message when failing to exit the 4-byte address mode

Yaliang Wang (1):

       mtd: spi-nor: gigadevice: gd25q256: replace gd25q256_default_init with gd25q256_post_bfpt
Quoted 15 lines
  Documentation/ABI/testing/sysfs-bus-spi-devices-spi-nor  |  6 +++
  Documentation/devicetree/bindings/mtd/jedec,spi-nor.yaml |  8 ++++
  drivers/mtd/spi-nor/core.c                               | 85 +++++++++++++++++++++++++++++++++---
  drivers/mtd/spi-nor/core.h                               |  5 +++
  drivers/mtd/spi-nor/debugfs.c                            |  2 +-
  drivers/mtd/spi-nor/gigadevice.c                         | 24 +++++++---
  drivers/mtd/spi-nor/issi.c                               |  5 ++-
  drivers/mtd/spi-nor/micron-st.c                          | 12 +++--
  drivers/mtd/spi-nor/sfdp.c                               | 37 +++++++++++++++-
  drivers/mtd/spi-nor/sfdp.h                               |  2 -
  drivers/mtd/spi-nor/spansion.c                           | 61 ++++++++++++++++----------
  drivers/mtd/spi-nor/sysfs.c                              | 20 ++++++++-
  drivers/mtd/spi-nor/winbond.c                            |  3 ++
  include/linux/mtd/spi-nor.h                              |  3 ++
  14 files changed, 228 insertions(+), 45 deletions(-)

______________________________________________________
Linux MTD discussion mailing list
http://lists.infradead.org/mailman/listinfo/linux-mtd/