Skip to content

Commit dc9d38c

Browse files
khoatranyjduynguyenxa
authored andcommitted
drivers: rtc: Initial driver support for RTC on Renesas RA
Add driver support for RTC on Renesas RA Signed-off-by: Khoa Tran <[email protected]>
1 parent 87f1d6b commit dc9d38c

File tree

6 files changed

+685
-0
lines changed

6 files changed

+685
-0
lines changed

drivers/rtc/CMakeLists.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@ zephyr_library_sources_ifdef(CONFIG_RTC_PCF2123 rtc_pcf2123.c)
2929
zephyr_library_sources_ifdef(CONFIG_RTC_PCF85063A rtc_pcf85063a.c)
3030
zephyr_library_sources_ifdef(CONFIG_RTC_PCF8523 rtc_pcf8523.c)
3131
zephyr_library_sources_ifdef(CONFIG_RTC_PCF8563 rtc_pcf8563.c)
32+
zephyr_library_sources_ifdef(CONFIG_RTC_RENESAS_RA rtc_renesas_ra.c)
3233
zephyr_library_sources_ifdef(CONFIG_RTC_RPI_PICO rtc_rpi_pico.c)
3334
zephyr_library_sources_ifdef(CONFIG_RTC_RTS5912 rtc_rts5912.c)
3435
zephyr_library_sources_ifdef(CONFIG_RTC_RV3028 rtc_rv3028.c)

drivers/rtc/Kconfig

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,7 @@ source "drivers/rtc/Kconfig.pcf2123"
5959
source "drivers/rtc/Kconfig.pcf85063a"
6060
source "drivers/rtc/Kconfig.pcf8523"
6161
source "drivers/rtc/Kconfig.pcf8563"
62+
source "drivers/rtc/Kconfig.renesas_ra"
6263
source "drivers/rtc/Kconfig.rpi_pico"
6364
source "drivers/rtc/Kconfig.rts5912"
6465
source "drivers/rtc/Kconfig.rv3028"

drivers/rtc/Kconfig.renesas_ra

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
# Renesas RA Family
2+
3+
# Copyright (c) 2025 Renesas Electronics Corporation
4+
# SPDX-License-Identifier: Apache-2.0
5+
6+
config RTC_RENESAS_RA
7+
bool "Renesas RA RTC"
8+
default y
9+
depends on DT_HAS_RENESAS_RA_RTC_ENABLED
10+
select USE_RA_FSP_RTC
11+
help
12+
Enable Renesas RA RTC Driver.

0 commit comments

Comments
 (0)