linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* [RFC 0/3] arm64: Realtek RTD1295 RTC
@ 2017-08-20  1:36 Andreas Färber
  2017-08-20  1:36 ` [RFC 1/3] dt-bindings: rtc: Add Realtek RTD1295 Andreas Färber
                   ` (2 more replies)
  0 siblings, 3 replies; 14+ messages in thread
From: Andreas Färber @ 2017-08-20  1:36 UTC (permalink / raw)
  To: linux-arm-kernel

Hello,

This series adds the RTC for the Realtek RTD1295 SoC.
Based on my RTD1295 clk series.

There being no public source code for RTD1295, the implementation is based on
register offsets seen in the vendor DT, as well as older mach-rtk119x code
published by QNAP.

The base year is hardcoded - probably should be a DT property like downstream?

The DT node depends on the clk series for clock index and header.

More experimental patches at:
https://github.com/afaerber/linux/commits/rtd1295-next

Have a lot of fun!

Cheers,
Andreas

Cc: Alessandro Zummo <a.zummo@towertech.it>
Cc: Alexandre Belloni <alexandre.belloni@free-electrons.com>
Cc: linux-rtc at vger.kernel.org
Cc: Roc He <hepeng@zidoo.tv>
Cc: ??? <jiang.liqin@geniatech.com>
Cc: devicetree at vger.kernel.org

Andreas F?rber (3):
  dt-bindings: rtc: Add Realtek RTD1295
  rtc: Add Realtek RTD1295
  arm64: dts: realtek: Add RTD1295 RTC node

 .../devicetree/bindings/rtc/realtek,rtd119x.txt    |  16 ++
 arch/arm64/boot/dts/realtek/rtd1295.dtsi           |   6 +
 drivers/rtc/Kconfig                                |   8 +
 drivers/rtc/Makefile                               |   1 +
 drivers/rtc/rtc-rtd119x.c                          | 175 +++++++++++++++++++++
 5 files changed, 206 insertions(+)
 create mode 100644 Documentation/devicetree/bindings/rtc/realtek,rtd119x.txt
 create mode 100644 drivers/rtc/rtc-rtd119x.c

-- 
2.12.3

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

end of thread, other threads:[~2017-08-27 19:07 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-08-20  1:36 [RFC 0/3] arm64: Realtek RTD1295 RTC Andreas Färber
2017-08-20  1:36 ` [RFC 1/3] dt-bindings: rtc: Add Realtek RTD1295 Andreas Färber
2017-08-23  0:29   ` Rob Herring
2017-08-27 10:41     ` Andreas Färber
2017-08-27 13:47       ` Andrew Lunn
2017-08-27 17:26         ` Andreas Färber
2017-08-27 19:07           ` Alexandre Belloni
2017-08-20  1:36 ` [RFC 2/3] " Andreas Färber
2017-08-20  8:32   ` Alexandre Belloni
2017-08-20 21:10     ` Andreas Färber
2017-08-23  1:18       ` Alexandre Belloni
2017-08-20 15:40   ` Andrew Lunn
2017-08-20 21:12     ` Andreas Färber
2017-08-20  1:36 ` [RFC 3/3] arm64: dts: realtek: Add RTD1295 RTC node Andreas Färber

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).