[PATCH 7/8] OMAP4: clock: Add CPU local timer clock node.
From: Shilimkar, Santosh <hidden>
Date: 2011-09-30 09:14:56
Also in:
linux-omap
From: Shilimkar, Santosh <hidden>
Date: 2011-09-30 09:14:56
Also in:
linux-omap
On Fri, Sep 30, 2011 at 12:42 AM, Paul Walmsley [off-list ref] wrote:
Hi Santosh, On Thu, 8 Sep 2011, Santosh Shilimkar wrote:quoted
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 <redacted> Cc: Paul Walmsley <paul@pwsan.com> Cc: Kevin Hilman <redacted>This clock looks like the ARM Cortex-A9 MPCore PERIPHCLK, correct? ?From ARM Cortex-A9 MPCore Technical Reference Manual (DDI 0407G) Section 5.1 "Clocks"?
Yes. Peripheral clock/2
Assuming that is so, I've modified this patch appropriately, and added support to the autogeneration script to generate this clock node. Care to take a quick look at it to make sure it's okay?
Thanks a lot Paul. It looks good. Regards Santosh