From: Arnd Bergmann Date: Mon, 8 Dec 2014 17:27:21 +0000 (+0100) Subject: Merge branch 'at91/cleanup5' into next/drivers X-Git-Tag: MMI-PSA29.97-13-9~11074^2 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=5db45002576f7d60c5bf7b23e277845cd3e806be;p=GitHub%2FMotorolaMobilityLLC%2Fkernel-slsi.git Merge branch 'at91/cleanup5' into next/drivers The at91 cleanups changed a lot of files, this merges in the latest cleanups to resolve the conflicts Conflicts: arch/arm/mach-at91/at91sam9260.c arch/arm/mach-at91/at91sam9261.c arch/arm/mach-at91/at91sam9263.c arch/arm/mach-at91/clock.c arch/arm/mach-at91/clock.h drivers/rtc/Kconfig Signed-off-by: Arnd Bergmann --- 5db45002576f7d60c5bf7b23e277845cd3e806be diff --cc drivers/rtc/Kconfig index eb4669cd9597,0b704889bf91..b682651b5307 --- a/drivers/rtc/Kconfig +++ b/drivers/rtc/Kconfig @@@ -1109,29 -1109,23 +1109,28 @@@ config RTC_DRV_AT91RM920 this is powered by the backup power supply. config RTC_DRV_AT91SAM9 - tristate "AT91SAM9x/AT91CAP9 RTT as RTC" + tristate "AT91SAM9 RTT as RTC" - depends on ARCH_AT91 && !ARCH_AT91RM9200 + depends on ARCH_AT91 + select MFD_SYSCON help - RTC driver for the Atmel AT91SAM9x and AT91CAP9 internal RTT - (Real Time Timer). These timers are powered by the backup power - supply (such as a small coin cell battery), but do not need to - be used as RTCs. - - (On AT91SAM9rl and AT91SAM9G45 chips you probably want to use the - dedicated RTC module and leave the RTT available for other uses.) + Some AT91SAM9 SoCs provide an RTT (Real Time Timer) block which + can be used as an RTC thanks to the backup power supply (e.g. a + small coin cell battery) which keeps this block and the GPBR + (General Purpose Backup Registers) block powered when the device + is shutdown. + Some AT91SAM9 SoCs provide a real RTC block, on those ones you'd + probably want to use the real RTC block instead of the "RTT as an + RTC" driver. config RTC_DRV_AT91SAM9_RTT int range 0 1 default 0 - prompt "RTT module Number" if ARCH_AT91SAM9263 depends on RTC_DRV_AT91SAM9 help + This option is only relevant for legacy board support and + won't be used when booting a DT board. + More than one RTT module is available. You can choose which one will be used as an RTC. The default of zero is normally OK to use, though some systems use that for non-RTC purposes.