]> git.kernelconcepts.de Git - karo-tx-linux.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)
commitfa6d79d27614223d82418023b7f5300f1a1530d3
tree5675ffd08a08f8c15353c05c75c0d66c9c64a573
parent5698bd757d55b1bb87edd1a9744ab09c142abfc2
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