From 13b9f8aa523880870d40d5c81e1d367ab738472e Mon Sep 17 00:00:00 2001 From: Mulin Chao Date: Tue, 6 Apr 2021 23:51:26 -0700 Subject: [PATCH] driver: wdt: npcx: correct the drawing of npcx watchdog module. The source clock of the watchdog module is selected to the input of T0 timer, not output. Correct the drawing in case confusing the users. Signed-off-by: Mulin Chao --- drivers/watchdog/wdt_npcx.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/drivers/watchdog/wdt_npcx.c b/drivers/watchdog/wdt_npcx.c index 93fe123f61d..e64c71c2602 100644 --- a/drivers/watchdog/wdt_npcx.c +++ b/drivers/watchdog/wdt_npcx.c @@ -16,10 +16,10 @@ * failure detection. Please refer the block diagram for more detail. * * +---------------------+ +-----------------+ - * LFCLK --->| T0 Prescale Counter |--->| 16-Bit T0 Timer |---+----> T0 Timer - * (32kHz) | (TWCP 1:32) | | (TWDT0) | | Event - * +---------------------+ +-----------------+ | - * +----------------------------------------------------------+ + * LFCLK --->| T0 Prescale Counter |-+->| 16-Bit T0 Timer |--------> T0 Timer + * (32kHz) | (TWCP 1:32) | | | (TWDT0) | Event + * +---------------------+ | +-----------------+ + * +---------------------------------+ * | * | +-------------------+ +-----------------+ * +--->| Watchdog Prescale |--->| 8-Bit Watchdog |-----> Watchdog Event/Reset