From patchwork Fri May 21 15:15:38 2010 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Guennadi Liakhovetski X-Patchwork-Id: 101425 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by demeter.kernel.org (8.14.3/8.14.3) with ESMTP id o4LFFwcu032579 for ; Fri, 21 May 2010 15:15:58 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1758285Ab0EUPP0 (ORCPT ); Fri, 21 May 2010 11:15:26 -0400 Received: from mail.gmx.net ([213.165.64.20]:56661 "HELO mail.gmx.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with SMTP id S1758267Ab0EUPPW (ORCPT ); Fri, 21 May 2010 11:15:22 -0400 Received: (qmail invoked by alias); 21 May 2010 15:15:20 -0000 Received: from p57BD1D79.dip0.t-ipconnect.de (EHLO axis700.grange) [87.189.29.121] by mail.gmx.net (mp008) with SMTP; 21 May 2010 17:15:20 +0200 X-Authenticated: #20450766 X-Provags-ID: V01U2FsdGVkX1/l0XkQB6flVV4uMxifdpzj4hK7800x6gFM7N46Ds DSqnV4npuLouy9 Received: from lyakh (helo=localhost) by axis700.grange with local-esmtp (Exim 4.63) (envelope-from ) id 1OFTwo-0005p5-BJ; Fri, 21 May 2010 17:15:38 +0200 Date: Fri, 21 May 2010 17:15:38 +0200 (CEST) From: Guennadi Liakhovetski To: "linux-sh@vger.kernel.org" cc: Magnus Damm , "linux-fbdev, @vger.kernel.org" , "lin, ux-omap@vger.kernel.org" , "Syrjala Ville (Nokia-D/Helsinki)" , Tomi Valkeinen Subject: [PATCH 2/5] ARM: add LCDC and MIPI DSI-Tx clock definitions to sh7372 In-Reply-To: Message-ID: References: MIME-Version: 1.0 X-Y-GMX-Trusted: 0 Sender: linux-sh-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-sh@vger.kernel.org X-Greylist: IP, sender and recipient auto-whitelisted, not delayed by milter-greylist-4.2.3 (demeter.kernel.org [140.211.167.41]); Fri, 21 May 2010 15:15:58 +0000 (UTC) diff --git a/arch/arm/mach-shmobile/clock-sh7372.c b/arch/arm/mach-shmobile/clock-sh7372.c index abbc380..66ee47a 100644 --- a/arch/arm/mach-shmobile/clock-sh7372.c +++ b/arch/arm/mach-shmobile/clock-sh7372.c @@ -264,8 +264,12 @@ struct clk div6_clks[] = { #define R_CLK (&r_clk) #define HP_CLK (&div4_clks[DIV4_HP]) +#define B_CLK (&div4_clks[DIV4_B]) static struct clk mstp_clks[] = { + MSTP("lcdc0", B_CLK, SMSTPCR1, 0, 0), + MSTP("lcdc1", B_CLK, SMSTPCR1, 17, 0), + MSTP("dsitx", B_CLK, SMSTPCR1, 18, 0), MSTP("sdhi0", HP_CLK, SMSTPCR3, 14, 0), MSTP("sdhi1", HP_CLK, SMSTPCR3, 13, 0), MSTP("keysc0", R_CLK, SMSTPCR4, 3, 0),