[PATCH v6 00/15] Add octal DTR support for Macronix flash

Zhengxun zhengxunli.mxic at gmail.com
Thu Aug 12 08:01:20 PDT 2021


This series adds support for Octal DTR for Macronix flashes.

Changes in v6:
- Based on "docs: mtd: spi-nor: Add details about how to propose a
  new flash addition" hexdump SFDP table in the patch.

Changes in v5:
- Based on Pratyush patch[0], modify the length of the value written
  to the Octal DTR register (1 is changed to 2) and add check ID in
  SPI mode.

  [0]https://patchwork.ozlabs.org/project/linux-mtd/patch/20210506191829.8271-3-p.yadav@ti.com/

Changes in v4:
- merge patch 2(support octaflash Id) to patch 1(support octal dtr)
- add switching back to default mode(1-1-1) support if octal dtr is
  disabled
- delete the duplicate code settings initialized by the Profile 1.0
  table. (such as cmd_ext_type, rdsr_dummy, rdsr_addr_nbytes, etc.)
- add a description about stacked die

Changes in v3:
- Add support for Macronix octaflash series.

Changes in v2:
- Define with a generic name to describe the maximum dummy cycles.
- Compare the ID directly in the loop, no longer copy and execute
  memcmp().
- Add spi_mem_dtr_supports_op() to support dtr operation.

Zhengxun (15):
  mtd: spi-nor: macronix: add support for Macronix octaflash
  mtd: spi-nor: macronix: Add support for mx66lm1g45g
  mtd: spi-nor: macronix: Add support for mx25lm25645g
  mtd: spi-nor: macronix: Add support for mx66uw2g345g
  mtd: spi-nor: macronix: Add support for mx66uw2g345gx0
  mtd: spi-nor: macronix: Add support for mx66um1g45g
  mtd: spi-nor: macronix: Add support for mx66uw1g45g
  mtd: spi-nor: macronix: Add support for mx25uw51245g
  mtd: spi-nor: macronix: Add support for mx25uw51345g
  mtd: spi-nor: macronix: Add support for mx25um25645g
  mtd: spi-nor: macronix: Add support for mx25uw25645g
  mtd: spi-nor: macronix: Add support for mx25um25345g
  mtd: spi-nor: macronix: Add support for mx25uw25345g
  mtd: spi-nor: macronix: Add support for mx25uw6445g
  mtd: spi-nor: macronix: Add support for mx25uw6345g

 drivers/mtd/spi-nor/macronix.c | 155 +++++++++++++++++++++++++++++++++
 1 file changed, 155 insertions(+)

-- 
2.17.1




More information about the linux-mtd mailing list