devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 1/2 RESEND] dt/bindings: rtc: rx8900: Add an entry for RX8804
@ 2021-11-30 12:58 Fabio Estevam
  2021-11-30 12:58 ` [PATCH 2/2 RESEND] rtc: rv8803: Add support for the Epson RX8804 RTC Fabio Estevam
  2021-12-02 22:26 ` [PATCH 1/2 RESEND] dt/bindings: rtc: rx8900: Add an entry for RX8804 Alexandre Belloni
  0 siblings, 2 replies; 3+ messages in thread
From: Fabio Estevam @ 2021-11-30 12:58 UTC (permalink / raw)
  To: alexandre.belloni; +Cc: robh+dt, linux-rtc, devicetree, otavio, Fabio Estevam

The Epson RX8804 RTC has the same programming model as RV8803 and
RX8900.

Add an entry for it in the binding document.

Signed-off-by: Fabio Estevam <festevam@gmail.com>
Reviewed-by: Otavio Salvador <otavio@ossystems.com.br>
---
 Documentation/devicetree/bindings/rtc/epson,rx8900.yaml | 1 +
 1 file changed, 1 insertion(+)

diff --git a/Documentation/devicetree/bindings/rtc/epson,rx8900.yaml b/Documentation/devicetree/bindings/rtc/epson,rx8900.yaml
index 29fe39bb08ad..d12855e7ffd7 100644
--- a/Documentation/devicetree/bindings/rtc/epson,rx8900.yaml
+++ b/Documentation/devicetree/bindings/rtc/epson,rx8900.yaml
@@ -15,6 +15,7 @@ allOf:
 properties:
   compatible:
     enum:
+      - epson,rx8804
       - epson,rx8900
       - microcrystal,rv8803
 
-- 
2.25.1


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

* [PATCH 2/2 RESEND] rtc: rv8803: Add support for the Epson RX8804 RTC
  2021-11-30 12:58 [PATCH 1/2 RESEND] dt/bindings: rtc: rx8900: Add an entry for RX8804 Fabio Estevam
@ 2021-11-30 12:58 ` Fabio Estevam
  2021-12-02 22:26 ` [PATCH 1/2 RESEND] dt/bindings: rtc: rx8900: Add an entry for RX8804 Alexandre Belloni
  1 sibling, 0 replies; 3+ messages in thread
From: Fabio Estevam @ 2021-11-30 12:58 UTC (permalink / raw)
  To: alexandre.belloni; +Cc: robh+dt, linux-rtc, devicetree, otavio, Fabio Estevam

The Epson RX8804 RTC has the same programming model as RV8803.

Add support for it in the driver.

Signed-off-by: Fabio Estevam <festevam@gmail.com>
Reviewed-by: Otavio Salvador <otavio@ossystems.com.br>
---
 drivers/rtc/rtc-rv8803.c | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/drivers/rtc/rtc-rv8803.c b/drivers/rtc/rtc-rv8803.c
index 0d5ed38bf60c..f69e0b1137cd 100644
--- a/drivers/rtc/rtc-rv8803.c
+++ b/drivers/rtc/rtc-rv8803.c
@@ -55,6 +55,7 @@
 
 enum rv8803_type {
 	rv_8803,
+	rx_8804,
 	rx_8900
 };
 
@@ -601,6 +602,7 @@ static int rv8803_probe(struct i2c_client *client,
 
 static const struct i2c_device_id rv8803_id[] = {
 	{ "rv8803", rv_8803 },
+	{ "rv8804", rx_8804 },
 	{ "rx8803", rv_8803 },
 	{ "rx8900", rx_8900 },
 	{ }
@@ -616,6 +618,10 @@ static const __maybe_unused struct of_device_id rv8803_of_match[] = {
 		.compatible = "epson,rx8803",
 		.data = (void *)rv_8803
 	},
+	{
+		.compatible = "epson,rx8804",
+		.data = (void *)rx_8804
+	},
 	{
 		.compatible = "epson,rx8900",
 		.data = (void *)rx_8900
-- 
2.25.1


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

* Re: [PATCH 1/2 RESEND] dt/bindings: rtc: rx8900: Add an entry for RX8804
  2021-11-30 12:58 [PATCH 1/2 RESEND] dt/bindings: rtc: rx8900: Add an entry for RX8804 Fabio Estevam
  2021-11-30 12:58 ` [PATCH 2/2 RESEND] rtc: rv8803: Add support for the Epson RX8804 RTC Fabio Estevam
@ 2021-12-02 22:26 ` Alexandre Belloni
  1 sibling, 0 replies; 3+ messages in thread
From: Alexandre Belloni @ 2021-12-02 22:26 UTC (permalink / raw)
  To: Fabio Estevam; +Cc: Alexandre Belloni, otavio, devicetree, linux-rtc, robh+dt

On Tue, 30 Nov 2021 09:58:29 -0300, Fabio Estevam wrote:
> The Epson RX8804 RTC has the same programming model as RV8803 and
> RX8900.
> 
> Add an entry for it in the binding document.
> 
> 

Applied, thanks!

[1/2] dt/bindings: rtc: rx8900: Add an entry for RX8804
      commit: 10d96b44a94e5cfd23739d2dcb950a7bdc109736
[2/2] rtc: rv8803: Add support for the Epson RX8804 RTC
      commit: 5c0189a8b52f76d8a061d2ec80adb11559742d78

Best regards,
-- 
Alexandre Belloni <alexandre.belloni@bootlin.com>

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

end of thread, other threads:[~2021-12-02 22:26 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-11-30 12:58 [PATCH 1/2 RESEND] dt/bindings: rtc: rx8900: Add an entry for RX8804 Fabio Estevam
2021-11-30 12:58 ` [PATCH 2/2 RESEND] rtc: rv8803: Add support for the Epson RX8804 RTC Fabio Estevam
2021-12-02 22:26 ` [PATCH 1/2 RESEND] dt/bindings: rtc: rx8900: Add an entry for RX8804 Alexandre Belloni

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).