From patchwork Tue Mar 19 09:59:53 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Vikas C Sajjan X-Patchwork-Id: 2299901 Return-Path: X-Original-To: patchwork-linux-media@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 15DFF3FD8C for ; Tue, 19 Mar 2013 10:00:24 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751346Ab3CSKAV (ORCPT ); Tue, 19 Mar 2013 06:00:21 -0400 Received: from mail-da0-f50.google.com ([209.85.210.50]:35241 "EHLO mail-da0-f50.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750758Ab3CSKAU (ORCPT ); Tue, 19 Mar 2013 06:00:20 -0400 Received: by mail-da0-f50.google.com with SMTP id t1so216963dae.9 for ; Tue, 19 Mar 2013 03:00:20 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=x-received:from:to:cc:subject:date:message-id:x-mailer :x-gm-message-state; bh=v4y0MtyEM+mHcNj5/tCVZF84h1HuJYrm5tjMB6r5k8I=; b=SNVOwJpxneXac7206bApcBotkuMTOXBFGnCFe5s6W23KMUT+A3eKD3F5fdKCLjxjgD H13Y+EMjXXgGAyPu4KsYPmyjUbFMP/TIEADj4UKJiJSAPpLoE+fTQLiAdDLLNyD7SSv4 3Rn6oSyrjvAYBaq6TKUp6a6WlrUb3Rkuyr7W9xuENym+jNOeypLPQsH8KUh6sQr9HFH9 NndgvJt1AI81/Znfp9GeiPyzDGKFt9b+zfSywPNrdrBSuMTmaJ5Z5YGFsbJh5wp2XxMh 3QQLb5GenBGdNRy/pBMi4e79P1hKKIevvwLsGCmKc3vBiHO8Y6vpkNPAfh4p8zI62gsF xknA== X-Received: by 10.68.239.194 with SMTP id vu2mr2030514pbc.147.1363687220210; Tue, 19 Mar 2013 03:00:20 -0700 (PDT) Received: from localhost.localdomain ([115.113.119.130]) by mx.google.com with ESMTPS id i10sm23719663pbd.1.2013.03.19.03.00.15 (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Tue, 19 Mar 2013 03:00:19 -0700 (PDT) From: Vikas Sajjan To: dri-devel@lists.freedesktop.org Cc: linux-media@vger.kernel.org, kgene.kim@samsung.com, joshi@samsung.com, inki.dae@samsung.com, linaro-kernel@lists.linaro.org, jy0922.shim@samsung.com, linux-samsung-soc@vger.kernel.org, thomas.abraham@linaro.org Subject: [PATCH] drm/exynos: enable FIMD clocks Date: Tue, 19 Mar 2013 15:29:53 +0530 Message-Id: <1363687193-30893-1-git-send-email-vikas.sajjan@linaro.org> X-Mailer: git-send-email 1.7.9.5 X-Gm-Message-State: ALoCoQmk0YZeQ/M0ayk8B077uaSx6miVAUocU897UIAntwltLjkgxWnmsOe9uaQdQDlZGzTV7ZP7 Sender: linux-media-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-media@vger.kernel.org While migrating to common clock framework (CCF), found that the FIMD clocks were pulled down by the CCF. If CCF finds any clock(s) which has NOT been claimed by any of the drivers, then such clock(s) are PULLed low by CCF. By calling clk_prepare_enable() for FIMD clocks fixes the issue. Signed-off-by: Vikas Sajjan --- drivers/gpu/drm/exynos/exynos_drm_fimd.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/drivers/gpu/drm/exynos/exynos_drm_fimd.c b/drivers/gpu/drm/exynos/exynos_drm_fimd.c index 9537761..d93dd8a 100644 --- a/drivers/gpu/drm/exynos/exynos_drm_fimd.c +++ b/drivers/gpu/drm/exynos/exynos_drm_fimd.c @@ -934,6 +934,9 @@ static int fimd_probe(struct platform_device *pdev) return ret; } + clk_prepare_enable(ctx->lcd_clk); + clk_prepare_enable(ctx->bus_clk); + ctx->vidcon0 = pdata->vidcon0; ctx->vidcon1 = pdata->vidcon1; ctx->default_win = pdata->default_win;