zephyr/drivers/counter/Kconfig.mcux_snvs
Pieter De Gendt 4d161a3b23 drivers: counter: NXP SNVS rtc: Add support for NXP imx SNVS RTC
Adds a driver using the SNVS high power and optionally low power
RTC instances. A device specific function `mcux_snvs_rtc_set` is
provided to update the current counter value.

Signed-off-by: Pieter De Gendt <pieter.degendt@basalte.be>
2021-12-07 09:45:43 -06:00

25 lines
589 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"
depends on HAS_MCUX_SNVS
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