From patchwork Tue Jan 20 12:16:58 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Marek Szyprowski X-Patchwork-Id: 5668601 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 318739F406 for ; Tue, 20 Jan 2015 12:17:25 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 01319203AC for ; Tue, 20 Jan 2015 12:17:24 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 2773A20396 for ; Tue, 20 Jan 2015 12:17:23 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752849AbbATMRP (ORCPT ); Tue, 20 Jan 2015 07:17:15 -0500 Received: from mailout3.w1.samsung.com ([210.118.77.13]:38271 "EHLO mailout3.w1.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753960AbbATMRO (ORCPT ); Tue, 20 Jan 2015 07:17:14 -0500 Received: from eucpsbgm2.samsung.com (unknown [203.254.199.245]) by mailout3.w1.samsung.com (Oracle Communications Messaging Server 7u4-24.01(7.0.4.24.0) 64bit (built Nov 17 2011)) with ESMTP id <0NIH0091W6BFP970@mailout3.w1.samsung.com> for linux-samsung-soc@vger.kernel.org; Tue, 20 Jan 2015 12:21:16 +0000 (GMT) X-AuditID: cbfec7f5-b7fc86d0000066b7-94-54be47497ef8 Received: from eusync3.samsung.com ( [203.254.199.213]) by eucpsbgm2.samsung.com (EUCPMTA) with SMTP id 46.E1.26295.9474EB45; Tue, 20 Jan 2015 12:17:13 +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 <0NIH00J4064B2380@eusync3.samsung.com>; Tue, 20 Jan 2015 12:17:11 +0000 (GMT) From: Marek Szyprowski To: linux-arm-kernel@lists.infradead.org, linux-samsung-soc@vger.kernel.org Cc: dri-devel@lists.freedesktop.org, Marek Szyprowski , Kukjin Kim , Tobias Jakobi , Daniel Drake , Andrzej Hajda , Inki Dae , Tomasz Figa , Javier Martinez Canillas , jy0922.shim@samsung.com, kyungmin.park@samsung.com Subject: [PATCH v4 8/9] ARM: dts: exynos5250: add display power domain Date: Tue, 20 Jan 2015 13:16:58 +0100 Message-id: <1421756219-21037-9-git-send-email-m.szyprowski@samsung.com> X-Mailer: git-send-email 1.9.2 In-reply-to: <1421756219-21037-1-git-send-email-m.szyprowski@samsung.com> References: <1421756219-21037-1-git-send-email-m.szyprowski@samsung.com> X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFlrMLMWRmVeSWpSXmKPExsVy+t/xq7qe7vtCDOaeELC4te4cq8Wj+Y+Z La58fc9mMen+BBaLo78LLF7cu8hi0f/4NbPF2aY37BabHl9jtZhxfh+TRdfPn2wWa4/cZbdY tesPowOvx9/n11k8Fn3P8tg56y67x+JN+9k8Nq3qZPO4332cyWPzknqPvi2rGD0+b5IL4Izi sklJzcksSy3St0vgyrjzfDpzwRH+ivvnZjI1MF7g6WLk5JAQMJE43XqbCcIWk7hwbz0biC0k sJRRYv0bri5GLiC7j0ni6e0DYAk2AUOJrrddQDYHh4iAt8Tya4ogNcwC85glWl+cA6sRFnCT uLh+OztIDYuAqkT7Q3+QMK+Ah8S9y1vZIXbJSfx/uQJsL6eAp0TzvxlQez0kTj3oYpvAyLuA kWEVo2hqaXJBcVJ6rpFecWJucWleul5yfu4mRkjAft3BuPSY1SFGAQ5GJR7eE857Q4RYE8uK K3MPMUpwMCuJ8J413xcixJuSWFmVWpQfX1Sak1p8iJGJg1OqgXFnqvjamnmNqs/rfhcslF2T FCDz/KGmX4xk7nH7yJYdDsaf9+vsbnfMXen0Juapm+zU75G2cz96pXrdPbPzoL2LTFgHnwXT jrANN5d8LfH4lKQhPlX2+iFzccMZEbIOFwsazy7Manz5dJLV9vjPhY8K0jK/nTBvV5/Mlayb /VXm9Jb06uNL5imxFGckGmoxFxUnAgDwQbYKNgIAAA== 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 e8c67fdb69fb..ae22bd98f956 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_HDMI>, <&clock CLK_SCLK_HDMI>; @@ -744,6 +752,7 @@ }; dp: dp-controller@145B0000 { + power-domains = <&pd_disp1>; clocks = <&clock CLK_DP>; clock-names = "dp"; phys = <&dp_phy>; @@ -751,6 +760,7 @@ }; fimd: fimd@14400000 { + power-domains = <&pd_disp1>; clocks = <&clock CLK_SCLK_FIMD1>, <&clock CLK_FIMD1>; clock-names = "sclk_fimd", "fimd"; };