From ba20cadd6529a46741541a15c847a04d688e98b9 Mon Sep 17 00:00:00 2001 From: Xiang Xiao Date: Mon, 19 Sep 2022 05:28:49 +0800 Subject: [PATCH] watchdog: Add help description for each keep alive method Signed-off-by: Xiang Xiao --- drivers/timers/Kconfig | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/drivers/timers/Kconfig b/drivers/timers/Kconfig index 8fa06cb4b7..ab69d8d3a8 100644 --- a/drivers/timers/Kconfig +++ b/drivers/timers/Kconfig @@ -370,25 +370,37 @@ choice config WATCHDOG_AUTOMONITOR_BY_CAPTURE bool "Capture callback" + ---help--- + Feed watchdog through watchdog_ops_s::capture callback periodically config WATCHDOG_AUTOMONITOR_BY_ONESHOT bool "Oneshot callback" depends on ONESHOT + ---help--- + Feed watchdog through oneshot_lowerhalf_s functions periodically config WATCHDOG_AUTOMONITOR_BY_TIMER bool "Timer callback" depends on TIMER + ---help--- + Feed watchdog through timer_lowerhalf_s functions periodically config WATCHDOG_AUTOMONITOR_BY_WDOG bool "Wdog callback" + ---help--- + Feed watchdog through wdog functions periodically config WATCHDOG_AUTOMONITOR_BY_WORKER bool "Worker callback" depends on SCHED_WORKQUEUE + ---help--- + Feed watchdog through wqueue functions periodically config WATCHDOG_AUTOMONITOR_BY_IDLE bool "Idle callback" depends on PM + ---help--- + Feed watchdog before idle through pm_callback_s::notify callback endchoice