zephyr/drivers/rtc
Andrew Feldhaus a2e920cf96 drivers: rtc: rtc_ds1307: Fix corruption of SECONDS register
We read/modify/write the CH/SECONDS register at initialisation to clear
only the Clock Halt bit and only if it is set.

The previous implementation zeroes the entire register unconditionally at
initialisation, which wipes the SECONDS fields.

Fixes #77354.

Signed-off-by: Andrew Feldhaus <github@feldhaus.co.uk>
2024-11-08 13:58:10 -06:00
..
CMakeLists.txt drivers: rtc: Added IRTC Driver Support. 2024-10-26 03:58:48 +01:00
Kconfig drivers: rtc: Added IRTC Driver Support. 2024-10-26 03:58:48 +01:00
Kconfig.am1805
Kconfig.ambiq
Kconfig.ds1307
Kconfig.emul
Kconfig.fake
Kconfig.ifx_cat1
Kconfig.mc146818
Kconfig.numaker
Kconfig.nxp_irtc drivers: rtc: Added IRTC Driver Support. 2024-10-26 03:58:48 +01:00
Kconfig.pcf8523
Kconfig.pcf8563
Kconfig.rpi_pico
Kconfig.rv3028
Kconfig.rv8263
Kconfig.sam
Kconfig.smartbond
Kconfig.stm32
Kconfig.xmc4xxx
rtc_am1805.c
rtc_ambiq.c
rtc_ds1307.c drivers: rtc: rtc_ds1307: Fix corruption of SECONDS register 2024-11-08 13:58:10 -06:00
rtc_emul.c
rtc_fake.c
rtc_handlers.c
rtc_ifx_cat1.c
rtc_ll_stm32.c
rtc_ll_stm32.h
rtc_mc146818.c
rtc_numaker.c
rtc_nxp_irtc.c drivers: rtc: Added IRTC Driver Support. 2024-10-26 03:58:48 +01:00
rtc_pcf8523.c
rtc_pcf8563.c
rtc_rpi_pico.c
rtc_rv3028.c
rtc_rv8263.c drivers: rtc: rv8263-c8: Alarm reworking 2024-11-06 14:43:10 -06:00
rtc_sam.c
rtc_shell.c
rtc_smartbond.c
rtc_utils.c
rtc_utils.h
rtc_xmc4xxx.c