]> git.ipfire.org Git - thirdparty/u-boot.git/commitdiff
rtc: pcf8563: add haoyu,hym8563 compatible
authorDaniel Golle <daniel@makrotopia.org>
Sun, 19 Jul 2026 01:49:27 +0000 (02:49 +0100)
committerTom Rini <trini@konsulko.com>
Wed, 29 Jul 2026 20:50:18 +0000 (14:50 -0600)
The HYM8563 is a PCF8563 clone with an identical timekeeping register
layout and is found e.g. on the Radxa ROCK 5B. Match its compatible so
DM_RTC (and with it the EFI GetTime/SetTime runtime services) can use
the existing driver with upstream DT.

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
Reviewed-by: Tom Rini <trini@konsulko.com>
drivers/rtc/pcf8563.c

index 03bef68051ba4fa7ed732b253fce7a60465f8a35..83d60dc9b5507a92f0b97549a1283c256edb9513 100644 (file)
@@ -213,6 +213,7 @@ static const struct rtc_ops pcf8563_rtc_ops = {
 
 static const struct udevice_id pcf8563_rtc_ids[] = {
        { .compatible = "nxp,pcf8563" },
+       { .compatible = "haoyu,hym8563" },
        { }
 };