
4 Oct
2021
4 Oct
'21
1:33 a.m.
On Fri, Sep 17, 2021 at 06:46:03AM +0000, Mathew McBride wrote:
The RX8025/RX8035 does not like having it's time registers set byte-by-byte in separate I2C transactions.
From the note at the top of the file, it appears target-dependent workarounds have been used in the past for this.
Resolve this by setting the time registers in a single I2C transaction.
As part of this, also ensure the '24/12' flag in the RTC is reset before writing the date (instead of after), otherwise the RX8035 will clear the seconds and minutes registers.
Tested on Traverse Ten64 (NXP LS1088A) with RX8035.
Signed-off-by: Mathew McBride matt@traverse.com.au
Applied to u-boot/next, thanks!
--
Tom