From a3a42806920ad12ec831fb2de4f63e251778300f Mon Sep 17 00:00:00 2001 From: Gregory CLEMENT Date: Fri, 13 Feb 2015 14:41:11 -0800 Subject: drivers/rtc/rtc-armada38x: add a new RTC driver for recent mvebu SoCs The new mvebu SoCs come with a new RTC driver. This patch adds the support for this new IP which is currently found in the Armada 38x SoCs. This RTC provides two alarms, but only the first one is used in the driver. The RTC also allows using periodic interrupts. Signed-off-by: Gregory CLEMENT Reviewed-by: Arnaud Ebalard Cc: Alessandro Zummo Cc: Jason Cooper Cc: Andrew Lunn Cc: Sebastian Hesselbarth Cc: Thomas Petazzoni Cc: Ezequiel Garcia Cc: Maxime Ripard Cc: Boris BREZILLON Cc: Lior Amsalem Cc: Tawfik Bayouk Cc: Nadav Haklai Cc: Mark Rutland Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- drivers/rtc/Kconfig | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'drivers/rtc/Kconfig') diff --git a/drivers/rtc/Kconfig b/drivers/rtc/Kconfig index 1b19f327f35f..3bc9ddbe5cf7 100644 --- a/drivers/rtc/Kconfig +++ b/drivers/rtc/Kconfig @@ -1280,6 +1280,16 @@ config RTC_DRV_MV This driver can also be built as a module. If so, the module will be called rtc-mv. +config RTC_DRV_ARMADA38X + tristate "Armada 38x Marvell SoC RTC" + depends on ARCH_MVEBU + help + If you say yes here you will get support for the in-chip RTC + that can be found in the Armada 38x Marvell's SoC device + + This driver can also be built as a module. If so, the module + will be called armada38x-rtc. + config RTC_DRV_PS3 tristate "PS3 RTC" depends on PPC_PS3 -- cgit v1.2.3