From: Alexander Shishkin Subject: Re: [PATCHV5 4/4] OMAP3: add support for 192Mhz DPLL4M2 output Date: Mon, 18 Jan 2010 12:31:31 +0200 Message-ID: <20100118103131.GM29059@shisha.kicks-ass.net> References: <1263803362-7083-1-git-send-email-vishwanath.bs@ti.com> <1263803362-7083-2-git-send-email-vishwanath.bs@ti.com> <1263803362-7083-3-git-send-email-vishwanath.bs@ti.com> <1263803362-7083-4-git-send-email-vishwanath.bs@ti.com> <1263803362-7083-5-git-send-email-vishwanath.bs@ti.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from filtteri6.pp.htv.fi ([213.243.153.189]:48267 "EHLO filtteri6.pp.htv.fi" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751614Ab0ARKc0 (ORCPT ); Mon, 18 Jan 2010 05:32:26 -0500 Content-Disposition: inline In-Reply-To: <1263803362-7083-5-git-send-email-vishwanath.bs@ti.com> Sender: linux-omap-owner@vger.kernel.org List-Id: linux-omap@vger.kernel.org To: Vishwanath BS Cc: linux-omap@vger.kernel.org, Paul Walmsley On Mon, Jan 18, 2010 at 01:59:22 +0530, Vishwanath BS wrote: > In 3630, DPLL4M2 o/p can be 96MH or 192MHz (for SGX to run at 192). This > patch has changes to support this feature. 96MHz clock is generated by > dividing 192Mhz clock by 2 using CM_CLKSEL_CORE register. > SGX can select Core Clock, 192MHz clock or CM_96M_FCLK as it's > functional clock. In summary changes done are 1. Added a feature called > omap3_has_192mhz_clk and enabled for 3630 2. Added a new clock node > called omap_192m_alwon_ck 3. Made omap_96m_alwon_fck to derive it's > clock from omap_192m_alwon_ck > > Cc: Paul Walmsley > > Signed-off-by: Vishwanath BS > --- > arch/arm/mach-omap2/clock34xx_data.c | 72 ++++++++++++++++++++++++++++----- > arch/arm/mach-omap2/cm-regbits-34xx.h | 2 + > arch/arm/mach-omap2/id.c | 3 + > arch/arm/plat-omap/include/plat/cpu.h | 2 + > 4 files changed, 68 insertions(+), 11 deletions(-) > [snip] > diff --git a/arch/arm/plat-omap/include/plat/cpu.h b/arch/arm/plat-omap/include/plat/cpu.h > index 9a028bd..6718e40 100644 > --- a/arch/arm/plat-omap/include/plat/cpu.h > +++ b/arch/arm/plat-omap/include/plat/cpu.h > @@ -500,6 +500,7 @@ extern u32 omap3_features; > #define OMAP3_HAS_SGX BIT(2) > #define OMAP3_HAS_NEON BIT(3) > #define OMAP3_HAS_ISP BIT(4) > +#define OMAP3_HAS_192MHZ_CLK BIT(5) Looks like it could use a couple more tabs before "BIT(5)". Regards, -- Alex