Skip to content

rtc: Implement support for EPSON RX-8035

Mathew McBride linux-devicetree linux-rtc 2 versions – Applied

Status from this message: Applied, thanks!

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest2 patches 4 repliesApplied
  2. v12 patches 6 repliesSuperseded

Changes in v2 from the cover letter

Coding style fixes as per suggestions
Use 'model' instead of 'type' in drvdata
Call rx8025_is_osc_stopped in a consistent manner

Patches in v2 Applied

#Subject and filesSizeRepliesApplied
1/2rtc: rx8025: implement RX-8035 supportdrivers/rtc/rtc-rx8025.c+53 -51 reply
2/2dt-bindings: rtc: add Epson RX-8025 and RX-8035Documentation/devicetree/bindings/rtc/trivial-rtc.yaml+3 -02 replies

Reviews trailers per patch

1 of 2 patches has a Reviewed-by or Acked-by.

PatchRob HerringNobuhiro Iwamatsu
1/2
2/2A-b R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v2 thread

Cover letter [PATCH v2 0/2] rtc: Implement support for EPSON RX-8035

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

Changes in v2:
Coding style fixes as per suggestions
Use 'model' instead of 'type' in drvdata
Call rx8025_is_osc_stopped in a consistent manner

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, 57 insertions(+), 5 deletions(-)
Signature · 1 line
2.30.1