drivers: rtc: stm32: New stm32 RTC driver
STM32 RTC driver for the new RTC API. Can't coexist with old COUNTER based RTC Though supported by HW, RTC_ALARM still to be supported by driver Signed-off-by: Kim Bøndergaard <kim.bondergaard@prevas.dk>
This commit is contained in:
parent
6775b263f3
commit
b3c46083fb
5 changed files with 195 additions and 0 deletions
12
drivers/rtc/Kconfig.stm32
Normal file
12
drivers/rtc/Kconfig.stm32
Normal file
|
@ -0,0 +1,12 @@
|
|||
# Copyright 2023 Prevas A/S
|
||||
# SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
config RTC_STM32
|
||||
bool "STM32 RTC driver"
|
||||
default y if !COUNTER
|
||||
depends on DT_HAS_ST_STM32_RTC_ENABLED
|
||||
select USE_STM32_LL_RTC
|
||||
select USE_STM32_LL_PWR
|
||||
select USE_STM32_LL_RCC
|
||||
help
|
||||
Build RTC driver for STM32 SoCs.
|
Loading…
Add table
Add a link
Reference in a new issue