1# Copyright (c) 2021 ITE Corporation. All Rights Reserved.
2# SPDX-License-Identifier: Apache-2.0
3
4config WDT_ITE_IT8XXX2
5	bool "ITE it8xxx2 Watchdog Timer (WDT) driver"
6	default y
7	depends on DT_HAS_ITE_IT8XXX2_WATCHDOG_ENABLED
8	help
9	  This option enables the Watchdog Timer driver for ITE it8xxx2.
10	  This driver supports only one channel that id is 0 and 16-bits
11	  resolution WDT.
12
13config WDT_ITE_WARNING_LEADING_TIME_MS
14	int "Number of ms before generating watchdog event/signal"
15	depends on WDT_ITE_IT8XXX2
16	default 500
17	help
18	  This option defines the window in which a watchdog event must be
19	  handled. After this time window, the watchdog reset triggers
20	  immediately.
21
22config WDT_ITE_REDUCE_WARNING_LEADING_TIME
23	bool "Reduce warning leading time"
24	depends on WDT_ITE_IT8XXX2
25	help
26	  Once warning timer triggered, if watchdog timer isn't reloaded,
27	  then we will reduce interval of warning timer to 30ms to print
28	  more warning messages before watchdog reset.
29