[PATCH 12/18] watchdog: add watchdog driver for MediaTek MT7620 SoC

Weijie Gao weijie.gao at mediatek.com
Mon Oct 19 02:48:24 CEST 2020


On Fri, 2020-10-16 at 08:13 +0000, Qiang Zhao wrote:
> On 2020/10/16 Fri 15:36, Weijie Gao <weijie.gao at mediatek.com> wrote
> 
> 
> > -----Original Message-----
> > From: Weijie Gao <weijie.gao at mediatek.com>
> > Sent: 2020年10月16日 15:36
> > To: u-boot at lists.denx.de
> > Cc: GSS_MTK_Uboot_upstream <GSS_MTK_Uboot_upstream at mediatek.com>;
> > Daniel Schwierzeck <daniel.schwierzeck at gmail.com>; Stefan Roese
> > <sr at denx.de>; Stefan Roese <mail at roese.nl>; Stefan Roese
> > <stefan.roese at mailbox.org>; Christophe Leroy <christophe.leroy at c-s.fr>;
> > Marek Vasut <marex at denx.de>; Jagan Teki <jagan at amarulasolutions.com>;
> > Suneel Garapati <sgarapati at marvell.com>; Michal Simek
> > <michal.simek at xilinx.com>; Philippe Reynes
> > <philippe.reynes at softathome.com>; Ashok Reddy Soma
> > <ashok.reddy.soma at xilinx.com>; Qiang Zhao <qiang.zhao at nxp.com>; Jason Li
> > <jason.li at cortina-access.com>; Alex Nemirovsky
> > <alex.nemirovsky at cortina-access.com>; Jan Kiszka <jan.kiszka at siemens.com>;
> > Weijie Gao <weijie.gao at 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.gao at 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.gao at 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



More information about the U-Boot mailing list