[U-Boot] [PATCH 3/5] spi: add spi-mem driver for MediaTek MT7629 SoC

Weijie Gao weijie.gao at mediatek.com
Sun Apr 28 01:24:12 UTC 2019


On Sat, 2019-04-27 at 21:38 +0530, Jagan Teki wrote:
> On Fri, Apr 26, 2019 at 2:53 PM Weijie Gao <weijie.gao at mediatek.com> wrote:
> >
> > This patch adds spi-mem driver for MediaTek MT7629 SoC to access SPI-NOR
> > and SPI-NAND flashes.
> >
> > Cc: Jagan Teki <jagan at openedev.com>
> > Signed-off-by: Weijie Gao <weijie.gao at mediatek.com>
> > ---
> >  drivers/spi/Kconfig      |   9 ++
> >  drivers/spi/Makefile     |   1 +
> >  drivers/spi/mtk_spimem.c | 325 +++++++++++++++++++++++++++++++++++++++++++++++
> 
> Do we really need spimen on the name? I prefer spi as it is, what is
> the notation used by Linux I think spi itself, please check it.

This controller is originally designed for accessing SPI-NAND flashes.
How about the name mtk-snfi, which means Serial NAND(NOR) flash
interface?

I'd prefer to use mtk-spi for the real generic SPI controller in the
future.

Best Regards,

Weijie



More information about the U-Boot mailing list