All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/2] Implement EPSON RX-8035 support
@ 2021-07-07  7:16 Mathew McBride
  2021-07-07  7:16 ` [PATCH 1/2] rtc: rx8025: implement " Mathew McBride
  2021-07-07  7:16 ` [PATCH 2/2] dt-bindings: rtc: add Epson RX-8025 and RX-8035 Mathew McBride
  0 siblings, 2 replies; 9+ messages in thread
From: Mathew McBride @ 2021-07-07  7:16 UTC (permalink / raw)
  To: linux-rtc, Alessandro Zummo, Alexandre Belloni, Rob Herring, devicetree
  Cc: Mathew McBride

The EPSON RX-8035[SA] is a I2C real time clock module with
built-in oscillator[1]. It is a very close relative of the EPSON
RX-8025 that is supported by the rtc-rx8025 driver.

The main difference is that the RX-8035 has inverted the
'oscillator stop' bit in the control register. The operation
of the devices is otherwise identical for the features currently
supported.

Curiously, the RX-8025 is also supported by the ds1307 driver
as the time register set is compatible. The control registers,
however, are not.

I have decided to implement the RX-8035 in rtc-rx8025 due the simplicity
of that driver.

As best as I can determine, the rtc-rx8025 driver was in the tree
some months[1] before rx8025 support was added to ds1307[2]. 

[1] - https://www5.epsondevice.com/en/products/rtc/rx8035sa.html
[2] - commit 3c2b9075cbdb541dbe486bde45925c9610de6f35
[3] - commit a216685818a54b4f15235068b53908f954850251

Mathew McBride (2):
  rtc: rx8025: implement RX-8035 support
  dt-bindings: rtc: add Epson RX-8025 and RX-8035

 .../devicetree/bindings/rtc/trivial-rtc.yaml  |  3 +
 drivers/rtc/rtc-rx8025.c                      | 59 +++++++++++++++++--
 2 files changed, 56 insertions(+), 6 deletions(-)

-- 
2.30.1


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

end of thread, other threads:[~2021-07-12  0:03 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-07-07  7:16 [PATCH 0/2] Implement EPSON RX-8035 support Mathew McBride
2021-07-07  7:16 ` [PATCH 1/2] rtc: rx8025: implement " Mathew McBride
2021-07-07 21:38   ` Nobuhiro Iwamatsu
2021-07-07  7:16 ` [PATCH 2/2] dt-bindings: rtc: add Epson RX-8025 and RX-8035 Mathew McBride
2021-07-07 21:46   ` Nobuhiro Iwamatsu
2021-07-07 21:52     ` Alexandre Belloni
2021-07-09  7:19       ` Nobuhiro Iwamatsu
2021-07-10  0:40         ` Alexandre Belloni
2021-07-12  0:02           ` Nobuhiro Iwamatsu

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.