]> git.dujemihanovic.xyz Git - u-boot.git/commit
drivers: rtc: max313xx: provide read8/write8
authorChris Packham <judge.packham@gmail.com>
Tue, 11 Jul 2023 23:30:44 +0000 (11:30 +1200)
committerTom Rini <trini@konsulko.com>
Tue, 25 Jul 2023 16:44:46 +0000 (12:44 -0400)
commitd6c0d7087f0d17d954a39e0f6af406cfb2d7d43a
tree1ed9f92759fb4c8e6f8c8d13e3842d92952144cd
parentb1aade87ca1f5d3788bd6ef570b438c2dc7a9428
drivers: rtc: max313xx: provide read8/write8

In some designs the MAX313xx RTC may need calibration to cope with
oscillator inaccuracies. Provide read8/write8 ops so that the registers
can be accessed. Because the driver covers a range of MAX313xx variants
no attempt is made to ensure the register is valid.

Signed-off-by: Chris Packham <judge.packham@gmail.com>
drivers/rtc/max313xx.c