]> git.baikalelectronics.ru Git - kernel.git/commit
ARM: OMAP: Add initialisation for the real-time counter.
authorSantosh Shilimkar <santosh.shilimkar@ti.com>
Mon, 13 Aug 2012 08:54:24 +0000 (14:24 +0530)
committerSantosh Shilimkar <santosh.shilimkar@ti.com>
Wed, 19 Sep 2012 07:30:36 +0000 (13:00 +0530)
commit15106d577ade6aa41b61db2160a382ccf6c5c6e3
tree5675ffd08a08f8c15353c05c75c0d66c9c64a573
parentb12ee62058c1366a776af8dd009313ab8aeeb1e5
ARM: OMAP: Add initialisation for the real-time counter.

The real time counter also called master counter, is a free-running
counter. It produces the count used by the CPU local timer peripherals
in the MPU cluster. The timer counts at a rate of 6.144 MHz.

The ratio registers needs to be configured based on system clock
only onetime. After initialisation, hardware takes care of adjusting
the clock in different low power modes to keep counter rate constant.

Signed-off-by: Santosh Shilimkar <santosh.shilimkar@ti.com>
arch/arm/mach-omap2/Kconfig
arch/arm/mach-omap2/timer.c