rtc: sun6i: Add sun6i RTC driver
authorChen-Yu Tsai <wens@csie.org>
Tue, 26 Aug 2014 03:54:55 +0000 (11:54 +0800)
committerMaxime Ripard <maxime.ripard@free-electrons.com>
Fri, 19 Sep 2014 10:39:19 +0000 (12:39 +0200)
commit9765d2d9430971ca89b09af076e7a8ff250df473
tree6fe81efa84ab29c06b4af560068f6fafe7de084c
parent7d1311b93e58ed55f3a31cc8f94c4b8fe988a2b9
rtc: sun6i: Add sun6i RTC driver

This patch introduces the driver for the RTC in the Allwinner A31 and
A23 SoCs.

Unlike the RTC found in A10/A20 SoCs, which was part of the timer, the
RTC in A31/A23 are a separate hardware block, which also contain a few
controls for the RTC block hardware (a regulator and RTC block GPIO pin
latches), while also having separate interrupts for the alarms.

The hardware is different enough to make a different driver for it.

Signed-off-by: Chen-Yu Tsai <wens@csie.org>
Reviewed-by: Varka Bhadram <varkabhadram@gmail.com>
Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
Documentation/devicetree/bindings/rtc/sun6i-rtc.txt [new file with mode: 0644]
drivers/rtc/Kconfig
drivers/rtc/Makefile
drivers/rtc/rtc-sun6i.c [new file with mode: 0644]