Skip to content

Commit bae6e35

Browse files
faxe1008henrikbrixandersen
authored andcommitted
drivers: rtc: Add nxp,pcf85063a driver
Adds a driver implementation for the pcf85063a I2C rtc. Signed-off-by: Fabian Blatz <[email protected]>
1 parent d1493b6 commit bae6e35

File tree

5 files changed

+471
-0
lines changed

5 files changed

+471
-0
lines changed

drivers/rtc/CMakeLists.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@ zephyr_library_sources_ifdef(CONFIG_RTC_MOTOROLA_MC146818 rtc_mc146818.c)
2626
zephyr_library_sources_ifdef(CONFIG_RTC_NUMAKER rtc_numaker.c)
2727
zephyr_library_sources_ifdef(CONFIG_RTC_NXP_IRTC rtc_nxp_irtc.c)
2828
zephyr_library_sources_ifdef(CONFIG_RTC_PCF2123 rtc_pcf2123.c)
29+
zephyr_library_sources_ifdef(CONFIG_RTC_PCF85063A rtc_pcf85063a.c)
2930
zephyr_library_sources_ifdef(CONFIG_RTC_PCF8523 rtc_pcf8523.c)
3031
zephyr_library_sources_ifdef(CONFIG_RTC_PCF8563 rtc_pcf8563.c)
3132
zephyr_library_sources_ifdef(CONFIG_RTC_RPI_PICO rtc_rpi_pico.c)

drivers/rtc/Kconfig

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,7 @@ source "drivers/rtc/Kconfig.mc146818"
5656
source "drivers/rtc/Kconfig.numaker"
5757
source "drivers/rtc/Kconfig.nxp_irtc"
5858
source "drivers/rtc/Kconfig.pcf2123"
59+
source "drivers/rtc/Kconfig.pcf85063a"
5960
source "drivers/rtc/Kconfig.pcf8523"
6061
source "drivers/rtc/Kconfig.pcf8563"
6162
source "drivers/rtc/Kconfig.rpi_pico"

drivers/rtc/Kconfig.pcf85063a

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
# Copyright (c) 2025 Fabian Blatz <[email protected]>
2+
# SPDX-License-Identifier: Apache-2.0
3+
4+
config RTC_PCF85063A
5+
bool "NXP PCF85063A Real-Time Clock driver"
6+
default y
7+
depends on DT_HAS_NXP_PCF85063A_ENABLED
8+
select I2C
9+
help
10+
Enable NXP PCF85063A I2C driver.

0 commit comments

Comments
 (0)