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

Boris Brezillon
2020-05-01T09:07:20Z

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(-)

--
2.25.3