[PATCH 3/4] rtc: rx8025: set date in a single i2c transaction

Tom Rini trini at konsulko.com
Mon Oct 4 01:33:28 CEST 2021


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 at traverse.com.au>

Applied to u-boot/next, thanks!

-- 
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 659 bytes
Desc: not available
URL: <https://lists.denx.de/pipermail/u-boot/attachments/20211003/e6a8fdd5/attachment.sig>


More information about the U-Boot mailing list