Skip to contentSkip to conversation

rtc: rv8803: add epson,rx8803 and epson,rx8900 compatible

PATCH New Heiko Thiery 2 participants 2 messages Sep 23, 2021 – Oct 7, 2021 Real time clock (RTC)

lore
Share & tools
lore
#0 lore raw

PATCH v2 1/1 rtc: rv8803: add epson,rx8803 and epson,rx8900 compatible

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.

---
The RX8900 RTC is placed on the imx8mm-kontron-n801x-s board and was tested there.

v2:
- add comment about compatiblity with linux (thanks Michael)
- add reviewed-by from Michael

 drivers/rtc/rv8803.c | 2 ++
 1 file changed, 2 insertions(+)
drivers/rtc/rv8803.c +2 -0
index acd50c6564..5bae39d6e0 100644
@@ -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" },
 	{ }
 };
 
Signature · 1 line
2.30.0
#1 lore raw

PATCH v2 1/1 rtc: rv8803: add epson,rx8803 and epson,rx8900 compatible

Quoted 5 lines

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.

Applied to u-boot-imx, master, thanks !

Best regards,
Stefano Babic

Signature · 5 lines
=====================================================================
DENX Software Engineering GmbH,      Managing Director: Wolfgang Denk
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: +49-8142-66989-53 Fax: +49-8142-66989-80 Email: [email protected]
=====================================================================