summaryrefslogtreecommitdiff
path: root/include/wdt.h
AgeCommit message (Collapse)AuthorFilesLines
2017-08-13wdt: Update uclass to make clear that the timeout is in msAndy Shevchenko1-4/+4
Convert name to show explicitly that we are using milliseconds. For a watchdog timer this is precise enough. No functional change intended. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
2017-05-08dm: Simple Watchdog uclassmaxims@google.com1-0/+107
This is a simple uclass for Watchdog Timers. It has four operations: start, restart, reset, stop. Drivers must implement start, restart and stop operations, while implementing reset is optional: It's default implementation expires watchdog timer in one clock tick. Signed-off-by: Maxim Sloyko <maxims@google.com> Reviewed-by: Simon Glass <sjg@chromium.org>