[PATCH 0/3] watchdog: mtk_wdt: add support for mt6577
Boris Lysov
arzamas-16 at mail.ee
Sun Jan 31 18:44:22 EST 2021
This series adds support for mt6577 watchdog to the:
a) mtk_wdt driver - by bringing support for 16-bit I/O
b) mtk_wdt dt-binding - by declaring compatibility with mt6577
Without these changes user would have to disable watchdog by manually
writing a value to the register, otherwise the device will power off.
Accepting these patches will make ground for submitting additional
changes related to the mainline support of mt6577 (and other compatible
SoCs) in future.
Suggested patches successfully pass all `checkpatch.pl` checks, and they
do not interfere with already supported watchdogs.
Boris Lysov (3):
dt-bindings: watchdog: mediatek: add support for mt6577 SoC
watchdog: mtk_wdt: add support for 16-bit control registers
watchdog: mtk_wdt: declare compatibility with mt6577
.../devicetree/bindings/watchdog/mtk-wdt.txt | 1 +
drivers/watchdog/Kconfig | 9 +++++
drivers/watchdog/mtk_wdt.c | 35 +++++++++++++------
3 files changed, 35 insertions(+), 10 deletions(-)
--
2.20.1
More information about the Linux-mediatek
mailing list