bfeb5043ac
Added RTC driver that supports Motorola MC146818B Enabled RTC set/get time and alarm, alarm callback and update callback. Counter and RTC uses same hardware in case of Motorola MC146818, so they can't be used at a time. Updated stand-alone mc146818 counter dts instances to support rtc and counter with same compatible string of "motorola,mc146818" on ia32, atom, apollo_lake, elhart_lake and raptor_lake platforms. Signed-off-by: Anisetti Avinash Krishna <anisetti.avinash.krishna@intel.com>
10 lines
256 B
Plaintext
10 lines
256 B
Plaintext
# Intel SoC RTC configuration options
|
|
|
|
# Copyright (c) 2023 Intel Corporation
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
|
|
config RTC_MOTOROLA_MC146818
|
|
bool "RTC driver for x86 CMOS/RTC clock"
|
|
default y if !COUNTER
|
|
depends on DT_HAS_MOTOROLA_MC146818_ENABLED
|