zephyr/drivers/counter/Kconfig.mcux_lpc_rtc
Mahesh Mahadevan 08705f51f2 drivers: mcux_lpc_rtc: Add support for 1KHz counter
Add support for the 1KHz counter. Update the RTC
driver to allow the 1Hz and high resolution counters
to exist together.

Signed-off-by: Mahesh Mahadevan <mahesh.mahadevan@nxp.com>
2024-01-12 13:34:19 +01:00

25 lines
631 B
Plaintext

# Copyright (c) 2021-23, NXP
# SPDX-License-Identifier: Apache-2.0
config COUNTER_MCUX_LPC_RTC
bool "MCUX LPC RTC driver"
default y
depends on DT_HAS_NXP_LPC_RTC_ENABLED || \
DT_HAS_NXP_LPC_RTC_HIGHRES_ENABLED
help
Enable the LPC rtc driver.
config COUNTER_MCUX_LPC_RTC_1HZ
bool "MCUX LPC RTC 1Hz counter driver"
default y
depends on DT_HAS_NXP_LPC_RTC_ENABLED
help
Enable support for LPC 1Hz counter.
config COUNTER_MCUX_LPC_RTC_HIGHRES
bool "MCUX LPC RTC High Resolution counter driver"
default y
depends on DT_HAS_NXP_LPC_RTC_HIGHRES_ENABLED
help
Enable support for LPC rtc high resolution counter.