summaryrefslogtreecommitdiff
path: root/zephyr/drivers/cros_rtc/nxp_rtc_pcf85063a.h
Commit message (Collapse)AuthorAgeFilesLines
* RTC: Zephyr PCF85063A RTC driverSam Hurst2021-09-031-0/+58
Zephyr PCF85063A RTC driver BRANCH=none BUG=b:194710429 TEST=ectool rtcset 30000 ectool rtcget Current time: 0x0000753d (30013) ectool rtcsetalarm 10 after ~10 (measured with a timer) printed on ec console: [160.248900 event set 0x0000000002000000] I tested the alarm up to one hour. Hibernation test: $ rtc RTC: 0x00047624 (292388.00 s) $ hibernate Hibernating until wake pin asserted. # Wait approx. 30s before pressing power button [Reset cause: hibernate wake-pin] $ rtc RTC: 0x00047645 (292421.00 s) # 292421s - 292388s = 33s Signed-off-by: Sam Hurst <shurst@google.com> Change-Id: I3d5eb7d209dd63df54049a02165076f393d53be1 Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3115449 Reviewed-by: Keith Short <keithshort@chromium.org> Reviewed-by: Wai-Hong Tam <waihong@google.com>