Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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>

authored by

Boris BREZILLON and committed by
Nicolas Ferre
3969eb48 43e112bb

+15 -8
+15 -8
drivers/rtc/Kconfig
··· 1109 1109 this is powered by the backup power supply. 1110 1110 1111 1111 config RTC_DRV_AT91SAM9 1112 - tristate "AT91SAM9x/AT91CAP9 RTT as RTC" 1112 + tristate "AT91SAM9 RTT as RTC" 1113 1113 depends on ARCH_AT91 && !(ARCH_AT91RM9200 || ARCH_AT91X40) 1114 1114 select MFD_SYSCON 1115 1115 help 1116 - RTC driver for the Atmel AT91SAM9x and AT91CAP9 internal RTT 1117 - (Real Time Timer). These timers are powered by the backup power 1118 - supply (such as a small coin cell battery), but do not need to 1119 - be used as RTCs. 1120 - 1121 - (On AT91SAM9rl and AT91SAM9G45 chips you probably want to use the 1122 - dedicated RTC module and leave the RTT available for other uses.) 1116 + Some AT91SAM9 SoCs provide an RTT (Real Time Timer) block which 1117 + can be used as an RTC thanks to the backup power supply (e.g. a 1118 + small coin cell battery) which keeps this block and the GPBR 1119 + (General Purpose Backup Registers) block powered when the device 1120 + is shutdown. 1121 + Some AT91SAM9 SoCs provide a real RTC block, on those ones you'd 1122 + probably want to use the real RTC block instead of the "RTT as an 1123 + RTC" driver. 1123 1124 1124 1125 config RTC_DRV_AT91SAM9_RTT 1125 1126 int ··· 1129 1128 prompt "RTT module Number" if ARCH_AT91SAM9263 1130 1129 depends on RTC_DRV_AT91SAM9 1131 1130 help 1131 + This option is only relevant for legacy board support and 1132 + won't be used when booting a DT board. 1133 + 1132 1134 More than one RTT module is available. You can choose which 1133 1135 one will be used as an RTC. The default of zero is normally 1134 1136 OK to use, though some systems use that for non-RTC purposes. ··· 1144 1140 prompt "Backup Register Number" 1145 1141 depends on RTC_DRV_AT91SAM9 1146 1142 help 1143 + This option is only relevant for legacy board support and 1144 + won't be used when booting a DT board. 1145 + 1147 1146 The RTC driver needs to use one of the General Purpose Backup 1148 1147 Registers (GPBRs) as well as the RTT. You can choose which one 1149 1148 will be used. The default of zero is normally OK to use, but