From patchwork Wed Jan 14 13:44:51 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Marek Szyprowski X-Patchwork-Id: 5631231 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 0BAC59F357 for ; Wed, 14 Jan 2015 13:45:22 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 38FA520386 for ; Wed, 14 Jan 2015 13:45:21 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id F03F02038E for ; Wed, 14 Jan 2015 13:45:19 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752990AbbANNpJ (ORCPT ); Wed, 14 Jan 2015 08:45:09 -0500 Received: from mailout2.w1.samsung.com ([210.118.77.12]:22491 "EHLO mailout2.w1.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753115AbbANNpE (ORCPT ); Wed, 14 Jan 2015 08:45:04 -0500 Received: from eucpsbgm1.samsung.com (unknown [203.254.199.244]) by mailout2.w1.samsung.com (Oracle Communications Messaging Server 7u4-24.01(7.0.4.24.0) 64bit (built Nov 17 2011)) with ESMTP id <0NI600KD46DUHG10@mailout2.w1.samsung.com> for linux-samsung-soc@vger.kernel.org; Wed, 14 Jan 2015 13:49:06 +0000 (GMT) X-AuditID: cbfec7f4-b7f126d000001e9a-22-54b672de8175 Received: from eusync3.samsung.com ( [203.254.199.213]) by eucpsbgm1.samsung.com (EUCPMTA) with SMTP id D7.6B.07834.ED276B45; Wed, 14 Jan 2015 13:45:02 +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 <0NI6002M966RL740@eusync3.samsung.com>; Wed, 14 Jan 2015 13:45:02 +0000 (GMT) From: Marek Szyprowski To: linux-arm-kernel@lists.infradead.org, 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 v3 7/7] ARM: dts: exynos5250: add display power domain Date: Wed, 14 Jan 2015 14:44:51 +0100 Message-id: <1421243091-10778-8-git-send-email-m.szyprowski@samsung.com> X-Mailer: git-send-email 1.9.2 In-reply-to: <1421243091-10778-1-git-send-email-m.szyprowski@samsung.com> References: <1421243091-10778-1-git-send-email-m.szyprowski@samsung.com> X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFupmluLIzCtJLcpLzFFi42I5/e/4Vd17RdtCDL5+4LG4te4cq8Wj+Y+Z LSbdn8Bi0f/4NbPF2aY37BabHl9jtZhxfh+TRdfPn2wWa4/cZbdYtesPowOXx6LvWR47Z91l 91i8aT+bx6ZVnWwem5fUe/RtWcXo8XmTXAB7FJdNSmpOZllqkb5dAlfG9TmPGQt28lVcvdLK 1sB4kbuLkZNDQsBEYvfts4wQtpjEhXvr2boYuTiEBJYySsy8O5UFwuljkli5spkFpIpNwFCi 620XUBUHh4iAt8Tya4ogYWaBRUwS164Eg9jCAm4Sf79tYgaxWQRUJS49XMcOYvMKeEgcWr+f GWKZnMT/lyuYQGxOAU+JeVtXMoGMFAKqWXzQbQIj7wJGhlWMoqmlyQXFSem5hnrFibnFpXnp esn5uZsYIQH4ZQfj4mNWhxgFOBiVeHhnxmwLEWJNLCuuzD3EKMHBrCTCmyYHFOJNSaysSi3K jy8qzUktPsTIxMEp1cBY63XZffGmN4qcMm9yNlcWrOR9Y/PpWnA2U8c6/mMvV++L51sxZYvO mh45yzbL1H3Gmudl7TKkdWLkVhfpuak4vt5+7FY911f27KjFlSKPNMXLCnQWfbpttPJdYK22 Z9CBW4I/H6cLNrnKv//kt23L8ivGJ3ZO7vaed01MVpwjW/fXOo+dLYJKLMUZiYZazEXFiQDE L3QOHgIAAA== 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 Tested-by: Javier Martinez Canillas Reviewed-by: Javier Martinez Canillas --- 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"; };