1# Copyright (c) 2022 Bjarki Arge Andreasen
2# SPDX-License-Identifier: Apache-2.0
3
4menuconfig RTC
5	bool "Real-Time Clock (RTC) drivers"
6	help
7	  Enable RTC driver configuration.
8
9if RTC
10
11module = RTC
12module-str = rtc
13source "subsys/logging/Kconfig.template.log_config"
14
15config RTC_INIT_PRIORITY
16	int "RTC init priority"
17	default KERNEL_INIT_PRIORITY_DEVICE
18	help
19	  RTC device driver initialization priority.
20
21config RTC_ALARM
22	bool "RTC driver alarm support"
23	help
24	  This is an option which enables driver support for RTC alarms.
25
26config RTC_UPDATE
27	bool "RTC driver update event callback support"
28	help
29	  This is an option which enables driver support for the RTC
30	  update event callback.
31
32config RTC_CALIBRATION
33	bool "RTC driver clock calibration support"
34	help
35	  This is an option which enables driver support for RTC clock
36	  calibration.
37
38config RTC_SHELL
39	bool "RTC Shell commands"
40	depends on SHELL
41	help
42	  RTC Shell commands
43
44source "drivers/rtc/Kconfig.am1805"
45source "drivers/rtc/Kconfig.emul"
46source "drivers/rtc/Kconfig.fake"
47source "drivers/rtc/Kconfig.pcf8523"
48source "drivers/rtc/Kconfig.pcf8563"
49source "drivers/rtc/Kconfig.mc146818"
50source "drivers/rtc/Kconfig.stm32"
51
52endif # RTC
53