On Fri, 2020-10-16 at 08:13 +0000, Qiang Zhao wrote:
> On 2020/10/16 Fri 15:36, Weijie Gao <weijie....@mediatek.com> wrote
> 
> 
> > -----Original Message-----
> > From: Weijie Gao <weijie....@mediatek.com>
> > Sent: 2020年10月16日 15:36
> > To: u-boot@lists.denx.de
> > Cc: GSS_MTK_Uboot_upstream <gss_mtk_uboot_upstr...@mediatek.com>;
> > Daniel Schwierzeck <daniel.schwierz...@gmail.com>; Stefan Roese
> > <s...@denx.de>; Stefan Roese <m...@roese.nl>; Stefan Roese
> > <stefan.ro...@mailbox.org>; Christophe Leroy <christophe.le...@c-s.fr>;
> > Marek Vasut <ma...@denx.de>; Jagan Teki <ja...@amarulasolutions.com>;
> > Suneel Garapati <sgarap...@marvell.com>; Michal Simek
> > <michal.si...@xilinx.com>; Philippe Reynes
> > <philippe.rey...@softathome.com>; Ashok Reddy Soma
> > <ashok.reddy.s...@xilinx.com>; Qiang Zhao <qiang.z...@nxp.com>; Jason Li
> > <jason...@cortina-access.com>; Alex Nemirovsky
> > <alex.nemirov...@cortina-access.com>; Jan Kiszka <jan.kis...@siemens.com>;
> > Weijie Gao <weijie....@mediatek.com>
> > Subject: [PATCH 12/18] watchdog: add watchdog driver for MediaTek MT7620
> > SoC
> > 
> > This patch adds watchdog support for the Mediatek MT7620 SoC
> > 
> > Signed-off-by: Weijie Gao <weijie....@mediatek.com>
> > ---
> >  drivers/watchdog/Kconfig      |   7 ++
> >  drivers/watchdog/Makefile     |   1 +
> >  drivers/watchdog/mt7620_wdt.c | 119
> > ++++++++++++++++++++++++++++++++++
> >  3 files changed, 127 insertions(+)
> >  create mode 100644 drivers/watchdog/mt7620_wdt.c
> > 
> > --- /dev/null
> > +++ b/drivers/watchdog/mt7620_wdt.c
> > @@ -0,0 +1,119 @@
> > +// SPDX-License-Identifier: GPL-2.0
> > +/*
> > + * Copyright (C) 2020 MediaTek Inc.
> > + *
> > + * Author:  Weijie Gao <weijie....@mediatek.com>
> > + *
> > + * Watchdog timer for MT7620 and earlier SoCs  */
> > +
> > +
> > +static const struct wdt_ops mt7620_wdt_ops = {
> > +   .start = mt7620_wdt_start,
> > +   .reset = mt7620_wdt_reset,
> > +   .stop = mt7620_wdt_stop,
> 
> You'd better add expire_now function.

ok. I'll add it.

> 
> Best Regards
> Qiang Zhao

Reply via email to