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 drivers: rtc: add ambiq rtc driver 2024-08-09 17:58:35 +01:00
Kconfig.ds1307
Kconfig.emul
Kconfig.fake
Kconfig.ifx_cat1 Drivers: RTC: Initial implementation of RTC for IFX cyw20829 2024-10-09 13:46:56 +02:00
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 drivers: rtc: add RV3028 RTC driver 2024-06-10 21:03:59 -04:00
Kconfig.rv8263 drivers: rtc: Add support for Micro Crystal RV-8263-C8 2024-07-29 14:19:47 +02:00
Kconfig.sam
Kconfig.smartbond
Kconfig.stm32
Kconfig.xmc4xxx drivers: rtc: Add RTC driver for Infineon XMC4xxx devices 2024-09-04 09:54:52 +02:00
rtc_am1805.c
rtc_ambiq.c style: drivers: comply with MISRA C:2012 Rule 15.6 2024-09-11 07:40:35 -04:00
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 drivers: rtc: fake: Patch alarm and update fakes 2024-08-15 11:59:34 -04:00
rtc_handlers.c build: namespace the generated headers with zephyr/ 2024-05-28 22:03:55 +02:00
rtc_ifx_cat1.c Verification: verify code changes from PR review 2024-10-09 13:46:56 +02:00
rtc_ll_stm32.c drivers: rtc: rtc_ll_stm32: add hse clock support 2024-08-28 06:51:00 -04:00
rtc_ll_stm32.h drivers: rtc_stm32: add support for alarms A & B 2024-05-13 09:45:17 +02:00
rtc_mc146818.c drivers: rtc: rtc_mc146818: Patch incorrect field comparisons 2024-06-05 01:38:33 -07:00
rtc_numaker.c
rtc_nxp_irtc.c drivers: rtc: Added IRTC Driver Support. 2024-10-26 03:58:48 +01:00
rtc_pcf8523.c drivers: rtc: update alarm_set_callback to return ENOTSUP 2024-06-17 12:09:15 -04:00
rtc_pcf8563.c everywhere: replace double words 2024-06-22 05:40:22 -04:00
rtc_rpi_pico.c
rtc_rv3028.c drivers: rtc: rv3028: adjust timing of EEPROM requests 2024-08-21 16:51:02 -04:00
rtc_rv8263.c drivers: rtc: rv8263-c8: Alarm reworking 2024-11-06 14:43:10 -06:00
rtc_sam.c
rtc_shell.c drivers: rtc: rtc_shell: Add devices as sub commands 2024-06-07 21:42:54 +02:00
rtc_smartbond.c zephyr: bulk update to DT_NODE_HAS_STATUS_OKAY 2024-10-03 17:06:52 +01:00
rtc_utils.c
rtc_utils.h
rtc_xmc4xxx.c drivers: rtc: Add RTC driver for Infineon XMC4xxx devices 2024-09-04 09:54:52 +02:00