[U-Boot] [PATCH v4 0/6] Add spi-mem driver for MediaTek MT7629 SoC

Weijie Gao weijie.gao at mediatek.com
Fri Jul 19 02:17:31 UTC 2019


On Tue, 2019-07-16 at 17:03 +0530, Jagan Teki wrote:
> On Tue, Jul 16, 2019 at 7:48 AM Weijie Gao <weijie.gao at mediatek.com> wrote:
> >
> > On Mon, 2019-07-15 at 12:59 +0530, Jagan Teki wrote:
> > > On Wed, Jul 10, 2019 at 8:51 AM Weijie Gao <weijie.gao at mediatek.com> wrote:
> > > >
> > > > Since u-boot has added the spi-mem framework and replaced the spi-nor framework,
> > > > the mtk_qspi is no longer compatible with the new spi-nor driver.
> > > >
> > > > This patch series add a new spi-mem driver to replace the mtk_qspi driver,
> > > > with one patch to fix watchdog not feeding during spi operation.
> > > >
> > > > Weijie Gao (6):
> > > >   mtd: spi-nor: add watchdog reset to flash operation loops
> > > >   spi: remove obsolete mtk_qspi driver
> > > >   spi: add spi-mem driver for MediaTek MT7629 SoC
> > > >   arm: dts: change MT7629 to use spi-mem rather than qspi
> > > >   configs: mt7629_rfb: change MTK_QSPI to MTK_SNFI_SPI
> > > >   MAINTAINERS: change spi driver entry
> > >
> > > What is v4 change log? I wouldn't find it on individual patches?
> >
> > Oh, I forgot to write this to cover letter. But I have written change
> > log to "spi: add spi-mem driver for MediaTek MT7629 SoC".
> > There is only one change in this patch: remove chip select checking.
> > I think this should be implemented in spi-uclass.
> 
> Okay, np. except 0001 rest look fine for me.
> 
> Reviewed-by: Jagan Teki <jagan at amarulasolutions.com>

I have tested another solution. I just move WATCHDOG_RESET() into the
mtk_snfi_exec_op() so there is no need to modify the spi-nor driver.
I think this is better for mt7629.



More information about the U-Boot mailing list