Date: Wed, 14 Sep 2022 13:42:50 +0000 From: bugzilla-noreply@freebsd.org To: bugs@FreeBSD.org Subject: [Bug 266093] [nxprtc] My PCF8523 fails to initialize properly after 2444018f7dd3c0ecd1099d63de0a856e7f6b1984 Message-ID: <bug-266093-227-9V8lQTgvYA@https.bugs.freebsd.org/bugzilla/> In-Reply-To: <bug-266093-227@https.bugs.freebsd.org/bugzilla/> References: <bug-266093-227@https.bugs.freebsd.org/bugzilla/>
next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D266093 --- Comment #3 from commit-hook@FreeBSD.org --- A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/src/commit/?id=3De2386f18eca2f6f75f7c5c2d49d603e3d= 2674509 commit e2386f18eca2f6f75f7c5c2d49d603e3d2674509 Author: Tetsuya Uemura <t_uemura@macome.co.jp> AuthorDate: 2022-09-14 13:34:15 +0000 Commit: Warner Losh <imp@FreeBSD.org> CommitDate: 2022-09-14 13:34:15 +0000 nxprtc: Fix timing issue with register access. My Adafruit PCF8523 RTC on either RPi2B or RPi3B+ failed to work around 80 ~ 90 % of boot-ups, by printing the following log lines. nxprtc0: <NXP PCF8523 RTC> at addr 0xd0 on iicbus0 nxprtc0: cannot set up timer Warning: no time-of-day clock registered, system time will not be set accurately This is due to pcf8523_start_timer(sc) returned non-zero in nxprtc_start() due to a register read failure of PCF8523_R_TMR_A_FREQ or PCF8523_R_TMR_CLKOUT or a failure to program a new value. The pause_sbt("nxpbat") sleep was too short and caused the register access failures. PR: 266093 sys/dev/iicbus/nxprtc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --=20 You are receiving this mail because: You are the assignee for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-266093-227-9V8lQTgvYA>