aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/rtc
diff options
context:
space:
mode:
authorBoris BREZILLON <boris.brezillon@free-electrons.com>2014-09-23 07:16:05 -0400
committerNicolas Ferre <nicolas.ferre@atmel.com>2014-11-13 10:08:00 -0500
commit3969eb48ad7f3f3bef61f5474b7214e601fd2d75 (patch)
tree875f5bb3c9ab8e352f657dcda5b9cea6ef2f0e36 /drivers/rtc
parent43e112bb3dea87f392871220fcde175c814e26ca (diff)
rtc: at91sam9: rework the Kconfig description
Remove all references to AT91CAP9 SoC which has been removed. Rework help message to remove any specific references to AT91SAM9 SoCs. State that RTC_DRV_AT91SAM9_RTT and RTC_DRV_AT91SAM9_GPBR options are only used when booting non DT boards. Signed-off-by: Boris BREZILLON <boris.brezillon@free-electrons.com> Acked-by: Johan Hovold <johan@kernel.org> Acked-by: Arnd Bergmann <arnd@arndb.de> Signed-off-by: Nicolas Ferre <nicolas.ferre@atmel.com>
Diffstat (limited to 'drivers/rtc')
-rw-r--r--drivers/rtc/Kconfig23
1 files changed, 15 insertions, 8 deletions
diff --git a/drivers/rtc/Kconfig b/drivers/rtc/Kconfig
index 7b1f59258062..5bdd6524f91b 100644
--- a/drivers/rtc/Kconfig
+++ b/drivers/rtc/Kconfig
@@ -1109,17 +1109,18 @@ config RTC_DRV_AT91RM9200
1109 this is powered by the backup power supply. 1109 this is powered by the backup power supply.
1110 1110
1111config RTC_DRV_AT91SAM9 1111config RTC_DRV_AT91SAM9
1112 tristate "AT91SAM9x/AT91CAP9 RTT as RTC" 1112 tristate "AT91SAM9 RTT as RTC"
1113 depends on ARCH_AT91 && !(ARCH_AT91RM9200 || ARCH_AT91X40) 1113 depends on ARCH_AT91 && !(ARCH_AT91RM9200 || ARCH_AT91X40)
1114 select MFD_SYSCON 1114 select MFD_SYSCON
1115 help 1115 help
1116 RTC driver for the Atmel AT91SAM9x and AT91CAP9 internal RTT 1116 Some AT91SAM9 SoCs provide an RTT (Real Time Timer) block which
1117 (Real Time Timer). These timers are powered by the backup power 1117 can be used as an RTC thanks to the backup power supply (e.g. a
1118 supply (such as a small coin cell battery), but do not need to 1118 small coin cell battery) which keeps this block and the GPBR
1119 be used as RTCs. 1119 (General Purpose Backup Registers) block powered when the device
1120 1120 is shutdown.
1121 (On AT91SAM9rl and AT91SAM9G45 chips you probably want to use the 1121 Some AT91SAM9 SoCs provide a real RTC block, on those ones you'd
1122 dedicated RTC module and leave the RTT available for other uses.) 1122 probably want to use the real RTC block instead of the "RTT as an
1123 RTC" driver.
1123 1124
1124config RTC_DRV_AT91SAM9_RTT 1125config RTC_DRV_AT91SAM9_RTT
1125 int 1126 int
@@ -1128,6 +1129,9 @@ config RTC_DRV_AT91SAM9_RTT
1128 prompt "RTT module Number" if ARCH_AT91SAM9263 1129 prompt "RTT module Number" if ARCH_AT91SAM9263
1129 depends on RTC_DRV_AT91SAM9 1130 depends on RTC_DRV_AT91SAM9
1130 help 1131 help
1132 This option is only relevant for legacy board support and
1133 won't be used when booting a DT board.
1134
1131 More than one RTT module is available. You can choose which 1135 More than one RTT module is available. You can choose which
1132 one will be used as an RTC. The default of zero is normally 1136 one will be used as an RTC. The default of zero is normally
1133 OK to use, though some systems use that for non-RTC purposes. 1137 OK to use, though some systems use that for non-RTC purposes.
@@ -1140,6 +1144,9 @@ config RTC_DRV_AT91SAM9_GPBR
1140 prompt "Backup Register Number" 1144 prompt "Backup Register Number"
1141 depends on RTC_DRV_AT91SAM9 1145 depends on RTC_DRV_AT91SAM9
1142 help 1146 help
1147 This option is only relevant for legacy board support and
1148 won't be used when booting a DT board.
1149
1143 The RTC driver needs to use one of the General Purpose Backup 1150 The RTC driver needs to use one of the General Purpose Backup
1144 Registers (GPBRs) as well as the RTT. You can choose which one 1151 Registers (GPBRs) as well as the RTT. You can choose which one
1145 will be used. The default of zero is normally OK to use, but 1152 will be used. The default of zero is normally OK to use, but