Basically, the same RTC that was used in SuperH devices is now used in RZ/A1 devices. Therefore with some slight changes, that driver can be reused. Additionally, since ARM architectures require Device Tree configurations, device tree support has been added. This was tested on RZ/A1H RSK board. Once the correct time was programmed into the RTC running off a 32.768kHz crystal, you can retain an accurate system clock between reboots (hard and soft) until power is finally removed from the board (there is no batter backup on the RSK board). v2: * removed HAVE_CLK from Kconfig * when using DT, look for "fck" instead of "rtc0" * changed (res == NULL) to (!res) * added Reviewed-by for rtc-sh.c * added interrupt-names and clock-names * clocks now include counting sources * added clock-names "fck", "rtc_x1", "rtc_x3", "extal" * changed 'is a RTC' to 'is an RTC' in commit message * changed "rtc0" to "rtc" * Added clock nodes for RTC_X1 and RTC_X3 pin inputs * each commit now has a log message Chris Brandt (7): rtc: rtc-sh: add support for rza series rtc: Add rtc-sh ARM: dts: r7s72100: add rtc clock to device tree ARM: dts: r7s72100: add RTC_X clock inputs to device tree ARM: dts: r7s72100: add rtc to device tree ARM: dts: rskrza1: set rtc_x1 clock value ARM: dts: rskrza1: add rtc DT support Documentation/devicetree/bindings/rtc/rtc-sh.txt | 29 +++++++++++++++++++ arch/arm/boot/dts/r7s72100-rskrza1.dts | 8 +++++ arch/arm/boot/dts/r7s72100.dtsi | 37 ++++++++++++++++++++++++ drivers/rtc/Kconfig | 4 +-- drivers/rtc/rtc-sh.c | 33 +++++++++++++++++---- include/dt-bindings/clock/r7s72100-clock.h | 3 ++ 6 files changed, 107 insertions(+), 7 deletions(-) create mode 100644 Documentation/devicetree/bindings/rtc/rtc-sh.txt -- 2.10.1 -- To unsubscribe from this list: send the line "unsubscribe devicetree" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html