From patchwork Tue Jan 13 09:41:45 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Marek Szyprowski X-Patchwork-Id: 5618861 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.29.136]) by patchwork1.web.kernel.org (Postfix) with ESMTP id 8CAA59F3A0 for ; Tue, 13 Jan 2015 09:41:56 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id C5B27205F7 for ; Tue, 13 Jan 2015 09:41:55 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 7B62920608 for ; Tue, 13 Jan 2015 09:41:53 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751423AbbAMJlw (ORCPT ); Tue, 13 Jan 2015 04:41:52 -0500 Received: from mailout4.w1.samsung.com ([210.118.77.14]:14828 "EHLO mailout4.w1.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751856AbbAMJlw (ORCPT ); Tue, 13 Jan 2015 04:41:52 -0500 Received: from eucpsbgm1.samsung.com (unknown [203.254.199.244]) by mailout4.w1.samsung.com (Oracle Communications Messaging Server 7u4-24.01(7.0.4.24.0) 64bit (built Nov 17 2011)) with ESMTP id <0NI400FG40GGUZA0@mailout4.w1.samsung.com> for linux-samsung-soc@vger.kernel.org; Tue, 13 Jan 2015 09:45:52 +0000 (GMT) X-AuditID: cbfec7f4-b7f126d000001e9a-62-54b4e85e04fa Received: from eusync3.samsung.com ( [203.254.199.213]) by eucpsbgm1.samsung.com (EUCPMTA) with SMTP id 2A.1D.07834.E58E4B45; Tue, 13 Jan 2015 09:41:50 +0000 (GMT) Received: from amdc1339.digital.local ([106.116.147.30]) by eusync3.samsung.com (Oracle Communications Messaging Server 7u4-23.01 (7.0.4.23.0) 64bit (built Aug 10 2011)) with ESMTPA id <0NI400BLD09MMU20@eusync3.samsung.com>; Tue, 13 Jan 2015 09:41:50 +0000 (GMT) From: Marek Szyprowski To: linux-samsung-soc@vger.kernel.org Cc: Marek Szyprowski , Kukjin Kim , Tobias Jakobi , Daniel Drake , Andrzej Hajda , Inki Dae , Tomasz Figa , kyungmin.park@samsung.com Subject: [PATCH v2 6/6] ARM: dts: exynos5250: add display power domain Date: Tue, 13 Jan 2015 10:41:45 +0100 Message-id: <1421142105-15257-1-git-send-email-m.szyprowski@samsung.com> X-Mailer: git-send-email 1.9.2 In-reply-to: <1421141991-15155-1-git-send-email-m.szyprowski@samsung.com> References: <1421141991-15155-1-git-send-email-m.szyprowski@samsung.com> X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFmphluLIzCtJLcpLzFFi42I5/e/4Vd24F1tCDF7N1LG4te4cq8Wj+Y+Z LSbdn8Bi0f/4NbPF2aY37BYzzu9jsuj6+ZPNYu2Ru+wWq3b9YXTg9Fj0Pctj56y77B6LN+1n 89i0qpPNo2/LKkaPz5vkAtiiuGxSUnMyy1KL9O0SuDKuz3nMWLCTr+LqlVa2BsaL3F2MnBwS AiYSRx/8ZoawxSQu3FvP1sXIxSEksJRR4tmEnUwQTh+TxNp9R9lBqtgEDCW63naxgdgiAqoS n9sWgMWZBRYxSVy7EgxiCwu4SbSf3w82lQWoZtKGTYwgNq+Ah8SSnueMENvkJP6/XMEEYnMK eErMfN4DVi8EVPPg2jKmCYy8CxgZVjGKppYmFxQnpeca6hUn5haX5qXrJefnbmKEhNyXHYyL j1kdYhTgYFTi4d2RvSVEiDWxrLgy9xCjBAezkgjv/NtAId6UxMqq1KL8+KLSnNTiQ4xMHJxS DYxZUp9nNbMeMOPk3J5X3fqkuf2hZ8C954bLRPRypx8LLM2/vqOlkt3iWIlxzuZLNRs7gh2e Fa4z4WV4e+TxxDaVz1MWe6w5xr1CW/XJ9PfL9t+OUgh6wlDhrrjp2tctlSaVC/k/u923OL4g fta5Vrarqq6TDgqU15d7qGxKits1S0w+o23ttWAlluKMREMt5qLiRADTNTK7FwIAAA== 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=-6.9 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_HI, T_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: Andrzej Hajda The patch adds domain definition and references to it in appropriate devices. Signed-off-by: Andrzej Hajda [mszyprow: rebased onto generic power domains dt bindings] Signed-off-by: Marek Szyprowski --- arch/arm/boot/dts/exynos5250.dtsi | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/arch/arm/boot/dts/exynos5250.dtsi b/arch/arm/boot/dts/exynos5250.dtsi index 2b5a62c..cf4a6ec 100644 --- a/arch/arm/boot/dts/exynos5250.dtsi +++ b/arch/arm/boot/dts/exynos5250.dtsi @@ -102,6 +102,12 @@ #power-domain-cells = <0>; }; + pd_disp1: disp1-power-domain@100440A0 { + compatible = "samsung,exynos4210-pd"; + reg = <0x100440A0 0x20>; + #power-domain-cells = <0>; + }; + clock: clock-controller@10010000 { compatible = "samsung,exynos5250-clock"; reg = <0x10010000 0x30000>; @@ -719,6 +725,7 @@ hdmi: hdmi { compatible = "samsung,exynos4212-hdmi"; reg = <0x14530000 0x70000>; + power-domains = <&pd_disp1>; interrupts = <0 95 0>; clocks = <&clock CLK_HDMI>, <&clock CLK_SCLK_HDMI>, <&clock CLK_SCLK_PIXEL>, <&clock CLK_SCLK_HDMIPHY>, @@ -731,6 +738,7 @@ mixer { compatible = "samsung,exynos5250-mixer"; reg = <0x14450000 0x10000>; + power-domains = <&pd_disp1>; interrupts = <0 94 0>; clocks = <&clock CLK_MIXER>, <&clock CLK_SCLK_HDMI>; clock-names = "mixer", "sclk_hdmi"; @@ -743,6 +751,7 @@ }; dp: dp-controller@145B0000 { + power-domains = <&pd_disp1>; clocks = <&clock CLK_DP>; clock-names = "dp"; phys = <&dp_phy>; @@ -750,6 +759,7 @@ }; fimd: fimd@14400000 { + power-domains = <&pd_disp1>; clocks = <&clock CLK_SCLK_FIMD1>, <&clock CLK_FIMD1>; clock-names = "sclk_fimd", "fimd"; };