Skip to content

mtd: spinand: add support for detection with param page

Chuanhong Guo linux-mtd lkml 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest3 patches 4 repliesIn review
  2. v12 patches 5 repliesSuperseded

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3mtd: nand: extract some onfi functions to nandcoredrivers/mtd/nand/Makefile drivers/mtd/nand/onfi.c drivers/mtd/nand/raw/internals.h +4 more+130 -880 replies
2/3mtd: spinand: add support for detection with param pagedrivers/mtd/nand/spi/Makefile drivers/mtd/nand/spi/core.c drivers/mtd/nand/spi/onfi.c +1 more+280 -123 replies
3/3mtd: spinand: probe Winbond W25N01GV/W using param pagedrivers/mtd/nand/spi/onfi.c drivers/mtd/nand/spi/winbond.c include/linux/mtd/spinand.h+22 -101 reply

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.

Read the v2 thread

Cover letter [PATCH v2 0/3] mtd: spinand: add support for detection with param page

This patchset adds support for spi-nand detection using parameter page. This helps dealing with future JEDEC ID conflicts introduced by crazy vendors. Also, the added ability to auto-detect chip capacity can help reducing number of entries in our spi-nand id table.

Change since v1: extract common functions from raw nand

Chuanhong Guo (3):
mtd: nand: extract some onfi functions to nandcore
mtd: spinand: add support for detection with param page
mtd: spinand: probe Winbond W25N01GV/W using param page

 drivers/mtd/nand/Makefile         |   2 +-
 drivers/mtd/nand/onfi.c           | 115 ++++++++++++++++
 drivers/mtd/nand/raw/internals.h  |   1 -
 drivers/mtd/nand/raw/nand_base.c  |  18 ---
 drivers/mtd/nand/raw/nand_jedec.c |   4 +-
 drivers/mtd/nand/raw/nand_onfi.c  |  70 +---------
 drivers/mtd/nand/spi/Makefile     |   2 +-
 drivers/mtd/nand/spi/core.c       |  23 ++--
 drivers/mtd/nand/spi/onfi.c       | 219 ++++++++++++++++++++++++++++++
 drivers/mtd/nand/spi/winbond.c    |  25 ++--
 include/linux/mtd/onfi.h          |   8 ++
 include/linux/mtd/spinand.h       |  53 ++++++++
 12 files changed, 431 insertions(+), 109 deletions(-)
 create mode 100644 drivers/mtd/nand/onfi.c
 create mode 100644 drivers/mtd/nand/spi/onfi.c
Signature · 1 line
2.35.1