dm: Simple Watchdog uclass
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: NMaxim Sloyko <maxims@google.com> Reviewed-by: NSimon Glass <sjg@chromium.org>
Showing
drivers/watchdog/sandbox_wdt.c
0 → 100644
drivers/watchdog/wdt-uclass.c
0 → 100644
include/wdt.h
0 → 100644
test/dm/wdt.c
0 → 100644
想要评论请 注册 或 登录