zephyr/drivers/counter/Kconfig.cmos
Anisetti Avinash Krishna bfeb5043ac drivers: rtc: rtc_mc146818: Added RTC driver for Motorola MC146818B
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>
2023-04-27 14:15:22 +02:00

10 lines
241 B
Plaintext

# Counter driver for x86 "CMOS" clock
# Copyright (c) 2019 Intel Corp.
# SPDX-License-Identifier: Apache-2.0
config COUNTER_CMOS
bool "Counter driver for x86 CMOS/RTC clock"
default y if !RTC
depends on DT_HAS_MOTOROLA_MC146818_ENABLED