]> git.baikalelectronics.ru Git - kernel.git/commit
ARM: OMAP4: clock: Add CPU local timer clock node
authorSantosh Shilimkar <santosh.shilimkar@ti.com>
Sat, 17 Dec 2011 00:09:12 +0000 (16:09 -0800)
committerTony Lindgren <tony@atomide.com>
Sat, 17 Dec 2011 00:09:12 +0000 (16:09 -0800)
commit0d0b626ab388de6b1f7a0a8bf96d929d1d625367
treee49620b3adc936614c3f5ea3f1466b29952e4fdb
parent39e13a2ecb257f2a43143cbc73f619438a8d4092
ARM: OMAP4: clock: Add CPU local timer clock node

Local timer clock is sourced from the CPU clock and hence changes
along with CPU clock. These per CPU local timers are used as
clock-events, so they need to be reconfigured on CPU frequency
change as part of CPUfreq governor.

Newly introduced clockevents_reconfigure() needs to know the
twd clock-rate. Provide a clock-node to make clk_get_rate() work
for TWD.

Signed-off-by: Santosh Shilimkar <santosh.shilimkar@ti.com>
Cc: Paul Walmsley <paul@pwsan.com>
Cc: Kevin Hilman <khilman@ti.com>
[paul@pwsan.com: renamed clock node to 'mpu_periphclk' to indicate that this
 is the Cortex-A9 MPCore subsystem clock PERIPHCLK (DDI 0407G); moved
 clock and clkdev entries to match the autogenerated script output]
Signed-off-by: Paul Walmsley <paul@pwsan.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
arch/arm/mach-omap2/clock44xx_data.c