summaryrefslogtreecommitdiff
path: root/drivers/watchdog/mtk_wdt.c
Commit message (Collapse)AuthorAgeFilesLines
* common: Move hang() to the same header as panic()Simon Glass2020-01-171-0/+1
| | | | | | | | | | At present panic() is in the vsprintf.h header file. That does not seem like an obvious choice for hang(), even though it relates to panic(). So let's put hang() in its own header. Signed-off-by: Simon Glass <sjg@chromium.org> [trini: Migrate a few more files] Signed-off-by: Tom Rini <trini@konsulko.com>
* watchdog: mtk_wdt: Cosmetic cleanup of latest changesStefan Roese2019-08-051-9/+16
| | | | | | | | | | | | | | | | | This patch cleans up some coding style related issues in the mtk_wtd driver to make this driver comply again with the U-Boot coding style standards. The only minimal functional change is that the timeout parameter is now passed in (u64) instead of (unsigned int) from mtk_wdt_start() to mtk_wdt_set_timeout(), preserving the original value. Signed-off-by: Stefan Roese <sr@denx.de> Cc: Shannon Barber <sbarber@dataspeedinc.com> Cc: Ryder Lee <ryder.lee@mediatek.com> Cc: Matthias Brugger <matthias.bgg@gmail.com> Cc: Frank Wunderlich <frank-w@public-files.de> Reviewed-by: Matthias Brugger <matthias.bgg@gmail.com>
* Fix watchdog timeout setup for mt7623Shannon Barber2019-06-201-7/+21
| | | | Signed-off-by: Shannon Barber <sbarber@dataspeedinc.com>
* watchdog: MediaTek: add watchdog driver for MediaTek SoCsRyder Lee2018-11-281-0/+135
This patch adds a common driver for the Mediatek SoC integrated watchdog. Signed-off-by: Ryder Lee <ryder.lee@mediatek.com> Tested-by: Matthias Brugger <matthias.bgg@gmail.com> Reviewed-by: Simon Glass <sjg@chromium.org>