Skip to content

mtd: rawnand: cs553x: Convert to exec_op()

Boris Brezillon linux-mtd 1 version Applied

Status from this message: Applied to https://git.kernel.org/pub/scm/linux/kernel/git/mtd/linux.git nand/next, thanks.

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest4 patches 9 repliesApplied

Patches in v1 Applied

#Subject and filesSizeRepliesApplied
1/4mtd: rawnand: cs553x: Declare controllers instead of NAND chipsdrivers/mtd/nand/raw/cs553x_nand.c+22 -112 replies
2/4mtd: rawnand: cs553x: Stop using chip->legacy.IO_ADDR_{R, W}drivers/mtd/nand/raw/cs553x_nand.c+34 -233 replies
3/4mtd: rawnand: cs553x: Implement exec_op()drivers/mtd/nand/raw/cs553x_nand.c+125 -12 replies
4/4mtd: rawnand: cs553x: Get rid of the legacy interface implementationdrivers/mtd/nand/raw/cs553x_nand.c+0 -722 replies

Reviews trailers per patch

All 4 patches have a Reviewed-by or Acked-by.

PatchMiquel Raynal
1/4R-b
2/4R-b
3/4R-b
4/4R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH 0/4] mtd: rawnand: cs553x: Convert to exec_op()

Hello,

A bit of context to explain the motivation behind those conversions I've been sending for the last couple of weeks. The raw NAND subsystem carries a lot of history which makes any rework not only painful, but also subject to regressions which we only detect when someone dares to update its kernel on one of those ancient HW. While carrying drivers for old HW is not a problem per se, carrying ancient and unmaintained drivers that are not converted to new APIs is a maintenance burden, hence this massive conversion attempt I'm conducting here.

So here is a series converting the CS553X NAND controller driver to exec_op(), plus a bunch of minor improvements done along the way. I hope I'll find someone to test those changes, but if there's no one still using NAND on GEODE or no interest in keeping it supported in recent kernel versions, we should definitely consider removing the driver instead.

Regards,

Boris

Boris Brezillon (4):
mtd: rawnand: cs553x: Declare controllers instead of NAND chips
mtd: rawnand: cs553x: Stop using chip->legacy.IO_ADDR_{R,W}
mtd: rawnand: cs553x: Implement exec_op()
mtd: rawnand: cs553x: Get rid of the legacy interface implementation

 drivers/mtd/nand/raw/cs553x_nand.c | 194 ++++++++++++++++++++---------
 1 file changed, 134 insertions(+), 60 deletions(-)
Signature · 6 lines
2.25.3


______________________________________________________
Linux MTD discussion mailing list
http://lists.infradead.org/mailman/listinfo/linux-mtd/