am335x: Enable RTC 32K OSC clock
authorVaibhav Hiremath <hvaibhav@ti.com>
Thu, 8 Mar 2012 11:45:47 +0000 (17:15 +0530)
committerTom Rini <trini@ti.com>
Thu, 25 Oct 2012 18:30:22 +0000 (11:30 -0700)
commit000820b5835c2b8b863af992b66dc973dc4bd202
treef6abab9e0b1e696f8a21a8e7defbf6bd0fae0ee6
parent3530a35d747508e98976a1d86a6d3f9b31cb3fd2
am335x: Enable RTC 32K OSC clock

In order to support low power state, you must source kernel system
timers to persistent clock, available across suspend/resume.  In case of
AM335x device, the only source we have is, RTC32K, available in
wakeup/always-on domain.  Having said that, during validation it has
been observed that, RTC clock need couple of seconds delay to stabilize
the RTC OSC clock; and such a huge delay is not acceptable in kernel
especially during early init and also it will impact quick/fast boot
use-cases.

So, RTC32k OSC enable dependency has been shifted to
SPL/first-bootloader.

Signed-off-by: Vaibhav Hiremath <hvaibhav@ti.com>
Signed-off-by: Tom Rini <trini@ti.com>
arch/arm/cpu/armv7/am33xx/board.c
arch/arm/cpu/armv7/am33xx/clock.c
arch/arm/include/asm/arch-am33xx/cpu.h
arch/arm/include/asm/arch-am33xx/hardware.h