0f1ed0f4a0
Update counter 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>
26 lines
618 B
Plaintext
26 lines
618 B
Plaintext
# MCUXpresso SDK SNVS (Secure) RTC
|
|
|
|
# Copyright (c) 2021 Basalte bv
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
|
|
config COUNTER_MCUX_SNVS
|
|
bool "IMX SNVS RTC driver"
|
|
default y
|
|
depends on DT_HAS_NXP_IMX_SNVS_RTC_ENABLED
|
|
help
|
|
Enable support for the IMX SNVS High/Low Power clock.
|
|
|
|
config COUNTER_MCUX_SNVS_SRTC
|
|
bool "IMX SNVS SRTC low power support"
|
|
depends on COUNTER_MCUX_SNVS
|
|
default y
|
|
help
|
|
Enable the low power SRTC in SNVS to synchronise.
|
|
|
|
config COUNTER_MCUX_SNVS_SRTC_WAKE
|
|
bool "IMX SNVS wake-up on SRTC alarm"
|
|
depends on COUNTER_MCUX_SNVS_SRTC
|
|
default y
|
|
help
|
|
Assert Wake-Up Interrupt on SRTC alarm
|