zephyr/drivers/rtc/Kconfig
Tomasz Bursztyka 250c4a87ed arch: Use dts to set rtc priorities for Intel quark, x86 and arc
Get the name generated through dts as well.
Fix the rtc driver and relevant SoCs accordingly.

Signed-off-by: Tomasz Bursztyka <tomasz.bursztyka@linux.intel.com>
2018-05-18 20:18:50 +03:00

33 lines
509 B
Plaintext

# Kconfig - RTC configuration options
#
#
# Copyright (c) 2015 Intel Corporation
#
# SPDX-License-Identifier: Apache-2.0
#
#
# Real-Time Clock (RTC) options
#
menuconfig RTC
bool "Real-Time Clock"
default n
help
Enable options for Real-Time Clock drivers.
if RTC
config RTC_0_NAME
string "Driver instance name"
default "RTC_0"
depends on RTC && !HAS_DTS
help
RTC driver instance name
comment "RTC drivers"
source "drivers/rtc/Kconfig.qmsi"
source "drivers/rtc/Kconfig.mcux_rtc"
endif # RTC