public inbox for linux-mtd@lists.infradead.org
 help / color / mirror / Atom feed
* [PATCH 0/2] Uniform way to pass a NAND ID table to the core
@ 2018-03-21 13:12 Miquel Raynal
  2018-03-21 13:12 ` [PATCH 1/2] mtd: rawnand: add a field in nand_chip to fill an array of IDs Miquel Raynal
                   ` (2 more replies)
  0 siblings, 3 replies; 8+ messages in thread
From: Miquel Raynal @ 2018-03-21 13:12 UTC (permalink / raw)
  To: Boris Brezillon, Richard Weinberger, David Woodhouse,
	Brian Norris, Marek Vasut
  Cc: linux-mtd, Miquel Raynal

Hello,

As part of the work of migrating all the drivers to nand_scan(), and
because nand_scan() does not provide a way to pass any ID table, create
a field in NAND chip so a controller driver can expose its ID table to
the core through it and stop using the last parameter of
nand_scan_ident() for that.

Apply this to the sm_common driver which is the only one that actually
provides its own ID table, so there is no remaining driver using this
third parameter, so all can be moved easily to nand_scan() in a next
series.

Thanks,
Miquèl

Miquel Raynal (2):
  mtd: rawnand: add a field in nand_chip to fill an array of IDs
  mtd: rawnand: sm_common: make use of the new flash_ids table entry

 drivers/mtd/nand/raw/nand_base.c | 8 ++++++--
 drivers/mtd/nand/raw/sm_common.c | 5 +++--
 include/linux/mtd/rawnand.h      | 3 +++
 3 files changed, 12 insertions(+), 4 deletions(-)

-- 
2.14.1

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

end of thread, other threads:[~2018-04-22  5:51 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-03-21 13:12 [PATCH 0/2] Uniform way to pass a NAND ID table to the core Miquel Raynal
2018-03-21 13:12 ` [PATCH 1/2] mtd: rawnand: add a field in nand_chip to fill an array of IDs Miquel Raynal
2018-03-21 13:12 ` [PATCH 2/2] mtd: rawnand: sm_common: make use of the new flash_ids table entry Miquel Raynal
2018-03-27  7:17 ` [PATCH 0/2] Uniform way to pass a NAND ID table to the core Boris Brezillon
2018-04-21 18:19   ` Miquel Raynal
2018-04-21 19:28     ` Boris Brezillon
2018-04-22  1:36       ` Miquel Raynal
2018-04-22  5:51         ` Boris Brezillon

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox