From mboxrd@z Thu Jan 1 00:00:00 1970 From: Tony Lindgren Subject: Re: [PATCH] ARM: OMAP4: clock: Add CPU local timer clock node Date: Fri, 16 Dec 2011 11:46:48 -0800 Message-ID: <20111216194648.GF32251@atomide.com> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from mho-03-ewr.mailhop.org ([204.13.248.66]:45917 "EHLO mho-01-ewr.mailhop.org" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1752217Ab1LPTqu (ORCPT ); Fri, 16 Dec 2011 14:46:50 -0500 Content-Disposition: inline In-Reply-To: Sender: linux-omap-owner@vger.kernel.org List-Id: linux-omap@vger.kernel.org To: Paul Walmsley Cc: linux-omap@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Santosh Shilimkar , Kevin Hilman * Paul Walmsley [111216 03:31]: > > From: Santosh Shilimkar > > 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 > Cc: Paul Walmsley > Cc: Kevin Hilman > [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 > > --- > This version 3 has been updated by Santosh to use "smp_twd" as the dev_id > and a NULL con_id, to match Linus Walleij's code. Thanks applying into fixes-non-critical-part2. Regards, Tony From mboxrd@z Thu Jan 1 00:00:00 1970 From: tony@atomide.com (Tony Lindgren) Date: Fri, 16 Dec 2011 11:46:48 -0800 Subject: [PATCH] ARM: OMAP4: clock: Add CPU local timer clock node In-Reply-To: References: Message-ID: <20111216194648.GF32251@atomide.com> To: linux-arm-kernel@lists.infradead.org List-Id: linux-arm-kernel.lists.infradead.org * Paul Walmsley [111216 03:31]: > > From: Santosh Shilimkar > > 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 > Cc: Paul Walmsley > Cc: Kevin Hilman > [paul at 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 > > --- > This version 3 has been updated by Santosh to use "smp_twd" as the dev_id > and a NULL con_id, to match Linus Walleij's code. Thanks applying into fixes-non-critical-part2. Regards, Tony