From patchwork Mon Apr 29 14:50:53 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Rahul Sharma X-Patchwork-Id: 2500601 Return-Path: X-Original-To: patchwork-dri-devel@patchwork.kernel.org Delivered-To: patchwork-process-083081@patchwork1.kernel.org Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) by patchwork1.kernel.org (Postfix) with ESMTP id 9DFF43FD1A for ; Mon, 29 Apr 2013 15:30:22 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 062E1E5D59 for ; Mon, 29 Apr 2013 08:30:22 -0700 (PDT) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from mailout4.samsung.com (mailout4.samsung.com [203.254.224.34]) by gabe.freedesktop.org (Postfix) with ESMTP id ED8A8E60C2 for ; Mon, 29 Apr 2013 07:27:54 -0700 (PDT) Received: from epcpsbgr2.samsung.com (u142.gpu120.samsung.co.kr [203.254.230.142]) by mailout4.samsung.com (Oracle Communications Messaging Server 7u4-24.01 (7.0.4.24.0) 64bit (built Nov 17 2011)) with ESMTP id <0MM000K56TIIK840@mailout4.samsung.com> for dri-devel@lists.freedesktop.org; Mon, 29 Apr 2013 23:27:54 +0900 (KST) Received: from epcpsbgm1.samsung.com ( [172.20.52.124]) by epcpsbgr2.samsung.com (EPCPMTA) with SMTP id 2B.B1.19730.9638E715; Mon, 29 Apr 2013 23:27:53 +0900 (KST) X-AuditID: cbfee68e-b7efa6d000004d12-7f-517e8369c59e Received: from epmmp2 ( [203.254.227.17]) by epcpsbgm1.samsung.com (EPCPMTA) with SMTP id 32.C1.08957.9638E715; Mon, 29 Apr 2013 23:27:53 +0900 (KST) Received: from chromeserver-PowerEdge-T410.sisodomain.com ([107.108.73.106]) by mmp2.samsung.com (Oracle Communications Messaging Server 7u4-24.01(7.0.4.24.0) 64bit (built Nov 17 2011)) with ESMTPA id <0MM0008Q3TEYJ640@mmp2.samsung.com>; Mon, 29 Apr 2013 23:27:53 +0900 (KST) From: Rahul Sharma To: dri-devel@lists.freedesktop.org, linux-samsung-soc@vger.kernel.org Subject: [PATCH 4/4] ARM: EXYNOS: remove parent device for hdmiphy clock Date: Mon, 29 Apr 2013 20:20:53 +0530 Message-id: <1367247053-17105-5-git-send-email-rahul.sharma@samsung.com> X-Mailer: git-send-email 1.7.10.4 In-reply-to: <1367247053-17105-1-git-send-email-rahul.sharma@samsung.com> References: <1367247053-17105-1-git-send-email-rahul.sharma@samsung.com> X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFvrJLMWRmVeSWpSXmKPExsWyRsSkRjezuS7QoO+LjcWVr+/ZLCbdn8Bi 8X3XF3aLGef3MVksfBFvMWXRYVaLuQdzLWZMfsnmwOGxc9Zddo8Fm0o97ncfZ/Lo27KK0ePz JrkA1igum5TUnMyy1CJ9uwSujPePtjAWNHJXXF3+kamBsYWzi5GTQ0LARKLh0QImCFtM4sK9 9WxdjFwcQgJLGSXmzL7LClN0p2caM0RiOqPE9c5jYAkhgdlMEs/nKYLYbAK6ErMPPmMEsUUE 3CSaDs9kBWlgFpjFKHFnSgNYg7CAh8SXT//BbBYBVYl7z9+yg9i8QPGPN1ezQ2xTlOh+NoEN xOYU8JT4+uAuC8QyD4mzO7aDnSchsIhd4lznRXaIQQIS3yYfAiriAErISmw6wAwxR1Li4Iob LBMYhRcwMqxiFE0tSC4oTkovMtIrTswtLs1L10vOz93ECAz20/+e9e1gvHnA+hBjMtC4icxS osn5wGjJK4k3NDYzsjA1MTU2Mrc0I01YSZxXrcU6UEggPbEkNTs1tSC1KL6oNCe1+BAjEwen VAOj+W+t5W0Ll6/4dkcwz/qOq5vbfrvVrpJZGht3Zv1evKbeVvOxVEpcOZNjr6d44bmqim0N a5Ms86NuVEzV4OY0dAgsU9mnOsUqsDWhrveXt/70pIZeYcUpSxRLUw22Gmk9n/Zck+FBaeOk 64eq4ruahboYNyp6y7a7f8012f7hPTuXkffaWUosxRmJhlrMRcWJAFz9rACMAgAA X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFrrGIsWRmVeSWpSXmKPExsVy+t9jQd3M5rpAgyMnTCyufH3PZjHp/gQW i++7vrBbzDi/j8li4Yt4iymLDrNazD2YazFj8ks2Bw6PnbPusnss2FTqcb/7OJNH35ZVjB6f N8kFsEY1MNpkpCampBYppOYl56dk5qXbKnkHxzvHm5oZGOoaWlqYKynkJeam2iq5+AToumXm AF2ipFCWmFMKFApILC5W0rfDNCE0xE3XAqYxQtc3JAiux8gADSSsYcx4/2gLY0Ejd8XV5R+Z GhhbOLsYOTkkBEwk7vRMY4awxSQu3FvP1sXIxSEkMJ1R4nrnMVaQhJDAbCaJ5/MUQWw2AV2J 2QefMYLYIgJuEk2HZ7KCNDALzGKUuDOlAaxBWMBD4sun/2A2i4CqxL3nb9lBbF6g+Mebq9kh tilKdD+bwAZicwp4Snx9cJcFYpmHxNkd29kmMPIuYGRYxSiaWpBcUJyUnmuoV5yYW1yal66X nJ+7iREcS8+kdjCubLA4xCjAwajEwxuwuTZQiDWxrLgy9xCjBAezkgjvlci6QCHelMTKqtSi /Pii0pzU4kOMyUBXTWSWEk3OB8Z5Xkm8obGJuamxqaWJhYmZJWnCSuK8B1qtA4UE0hNLUrNT UwtSi2C2MHFwSjUwrvlicnkx76TTbtcSjomHakQLCV3Tb5LgKdu+4l1MZdIc1vVXeyJbuqqD Tea7V73aJTND3ivkv+x5r7A5WekSx24bFTwynvfM4436M4njHRtPlJl8Nl4g9m5jNmv8h4vx basuTnW1WKWY/tpGKjMqa0du/tHy19MTJhwpbSllK2bb5D4n62ihEktxRqKhFnNRcSIAbGoE cekCAAA= DLP-Filter: Pass X-MTR: 20000000000000000@CPGS X-CFilter-Loop: Reflected X-Mailman-Approved-At: Mon, 29 Apr 2013 08:26:36 -0700 Cc: seanpaul@google.com, sw0312.kim@samsung.com, joshi@samsung.com, Rahul Sharma X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: dri-devel-bounces+patchwork-dri-devel=patchwork.kernel.org@lists.freedesktop.org Errors-To: dri-devel-bounces+patchwork-dri-devel=patchwork.kernel.org@lists.freedesktop.org Hdmiphy clock flows from hdmiphy hw to hdmi ip and mixer. It is commonly accessed among hdmi and hdmiphy driver. During power cycle, each of these driver decrements the ref-count and ensures that last user disables the clock. Setting parrent device to none ensure that both the drivers gets access to the clock. Signed-off-by: Rahul Sharma --- arch/arm/mach-exynos/clock-exynos4.c | 1 - arch/arm/mach-exynos/clock-exynos5.c | 1 - 2 files changed, 2 deletions(-) diff --git a/arch/arm/mach-exynos/clock-exynos4.c b/arch/arm/mach-exynos/clock-exynos4.c index 8a8468d..a43afcd 100644 --- a/arch/arm/mach-exynos/clock-exynos4.c +++ b/arch/arm/mach-exynos/clock-exynos4.c @@ -562,7 +562,6 @@ static struct clk exynos4_init_clocks_off[] = { .ctrlbit = (1 << 3), }, { .name = "hdmiphy", - .devname = "exynos4-hdmi", .enable = exynos4_clk_hdmiphy_ctrl, .ctrlbit = (1 << 0), }, { diff --git a/arch/arm/mach-exynos/clock-exynos5.c b/arch/arm/mach-exynos/clock-exynos5.c index b0ea31f..4f39027 100644 --- a/arch/arm/mach-exynos/clock-exynos5.c +++ b/arch/arm/mach-exynos/clock-exynos5.c @@ -690,7 +690,6 @@ static struct clk exynos5_init_clocks_off[] = { .ctrlbit = (1 << 6), }, { .name = "hdmiphy", - .devname = "exynos5-hdmi", .enable = exynos5_clk_hdmiphy_ctrl, .ctrlbit = (1 << 0), }, {