mirror of
git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2025-08-05 16:54:27 +00:00
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>
This commit is contained in:
parent
43e112bb3d
commit
3969eb48ad
1 changed files with 15 additions and 8 deletions
|
@ -1109,17 +1109,18 @@ config RTC_DRV_AT91RM9200
|
||||||
this is powered by the backup power supply.
|
this is powered by the backup power supply.
|
||||||
|
|
||||||
config RTC_DRV_AT91SAM9
|
config RTC_DRV_AT91SAM9
|
||||||
tristate "AT91SAM9x/AT91CAP9 RTT as RTC"
|
tristate "AT91SAM9 RTT as RTC"
|
||||||
depends on ARCH_AT91 && !(ARCH_AT91RM9200 || ARCH_AT91X40)
|
depends on ARCH_AT91 && !(ARCH_AT91RM9200 || ARCH_AT91X40)
|
||||||
select MFD_SYSCON
|
select MFD_SYSCON
|
||||||
help
|
help
|
||||||
RTC driver for the Atmel AT91SAM9x and AT91CAP9 internal RTT
|
Some AT91SAM9 SoCs provide an RTT (Real Time Timer) block which
|
||||||
(Real Time Timer). These timers are powered by the backup power
|
can be used as an RTC thanks to the backup power supply (e.g. a
|
||||||
supply (such as a small coin cell battery), but do not need to
|
small coin cell battery) which keeps this block and the GPBR
|
||||||
be used as RTCs.
|
(General Purpose Backup Registers) block powered when the device
|
||||||
|
is shutdown.
|
||||||
(On AT91SAM9rl and AT91SAM9G45 chips you probably want to use the
|
Some AT91SAM9 SoCs provide a real RTC block, on those ones you'd
|
||||||
dedicated RTC module and leave the RTT available for other uses.)
|
probably want to use the real RTC block instead of the "RTT as an
|
||||||
|
RTC" driver.
|
||||||
|
|
||||||
config RTC_DRV_AT91SAM9_RTT
|
config RTC_DRV_AT91SAM9_RTT
|
||||||
int
|
int
|
||||||
|
@ -1128,6 +1129,9 @@ config RTC_DRV_AT91SAM9_RTT
|
||||||
prompt "RTT module Number" if ARCH_AT91SAM9263
|
prompt "RTT module Number" if ARCH_AT91SAM9263
|
||||||
depends on RTC_DRV_AT91SAM9
|
depends on RTC_DRV_AT91SAM9
|
||||||
help
|
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
|
More than one RTT module is available. You can choose which
|
||||||
one will be used as an RTC. The default of zero is normally
|
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.
|
OK to use, though some systems use that for non-RTC purposes.
|
||||||
|
@ -1140,6 +1144,9 @@ config RTC_DRV_AT91SAM9_GPBR
|
||||||
prompt "Backup Register Number"
|
prompt "Backup Register Number"
|
||||||
depends on RTC_DRV_AT91SAM9
|
depends on RTC_DRV_AT91SAM9
|
||||||
help
|
help
|
||||||
|
This option is only relevant for legacy board support and
|
||||||
|
won't be used when booting a DT board.
|
||||||
|
|
||||||
The RTC driver needs to use one of the General Purpose Backup
|
The RTC driver needs to use one of the General Purpose Backup
|
||||||
Registers (GPBRs) as well as the RTT. You can choose which one
|
Registers (GPBRs) as well as the RTT. You can choose which one
|
||||||
will be used. The default of zero is normally OK to use, but
|
will be used. The default of zero is normally OK to use, but
|
||||||
|
|
Loading…
Add table
Reference in a new issue