On Sun, 19 Jul 2026 02:49:14 +0100, Daniel Golle wrote:
> The Haoyu HYM8563, found for example on the Radxa ROCK 5B, is a clone of
> the NXP PCF8563 with an identical timekeeping register layout, but the
> pcf8563 driver does not match its compatible used in upstream DT.
>
> Boards fitted with it end up without DM_RTC and, as a consequence,
> without usable EFI GetTime and SetTime runtime services. On top of
> that, when the chip reports that the time may be unreliable after a
> supply voltage drop, the driver returns a bare -1, which callers
> interpret as -EPERM rather than as invalid data.
>
> [...]
Applied to u-boot/main, thanks!
[1/2] rtc: pcf8563: add haoyu,hym8563 compatible
commit: a9a289a211f7e6b479afc3e5f0c07c56e5d6ff7d
[2/2] rtc: pcf8563: return -EINVAL when the voltage-low flag is set
commit: 9811c57b2e01398c6f8ba29a63d93edd4ffe6482
--
Tom