From patchwork Tue Oct 22 10:11:03 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Rahul Sharma X-Patchwork-Id: 3081681 Return-Path: X-Original-To: patchwork-linux-samsung-soc@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork1.web.kernel.org (Postfix) with ESMTP id 7E04A9F2B7 for ; Tue, 22 Oct 2013 09:51:02 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id E2F5720494 for ; Tue, 22 Oct 2013 09:50:57 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id BFFCD2021A for ; Tue, 22 Oct 2013 09:50:56 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751684Ab3JVJuz (ORCPT ); Tue, 22 Oct 2013 05:50:55 -0400 Received: from mailout1.samsung.com ([203.254.224.24]:12538 "EHLO mailout1.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751901Ab3JVJuy (ORCPT ); Tue, 22 Oct 2013 05:50:54 -0400 Received: from epcpsbgr4.samsung.com (u144.gpu120.samsung.co.kr [203.254.230.144]) by mailout1.samsung.com (Oracle Communications Messaging Server 7u4-24.01 (7.0.4.24.0) 64bit (built Nov 17 2011)) with ESMTP id <0MV200CF6E0TBLP0@mailout1.samsung.com>; Tue, 22 Oct 2013 18:50:53 +0900 (KST) Received: from epcpsbgm1.samsung.com ( [172.20.52.123]) by epcpsbgr4.samsung.com (EPCPMTA) with SMTP id D7.13.07242.77A46625; Tue, 22 Oct 2013 18:50:47 +0900 (KST) X-AuditID: cbfee690-b7f3d6d000001c4a-81-52664a77ef35 Received: from epmmp1.local.host ( [203.254.227.16]) by epcpsbgm1.samsung.com (EPCPMTA) with SMTP id 74.1F.09687.77A46625; Tue, 22 Oct 2013 18:50:47 +0900 (KST) Received: from chromeserver-PowerEdge-T410.sisodomain.com ([107.108.73.106]) by mmp1.samsung.com (Oracle Communications Messaging Server 7u4-24.01(7.0.4.24.0) 64bit (built Nov 17 2011)) with ESMTPA id <0MV2003SXE0AWV00@mmp1.samsung.com>; Tue, 22 Oct 2013 18:50:47 +0900 (KST) From: Rahul Sharma To: linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org, linux-samsung-soc@vger.kernel.org, dri-devel@lists.freedesktop.org Cc: kgene.kim@samsung.com, sw0312.kim@samsung.com, inki.dae@samsung.com, seanpaul@chromium.org, tomasz.figa@gmail.com, s.nawrocki@samsung.com, joshi@samsung.com, r.sh.open@gmail.com, Rahul Sharma Subject: [PATCH v2 2/7] drm/exynos: remove dummy hdmiphy clock Date: Tue, 22 Oct 2013 15:41:03 +0530 Message-id: <1382436668-15813-3-git-send-email-rahul.sharma@samsung.com> X-Mailer: git-send-email 1.7.10.4 In-reply-to: <1382436668-15813-1-git-send-email-rahul.sharma@samsung.com> References: <1382436668-15813-1-git-send-email-rahul.sharma@samsung.com> X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFprKIsWRmVeSWpSXmKPExsWyRsSkWrfWKy3I4NMCIYv5R86xWlz5+p7N YtL9CSwW33d9YbfoXXCVzWLT42usFjPO72OyWPgi3mLKosOsFofftLNa3N1wltFixuSXbBar dv1hdOD1mN1wkcVj56y77B73u48zeWxeUu/Rt2UVo8fnTXIBbFFcNimpOZllqUX6dglcGVuu XmUsWMVXcbzlNVsDYytPFyMnh4SAicShpt+MELaYxIV769m6GLk4hASWMkqsfDEfyOEAK1p1 IAqkRkhgEaPEgc/iEDWzmSTmPJjDApJgE9CVmH3wGdggEYEuRomDnSwgRcwCjxgldjzawwyS EBawk7h3vQlsKIuAqsSibW4gYV4BD4k3G3YyQRyhKNH9bAIbiM0p4Clx+ewhFojFHhK/rv1i gai5xC7R9TcJxGYREJD4NhmkBuROWYl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NTs1tSC1CGYLEwenVAOjXXR3js/G JwnFLNfX/Lu46rFJvOi+5xej+ZKfGNQd3BR8Xj7Afm3MR84F87Zd2aQktKvv6t1u1dCHXy9s dz7ErcDFnruud5NXcNeC7Swzv0fcKdNubqh/8EbedN7L2Qd/7U523xFw9CG3w5ptl+LOzHyX +2GnUVNh64EyKbY666Teaz+u/i8QUmIpzkg01GIuKk4EAA07ob0GAwAA DLP-Filter: Pass X-MTR: 20000000000000000@CPGS X-CFilter-Loop: Reflected Sender: linux-samsung-soc-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-samsung-soc@vger.kernel.org X-Spam-Status: No, score=-7.3 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_HI, 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 hdmiphy is a dummy clock which actually controls the PMU bit to enable/disable hdmiphy (before CCF). This clock is cleaned from the 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 bbb9fbf..444541d 100644 --- a/drivers/gpu/drm/exynos/exynos_hdmi.c +++ b/drivers/gpu/drm/exynos/exynos_hdmi.c @@ -84,7 +84,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; @@ -1442,7 +1441,6 @@ static void hdmi_poweron(struct hdmi_context *hdata) 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); @@ -1467,7 +1465,6 @@ static void hdmi_poweroff(struct hdmi_context *hdata) 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); mutex_lock(&hdata->hdmi_mutex); @@ -1560,11 +1557,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");