[PATCH] mtd: rawnand: driver for Mediatek MT7621 SoC NAND flash controller

Andrey Jr. Melnikov temnota.am at gmail.com
Sun Nov 10 17:37:45 UTC 2019


In gmane.linux.drivers.mtd Boris Brezillon <boris.brezillon at collabora.com> wrote:
> +Richard and Miquel

> On Thu, 07 Nov 2019 09:20:53 +0000
> René van Dorst <opensource at vdorst.com> wrote:

> > Quoting gerg at kernel.org:
> > 
> > > From: Greg Ungerer <gerg at kernel.org>

[..skipp..]

> > +CC DENG Qingfang, Chuanhong Guo, Weijie Gao to the list.
> > 
> > Hi Greg,
> > 
> > Thanks for posting this driver.
> > 
> > But I would like to mention that the openwrt community is currently  
> > working on a
> > new version which is based a newer version of the MediaTek vendor driver.
> > That version is currently targeted for the openwrt 4.19 kernel.
> > See full pull request [1] and NAND driver patch [2]
> > 
> > It would be a shame if duplicate work has been done.

> Sorry, but if there's duplicate effort that's kinda your (OpenWRT folks)
> fault: since when OpenWRT is the central point for kernel drivers?
> Correct me if I'm wrong, but I don't remember seeing this driver posted
> to the MTD ML. Plus, the driver you're pointing to still implements the
> legacy hooks and is based on 4.19, and it has been decided that all new
> NAND controller drivers should implement the new ->exec_op() hook
> instead.

I'm already sent to Greg Ungerer 5.3 variant of this patch.
but it:
- PIO only (old driver from 3.4.x kernel have "DMA")
- strange SLOW (4.19 on same hardware is faster)

you may grab it from http://lc.vrtpro.ru/lede/5.3-new-mtk7621-nand-driver.patch



More information about the devel mailing list