[PATCH v2 0/8] mtd: spi-nor: Rework Octal DTR methods

Tudor Ambarus tudor.ambarus at microchip.com
Mon Feb 28 03:17:04 PST 2022


This is a combination of:
https://lore.kernel.org/lkml/20220209133656.374903-1-tudor.ambarus@microchip.com/
https://lore.kernel.org/lkml/20220210023334.408926-1-tudor.ambarus@microchip.com/

Macronix patches will be handled in a further series.

v2:
- Fix bug on octal dtr disable, s/nor->reg_proto/SNOR_PROTO_1_1_1,
because after disable the nor->proto is not yet updated
- update function/macros names to comply with Michael's rename series.

Tudor Ambarus (8):
  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()

 drivers/mtd/spi-nor/core.c      | 153 ++++++++++++++++++++++----------
 drivers/mtd/spi-nor/core.h      |  13 +++
 drivers/mtd/spi-nor/micron-st.c | 112 ++++++++++++-----------
 drivers/mtd/spi-nor/spansion.c  | 131 ++++++++++++++-------------
 4 files changed, 241 insertions(+), 168 deletions(-)

-- 
2.25.1




More information about the linux-mtd mailing list