rtc: rv8803: add epson,rx8803 and epson,rx8900 compatible
authorHeiko Thiery <heiko.thiery@gmail.com>
Thu, 23 Sep 2021 09:14:32 +0000 (11:14 +0200)
committerStefano Babic <sbabic@denx.de>
Thu, 7 Oct 2021 14:53:50 +0000 (16:53 +0200)
The RX8803 and RX8900 register layouts are compatible with the one of
the RV8803. So add these to the compatibles.

The same compatible strings are used and approved in linux kernel.

Signed-off-by: Heiko Thiery <heiko.thiery@gmail.com>
Reviewed-by: Michael Walle <michael@walle.cc>
drivers/rtc/rv8803.c

index acd50c6..5bae39d 100644 (file)
@@ -157,6 +157,8 @@ static const struct rtc_ops rv8803_rtc_ops = {
 
 static const struct udevice_id rv8803_rtc_ids[] = {
        { .compatible = "microcrystal,rv8803", },
+       { .compatible = "epson,rx8803" },
+       { .compatible = "epson,rx8900" },
        { }
 };