[PATCH] rtc: rv8803: add epson,rx8803 and epson,rx8900 compatible

Heiko Thiery heiko.thiery at gmail.com
Thu Sep 23 10:10:27 CEST 2021


The RX8803 and RX8900 register layouts are compatible with the one of
the RV8803. So add these to the compatibles.

Signed-off-by: Heiko Thiery <heiko.thiery at gmail.com>
---
The RX8900 RTC is placed on the imx8mm-kontron-n801x-s board and was tested
there.

 drivers/rtc/rv8803.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/drivers/rtc/rv8803.c b/drivers/rtc/rv8803.c
index acd50c6564..5bae39d6e0 100644
--- a/drivers/rtc/rv8803.c
+++ b/drivers/rtc/rv8803.c
@@ -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" },
 	{ }
 };
 
-- 
2.30.0



More information about the U-Boot mailing list