[PATCH 7/8] OMAP4: clock: Add CPU local timer clock node.

Shilimkar, Santosh santosh.shilimkar at ti.com
Fri Sep 30 05:14:56 EDT 2011


On Fri, Sep 30, 2011 at 12:42 AM, Paul Walmsley <paul at pwsan.com> wrote:
> Hi Santosh,
>
> On Thu, 8 Sep 2011, Santosh Shilimkar wrote:
>
>> 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 at ti.com>
>> Cc: Paul Walmsley <paul at pwsan.com>
>> Cc: Kevin Hilman <khilman at ti.com>
>
> 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



More information about the linux-arm-kernel mailing list