From patchwork Wed Oct 31 15:56:02 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Pantelis Antoniou X-Patchwork-Id: 1672201 Return-Path: X-Original-To: patchwork-linux-omap@patchwork.kernel.org Delivered-To: patchwork-process-083081@patchwork1.kernel.org Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by patchwork1.kernel.org (Postfix) with ESMTP id 9388840233 for ; Tue, 30 Oct 2012 18:17:42 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S965276Ab2J3SRZ (ORCPT ); Tue, 30 Oct 2012 14:17:25 -0400 Received: from li42-95.members.linode.com ([209.123.162.95]:59052 "EHLO li42-95.members.linode.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S933957Ab2J3SMn (ORCPT ); Tue, 30 Oct 2012 14:12:43 -0400 Received: from sles11esa.localdomain (unknown [195.97.110.117]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) (Authenticated sender: panto) by li42-95.members.linode.com (Postfix) with ESMTPSA id A9AF79C1E7; Tue, 30 Oct 2012 18:02:55 +0000 (UTC) From: Pantelis Antoniou To: Paul Walmsley Cc: Pantelis Antoniou , Tony Lindgren , linux-omap@vger.kernel.org, linux-kernel@vger.kernel.org, Koen Kooi , Matt Porter , Russ Dill Subject: [PATCH] omap2-clk: Add missing lcdc clock definition Date: Wed, 31 Oct 2012 17:56:02 +0200 Message-Id: <1351698962-3923-1-git-send-email-panto@antoniou-consulting.com> X-Mailer: git-send-email 1.7.12 Sender: linux-omap-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-omap@vger.kernel.org Looks like the lcdc clock definition got dropped. It is required for the LCD controller to work. Reintroduce. Signed-off-by: Pantelis Antoniou --- arch/arm/mach-omap2/clock33xx_data.c | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/arch/arm/mach-omap2/clock33xx_data.c b/arch/arm/mach-omap2/clock33xx_data.c index 1a45d6b..b7b7995 100644 --- a/arch/arm/mach-omap2/clock33xx_data.c +++ b/arch/arm/mach-omap2/clock33xx_data.c @@ -867,6 +867,16 @@ static struct clk lcd_gclk = { .recalc = &followparent_recalc, }; +static struct clk lcdc_fck = { + .name = "lcdc_fck", + .clkdm_name = "lcdc_clkdm", + .parent = &lcd_gclk, + .enable_reg = AM33XX_CM_PER_LCDC_CLKCTRL, + .enable_bit = AM33XX_MODULEMODE_SWCTRL, + .ops = &clkops_omap2_dflt, + .recalc = &followparent_recalc, +}; + static struct clk mmc_clk = { .name = "mmc_clk", .clkdm_name = "l4ls_clkdm", @@ -1075,6 +1085,7 @@ static struct omap_clk am33xx_clks[] = { CLK(NULL, "clkout2_ck", &clkout2_ck, CK_AM33XX), CLK(NULL, "timer_32k_ck", &clkdiv32k_ick, CK_AM33XX), CLK(NULL, "timer_sys_ck", &sys_clkin_ck, CK_AM33XX), + CLK("da8xx_lcdc.0", NULL, &lcdc_fck, CK_AM33XX), }; int __init am33xx_clk_init(void)