bdff3e76e5
Update watchdog drivers to use DT_HAS_<compat>_ENABLED Kconfig symbol to expose the driver and enable it by default based on devicetree. We remove 'depend on' Kconfig for symbols that would be implied by the devicetree node existing. Signed-off-by: Kumar Gala <galak@kernel.org>
28 lines
574 B
Plaintext
28 lines
574 B
Plaintext
# Watchdog configuration options
|
|
|
|
# Copyright (c) 2018, NXP
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
|
|
config WDT_MCUX_WDOG
|
|
bool "MCUX WDOG driver"
|
|
default y
|
|
depends on DT_HAS_NXP_KINETIS_WDOG_ENABLED
|
|
depends on CLOCK_CONTROL
|
|
help
|
|
Enable the mcux wdog driver.
|
|
|
|
config WDT_MCUX_WDOG32
|
|
bool "MCUX WDOG32 driver"
|
|
default y
|
|
depends on DT_HAS_NXP_KINETIS_WDOG32_ENABLED
|
|
depends on CLOCK_CONTROL
|
|
help
|
|
Enable the mcux wdog32 driver.
|
|
|
|
config WDT_MCUX_WWDT
|
|
bool "MCUX WWDT driver"
|
|
default y
|
|
depends on DT_HAS_NXP_LPC_WWDT_ENABLED
|
|
help
|
|
Enable the mcux wwdt driver.
|