From mboxrd@z Thu Jan 1 00:00:00 1970 From: Santosh Shilimkar Subject: Re: [PATCH, RFC 3/8] ARM: twd: clock rate from DT (if no DT clk tree) Date: Tue, 19 Feb 2013 15:48:27 +0530 Message-ID: <51235173.5020000@ti.com> References: <94cb377171f84ceefd667aead4602d70adab6619.1361186097.git.afzal@ti.com> Mime-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-1"; format=flowed Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <94cb377171f84ceefd667aead4602d70adab6619.1361186097.git.afzal@ti.com> Sender: linux-doc-owner@vger.kernel.org To: Afzal Mohammed Cc: linux-omap@vger.kernel.org, linux-arm-kernel@lists.infradead.org, devicetree-discuss@lists.ozlabs.org, linux-doc@vger.kernel.org, linux-kernel@vger.kernel.org, Russell King , Tony Lindgren , Marc Zyngier , Nicolas Pitre , Will Deacon , Linus Walleij , Rob Herring , Grant Likely , Rob Landley , Sekhar Nori , Syed Mohammed Khasim List-Id: linux-omap@vger.kernel.org On Monday 18 February 2013 05:07 PM, Afzal Mohammed wrote: > Add an optional property to find clock-frequency from DT. This helps > as a fallback mechanism in case there is no representation of clock > tree in DT. > > Signed-off-by: Afzal Mohammed > --- This won't work always because twd clock is CPU dependent and changes with CPU clock speed. And more importantly to get CPUFreq working, you need to provide the correct clock-node to TWD library. Refer OMAP4 clock data for reference. Regards, Santosh