]> git.baikalelectronics.ru Git - uboot.git/commit
watchdog: versal: Add support for expire now
authorAshok Reddy Soma <ashok.reddy.soma@xilinx.com>
Tue, 28 Sep 2021 06:01:59 +0000 (11:31 +0530)
committerMichal Simek <michal.simek@xilinx.com>
Thu, 30 Sep 2021 10:30:38 +0000 (12:30 +0200)
commitef2e0d303f939f45e474ef99507c2c5831b0dfb1
treec390982c3927bfafa8d4294501f2889dc440544f
parentc39c9df1511d33163699ae3697fae45ed54649f8
watchdog: versal: Add support for expire now

Wdt expire command makes the wdt to count least possible ticks(1)
and expires immediately. Add expire_now option to the xlnx_wwdt_ops
and implement it by calling xlnx_wwdt_start() with minimum possible
count(1).

Signed-off-by: Ashok Reddy Soma <ashok.reddy.soma@xilinx.com>
Link: https://lore.kernel.org/r/1632808919-8600-3-git-send-email-ashok.reddy.soma@xilinx.com
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
drivers/watchdog/xilinx_wwdt.c