[V6,0/2] watchdog: mtk: support pre-timeout when the bark irq is available

Message ID 1619059532-17805-1-git-send-email-wangqing@vivo.com
Headers show
Series
  • watchdog: mtk: support pre-timeout when the bark irq is available
Related show

Message

Wang Qing April 22, 2021, 2:45 a.m.
Use the bark interrupt as the pretimeout notifier if available.
The pretimeout notification shall occur at timeout-sec/2.

Wang Qing (2):
  watchdog: mtk: support pre-timeout when the bark irq is available
  doc: mtk-wdt: support pre-timeout when the bark irq is available

 .../devicetree/bindings/watchdog/mtk-wdt.txt       |  3 ++
 drivers/watchdog/mtk_wdt.c                         | 53 ++++++++++++++++++++--
 2 files changed, 51 insertions(+), 5 deletions(-)