All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v2 0/3] mtd: spinand: add support for detection with param page
@ 2022-04-15  3:48 ` Chuanhong Guo
  0 siblings, 0 replies; 16+ messages in thread
From: Chuanhong Guo @ 2022-04-15  3:48 UTC (permalink / raw)
  To: linux-mtd
  Cc: Chuanhong Guo, Miquel Raynal, Richard Weinberger,
	Vignesh Raghavendra, Patrice Chotard, Boris Brezillon,
	Christophe Kerello, Mark Brown, Daniel Palmer, open list

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

-- 
2.35.1


^ permalink raw reply	[flat|nested] 16+ messages in thread

end of thread, other threads:[~2022-04-16 10:11 UTC | newest]

Thread overview: 16+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-04-15  3:48 [PATCH v2 0/3] mtd: spinand: add support for detection with param page Chuanhong Guo
2022-04-15  3:48 ` Chuanhong Guo
2022-04-15  3:48 ` [PATCH v2 1/3] mtd: nand: extract some onfi functions to nandcore Chuanhong Guo
2022-04-15  3:48   ` Chuanhong Guo
2022-04-15  3:48 ` [PATCH v2 2/3] mtd: spinand: add support for detection with param page Chuanhong Guo
2022-04-15  3:48   ` Chuanhong Guo
2022-04-15  6:48   ` Boris Brezillon
2022-04-15  6:48     ` Boris Brezillon
2022-04-15  7:00   ` Boris Brezillon
2022-04-15  7:00     ` Boris Brezillon
2022-04-15  7:28     ` Chuanhong Guo
2022-04-15  7:28       ` Chuanhong Guo
2022-04-15  3:48 ` [PATCH v2 3/3] mtd: spinand: probe Winbond W25N01GV/W using " Chuanhong Guo
2022-04-15  3:48   ` Chuanhong Guo
2022-04-16 10:10   ` Chuanhong Guo
2022-04-16 10:10     ` Chuanhong Guo

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.