From patchwork Wed Apr 2 17:13:42 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Rahul Sharma X-Patchwork-Id: 3933201 Return-Path: X-Original-To: patchwork-dri-devel@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork2.web.kernel.org (Postfix) with ESMTP id BCD19BFF02 for ; Thu, 3 Apr 2014 15:52:19 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id E1E3120260 for ; Thu, 3 Apr 2014 15:52:18 +0000 (UTC) Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) by mail.kernel.org (Postfix) with ESMTP id 27E2C202A1 for ; Thu, 3 Apr 2014 15:52:18 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id E199C6E31E; Thu, 3 Apr 2014 08:52:04 -0700 (PDT) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from mailout3.samsung.com (mailout3.samsung.com [203.254.224.33]) by gabe.freedesktop.org (Postfix) with ESMTP id 019306EBD3 for ; Wed, 2 Apr 2014 10:14:28 -0700 (PDT) Received: from epcpsbgr2.samsung.com (u142.gpu120.samsung.co.kr [203.254.230.142]) by mailout3.samsung.com (Oracle Communications Messaging Server 7u4-24.01 (7.0.4.24.0) 64bit (built Nov 17 2011)) with ESMTP id <0N3E003RZYK2V710@mailout3.samsung.com> for dri-devel@lists.freedesktop.org; Thu, 03 Apr 2014 02:14:26 +0900 (KST) Received: from epcpsbgm1.samsung.com ( [172.20.52.122]) by epcpsbgr2.samsung.com (EPCPMTA) with SMTP id B9.14.09028.1754C335; Thu, 03 Apr 2014 02:14:26 +0900 (KST) X-AuditID: cbfee68e-b7f566d000002344-21-533c45713988 Received: from epmmp1.local.host ( [203.254.227.16]) by epcpsbgm1.samsung.com (EPCPMTA) with SMTP id C7.83.29263.1754C335; Thu, 03 Apr 2014 02:14:25 +0900 (KST) Received: from localhost.localdomain ([107.108.83.245]) by mmp1.samsung.com (Oracle Communications Messaging Server 7u4-24.01 (7.0.4.24.0) 64bit (built Nov 17 2011)) with ESMTPA id <0N3E008ZSYJTP380@mmp1.samsung.com>; Thu, 03 Apr 2014 02:14:25 +0900 (KST) From: Rahul Sharma To: dri-devel@lists.freedesktop.org, linux-samsung-soc@vger.kernel.org Subject: [PATCH 1/5] drm/exynos: remove dummy hdmiphy clock from hdmi driver Date: Wed, 02 Apr 2014 22:43:42 +0530 Message-id: <1396458826-3051-2-git-send-email-rahul.sharma@samsung.com> X-Mailer: git-send-email 1.7.9.5 In-reply-to: <1396458826-3051-1-git-send-email-rahul.sharma@samsung.com> References: <1396458826-3051-1-git-send-email-rahul.sharma@samsung.com> X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFnrJLMWRmVeSWpSXmKPExsWyRsSkSrfI1SbY4HIjq8WVr+/ZLCbdn8Bi 8X3XF3aLGef3MVksfBFvMWXRYVYHNo+ds+6ye9zvPs7k0bdlFaPH501yASxRXDYpqTmZZalF +nYJXBkXjyxmKZjAX7H04lLmBsbbPF2MHBwSAiYSXc9iuxg5gUwxiQv31rN1MXJxCAksZZTo mdPPBpEwkZjR8JwVIrGIUeLYlx5GkISQQDuTxKmJuiA2m4CuxOyDz8DiIgJuEk2HZ7KC2MwC 2RKHD7wEiwsL+Eh8OHuJHcRmEVCVuPK3H6yGV8Bd4v6KicwQBylIzJlkAxLmFPCQ+PT0NdQq d4nPe5rBbpAQ6GaXuPtkJjPEHAGJb5MPsUD0ykpsOsAMcbOkxMEVN1gmMAovYGRYxSiaWpBc UJyUXmSkV5yYW1yal66XnJ+7iREYzKf/PevbwXjzgPUhxmSgcROZpUST84HRkFcSb2hsZmRh amJqbGRuaUaasJI476KHSUFCAumJJanZqakFqUXxRaU5qcWHGJk4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Filter: Pass X-MTR: 20000000000000000@CPGS X-CFilter-Loop: Reflected X-Mailman-Approved-At: Thu, 03 Apr 2014 08:52:03 -0700 Cc: joshi@samsung.com, Rahul Sharma X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" X-Spam-Status: No, score=-4.8 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_MED, RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=unavailable version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP From: Rahul Sharma Exynos drm hdmi driver used to get dummy hdmiphy clock to control the PMU bit for hdmiphy. This clock is removed during CCF migration. This should also be cleaned from hdmi driver. Signed-off-by: Rahul Sharma --- drivers/gpu/drm/exynos/exynos_hdmi.c | 8 -------- 1 file changed, 8 deletions(-) diff --git a/drivers/gpu/drm/exynos/exynos_hdmi.c b/drivers/gpu/drm/exynos/exynos_hdmi.c index 25bf65a..23abfa0 100644 --- a/drivers/gpu/drm/exynos/exynos_hdmi.c +++ b/drivers/gpu/drm/exynos/exynos_hdmi.c @@ -74,7 +74,6 @@ struct hdmi_resources { struct clk *sclk_hdmi; struct clk *sclk_pixel; struct clk *sclk_hdmiphy; - struct clk *hdmiphy; struct clk *mout_hdmi; struct regulator_bulk_data *regul_bulk; int regul_count; @@ -1854,7 +1853,6 @@ static void hdmi_poweron(struct exynos_drm_display *display) if (regulator_bulk_enable(res->regul_count, res->regul_bulk)) DRM_DEBUG_KMS("failed to enable regulator bulk\n"); - clk_prepare_enable(res->hdmiphy); clk_prepare_enable(res->hdmi); clk_prepare_enable(res->sclk_hdmi); @@ -1881,7 +1879,6 @@ static void hdmi_poweroff(struct exynos_drm_display *display) clk_disable_unprepare(res->sclk_hdmi); clk_disable_unprepare(res->hdmi); - clk_disable_unprepare(res->hdmiphy); regulator_bulk_disable(res->regul_count, res->regul_bulk); pm_runtime_put_sync(hdata->dev); @@ -1977,11 +1974,6 @@ static int hdmi_resources_init(struct hdmi_context *hdata) DRM_ERROR("failed to get clock 'sclk_hdmiphy'\n"); goto fail; } - res->hdmiphy = devm_clk_get(dev, "hdmiphy"); - if (IS_ERR(res->hdmiphy)) { - DRM_ERROR("failed to get clock 'hdmiphy'\n"); - goto fail; - } res->mout_hdmi = devm_clk_get(dev, "mout_hdmi"); if (IS_ERR(res->mout_hdmi)) { DRM_ERROR("failed to get clock 'mout_hdmi'\n");