summaryrefslogtreecommitdiff
path: root/include/dm
diff options
context:
space:
mode:
authormaxims@google.com <maxims@google.com>2017-04-17 19:00:21 (GMT)
committerTom Rini <trini@konsulko.com>2017-05-08 15:57:30 (GMT)
commit0753bc2d30d7ca4a0ea4ef7f97083961c3a9d0e0 (patch)
treeddeb5811ed8c1e75572e109c989f0ce593c8b385 /include/dm
parent17c5fb195376f5883b7f0fdfbf19e42e3be7de43 (diff)
downloadu-boot-fsl-qoriq-0753bc2d30d7ca4a0ea4ef7f97083961c3a9d0e0.tar.xz
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')
-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 1b635e4..4e7cc93 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,