Re: [PATCH v4 6/9] mtd: rawnand: ingenic: Separate top-level and SoC specific code

From: Miquel Raynal
Date: Mon Mar 04 2019 - 14:05:57 EST


Hi Paul,

Paul Cercueil <paul@xxxxxxxxxxxxxxx> wrote on Mon, 04 Mar 2019 19:26:08
+0100:

> On Mon, Mar 4, 2019 at 11:20 AM, Miquel Raynal <miquel.raynal@xxxxxxxxxxx> wrote:
> > Hi Paul,
> >
> > Paul Cercueil <paul@xxxxxxxxxxxxxxx <mailto:paul@xxxxxxxxxxxxxxx>> > wrote on Sat, 9 Feb 2019 16:23:02
> > -0300:
> >
> >> The ingenic-nand driver uses an API provided by the jz4780-bch >> driver.
> >> This makes it difficult to support other SoCs in the jz4780-bch >> driver.
> >> To work around this, we separate the API functions from the >> SoC-specific
> >> code, so that these API functions are SoC-agnostic.
> >> >
> > I like the idea, actually I am working on this separation (see
> > [1]) and I would really appreciate that you try to implement the
> > interface when it will be available (v2 is coming this week, I think > v3
> > will be the one to test when raw NAND devices will be properly
> > supported). I will add you in Cc: if you want to follow/review.
> >
> > [1] > <http://lists.infradead.org/pipermail/linux-mtd/2019-February/087815.html
> >
>
> Do you think this will be ready for 5.2?

Maybe, but I can't tell for sure. It will depend on how invasive the
raw NAND conversion is. I don't want to delay your work but maybe once
the interface will be ready to be implemented it would be a great
opportunity to do it with the Ingenic driver.

>
> You can add me in Cc:.

Thanks!
MiquÃl