Skip to content

Commit 8a0b7f1

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 95cfe00 commit 8a0b7f1

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
@@ -27,6 +27,7 @@ zephyr_library_sources_ifdef(CONFIG_RTC_NXP_IRTC rtc_nxp_irtc.c)
2727
zephyr_library_sources_ifdef(CONFIG_RTC_PCF2123 rtc_pcf2123.c)
2828
zephyr_library_sources_ifdef(CONFIG_RTC_PCF8523 rtc_pcf8523.c)
2929
zephyr_library_sources_ifdef(CONFIG_RTC_PCF8563 rtc_pcf8563.c)
30+
zephyr_library_sources_ifdef(CONFIG_RTC_RENESAS_RA rtc_renesas_ra.c)
3031
zephyr_library_sources_ifdef(CONFIG_RTC_RPI_PICO rtc_rpi_pico.c)
3132
zephyr_library_sources_ifdef(CONFIG_RTC_RTS5912 rtc_rts5912.c)
3233
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
@@ -57,6 +57,7 @@ source "drivers/rtc/Kconfig.nxp_irtc"
5757
source "drivers/rtc/Kconfig.pcf2123"
5858
source "drivers/rtc/Kconfig.pcf8523"
5959
source "drivers/rtc/Kconfig.pcf8563"
60+
source "drivers/rtc/Kconfig.renesas_ra"
6061
source "drivers/rtc/Kconfig.rpi_pico"
6162
source "drivers/rtc/Kconfig.rts5912"
6263
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)