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 select HAS_WDT_DISABLE_AT_BOOT 9 help 10 This option enables the Watchdog Timer driver for ITE it8xxx2. 11 This driver supports only one channel that id is 0 and 16-bits 12 resolution WDT. 13 14config WDT_ITE_WARNING_LEADING_TIME_MS 15 int "Number of ms before generating watchdog event/signal" 16 depends on WDT_ITE_IT8XXX2 17 default 500 18 help 19 This option defines the window in which a watchdog event must be 20 handled. After this time window, the watchdog reset triggers 21 immediately. 22 23config WDT_ITE_REDUCE_WARNING_LEADING_TIME 24 bool "Reduce warning leading time" 25 depends on WDT_ITE_IT8XXX2 26 help 27 Once warning timer triggered, if watchdog timer isn't reloaded, 28 then we will reduce interval of warning timer to 30ms to print 29 more warning messages before watchdog reset. 30