2015-12-03 18:49:29 +08:00
|
|
|
# Kconfig - RTC configuration options
|
|
|
|
#
|
|
|
|
#
|
|
|
|
# Copyright (c) 2015 Intel Corporation
|
|
|
|
#
|
2017-01-19 09:01:01 +08:00
|
|
|
# SPDX-License-Identifier: Apache-2.0
|
2015-12-03 18:49:29 +08:00
|
|
|
#
|
|
|
|
|
|
|
|
#
|
|
|
|
# Real-Time Clock (RTC) options
|
|
|
|
#
|
2015-11-22 09:58:15 +08:00
|
|
|
menuconfig RTC
|
|
|
|
bool "Real-Time Clock"
|
|
|
|
help
|
2017-12-13 23:08:21 +08:00
|
|
|
Enable options for Real-Time Clock drivers.
|
2015-11-22 09:58:15 +08:00
|
|
|
|
|
|
|
if RTC
|
|
|
|
|
2018-10-09 06:26:29 +08:00
|
|
|
module = RTC
|
|
|
|
module-str = rtc
|
|
|
|
source "subsys/logging/Kconfig.template.log_config"
|
|
|
|
|
2016-05-07 23:57:23 +08:00
|
|
|
config RTC_0_NAME
|
|
|
|
string "Driver instance name"
|
|
|
|
default "RTC_0"
|
2018-03-05 20:10:07 +08:00
|
|
|
depends on RTC && !HAS_DTS
|
2016-05-07 23:57:23 +08:00
|
|
|
help
|
2017-12-13 23:08:21 +08:00
|
|
|
RTC driver instance name
|
2016-05-07 23:57:23 +08:00
|
|
|
|
2018-04-25 02:27:35 +08:00
|
|
|
comment "RTC drivers"
|
2016-04-01 02:10:02 +08:00
|
|
|
|
2018-04-25 02:27:35 +08:00
|
|
|
source "drivers/rtc/Kconfig.qmsi"
|
2018-04-25 02:28:12 +08:00
|
|
|
source "drivers/rtc/Kconfig.mcux_rtc"
|
2018-03-21 22:29:59 +08:00
|
|
|
source "drivers/rtc/Kconfig.stm32_rtc"
|
2016-06-02 11:13:47 +08:00
|
|
|
|
2015-11-22 09:58:15 +08:00
|
|
|
endif # RTC
|