On Mon, 4 May 2020 18:34:55 +0200 Bartosz Golaszewski <bgolaszewski@xxxxxxxxxxxx> wrote: > pt., 1 maj 2020 o 12:07 Boris Brezillon > <boris.brezillon@xxxxxxxxxxxxx> napisał(a): > > > > 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 Davinci NAND controller driver to > > exec_op(), plus a bunch of minor improvements done along the way. > > > > Regards, > > > > Boris > > > > Boris Brezillon (5): > > mtd: rawnand: davinci: Inherit from nand_controller > > mtd: rawnand: davinci: Stop using nand_chip.legacy.IO_ADDR_{R,W} > > mtd: rawnand: davinci: Implement exec_op() > > mtd: rawnand: davinci: Get rid of the legacy interface implementation > > mtd: rawnand: davinci: Change the {read,write}_buf prototypes > > > > drivers/mtd/nand/raw/davinci_nand.c | 161 +++++++++++++++------------- > > 1 file changed, 85 insertions(+), 76 deletions(-) > > > > -- > > 2.25.3 > > > > Hi Boris, > > Thanks for doing this. Unfortunately this breaks NAND on da850-lcdk > with the following error message: > > nand: No NAND device found > > I'm super busy this week and so I don't have the time to investigate > further, I can get back to it next week hopefully. No worries. And let me know if you need any help to debug that. Thanks! Boris ______________________________________________________ Linux MTD discussion mailing list http://lists.infradead.org/mailman/listinfo/linux-mtd/