diff options
author | Chen-Yu Tsai <wens@csie.org> | 2014-08-25 23:54:55 -0400 |
---|---|---|
committer | Maxime Ripard <maxime.ripard@free-electrons.com> | 2014-09-19 06:39:19 -0400 |
commit | 9765d2d9430971ca89b09af076e7a8ff250df473 (patch) | |
tree | 6fe81efa84ab29c06b4af560068f6fafe7de084c /drivers/rtc/Kconfig | |
parent | 7d1311b93e58ed55f3a31cc8f94c4b8fe988a2b9 (diff) |
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>
Diffstat (limited to 'drivers/rtc/Kconfig')
-rw-r--r-- | drivers/rtc/Kconfig | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/drivers/rtc/Kconfig b/drivers/rtc/Kconfig index a168e96142b9..f2300b4e9b17 100644 --- a/drivers/rtc/Kconfig +++ b/drivers/rtc/Kconfig | |||
@@ -1175,6 +1175,13 @@ config RTC_DRV_SUN4V | |||
1175 | If you say Y here you will get support for the Hypervisor | 1175 | If you say Y here you will get support for the Hypervisor |
1176 | based RTC on SUN4V systems. | 1176 | based RTC on SUN4V systems. |
1177 | 1177 | ||
1178 | config RTC_DRV_SUN6I | ||
1179 | tristate "Allwinner A31 RTC" | ||
1180 | depends on MACH_SUN6I || MACH_SUN8I | ||
1181 | help | ||
1182 | If you say Y here you will get support for the RTC found on | ||
1183 | Allwinner A31. | ||
1184 | |||
1178 | config RTC_DRV_SUNXI | 1185 | config RTC_DRV_SUNXI |
1179 | tristate "Allwinner sun4i/sun7i RTC" | 1186 | tristate "Allwinner sun4i/sun7i RTC" |
1180 | depends on ARCH_SUNXI | 1187 | depends on ARCH_SUNXI |