summaryrefslogtreecommitdiff
path: root/include/dm/uclass-id.h
diff options
context:
space:
mode:
authormaxims@google.com <maxims@google.com>2017-04-17 12:00:21 -0700
committerTom Rini <trini@konsulko.com>2017-05-08 11:57:30 -0400
commit0753bc2d30d7ca4a0ea4ef7f97083961c3a9d0e0 (patch)
treeddeb5811ed8c1e75572e109c989f0ce593c8b385 /include/dm/uclass-id.h
parent17c5fb195376f5883b7f0fdfbf19e42e3be7de43 (diff)
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: Maxim Sloyko <maxims@google.com> Reviewed-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'include/dm/uclass-id.h')
-rw-r--r--include/dm/uclass-id.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/dm/uclass-id.h b/include/dm/uclass-id.h
index 1b635e41103..4e7cc935bd2 100644
--- a/include/dm/uclass-id.h
+++ b/include/dm/uclass-id.h
@@ -84,6 +84,7 @@ enum uclass_id {
UCLASS_VIDEO, /* Video or LCD device */
UCLASS_VIDEO_BRIDGE, /* Video bridge, e.g. DisplayPort to LVDS */
UCLASS_VIDEO_CONSOLE, /* Text console driver for video device */
+ UCLASS_WDT, /* Watchdot Timer driver */
UCLASS_COUNT,
UCLASS_INVALID = -1,