All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v2] rtc: rv8803: add epson,rx8803 and epson,rx8900 compatible
@ 2021-09-23  9:14 Heiko Thiery
  2021-10-07 14:12 ` sbabic
  0 siblings, 1 reply; 2+ messages in thread
From: Heiko Thiery @ 2021-09-23  9:14 UTC (permalink / raw)
  To: u-boot; +Cc: Frieder Schrempf, Michael Walle, Heiko Thiery

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>
---
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(+)

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


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* [PATCH v2] rtc: rv8803: add epson,rx8803 and epson,rx8900 compatible
  2021-09-23  9:14 [PATCH v2] rtc: rv8803: add epson,rx8803 and epson,rx8900 compatible Heiko Thiery
@ 2021-10-07 14:12 ` sbabic
  0 siblings, 0 replies; 2+ messages in thread
From: sbabic @ 2021-10-07 14:12 UTC (permalink / raw)
  To: Heiko Thiery, U-Boot

> 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>
Applied to u-boot-imx, master, thanks !

Best regards,
Stefano Babic

-- 
=====================================================================
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: sbabic@denx.de
=====================================================================

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2021-10-07 14:14 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-09-23  9:14 [PATCH v2] rtc: rv8803: add epson,rx8803 and epson,rx8900 compatible Heiko Thiery
2021-10-07 14:12 ` sbabic

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.