From: Heiko Thiery <heiko.thiery@gmail.com>
To: u-boot@lists.denx.de
Cc: Frieder Schrempf <frieder.schrempf@kontron.de>,
Michael Walle <michael@walle.cc>,
Heiko Thiery <heiko.thiery@gmail.com>
Subject: [PATCH v2] rtc: rv8803: add epson,rx8803 and epson,rx8900 compatible
Date: Thu, 23 Sep 2021 11:14:32 +0200 [thread overview]
Message-ID: <20210923091431.11245-1-heiko.thiery@gmail.com> (raw)
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
next reply other threads:[~2021-09-23 9:15 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-09-23 9:14 Heiko Thiery [this message]
2021-10-07 14:12 ` [PATCH v2] rtc: rv8803: add epson,rx8803 and epson,rx8900 compatible sbabic
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20210923091431.11245-1-heiko.thiery@gmail.com \
--to=heiko.thiery@gmail.com \
--cc=frieder.schrempf@kontron.de \
--cc=michael@walle.cc \
--cc=u-boot@lists.denx.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox