From patchwork Mon Feb 2 13:20:27 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Marek Szyprowski X-Patchwork-Id: 5762221 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 B6A359F3CA for ; Mon, 2 Feb 2015 13:20:58 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id EB947203B1 for ; Mon, 2 Feb 2015 13:20:57 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id F331A203C0 for ; Mon, 2 Feb 2015 13:20:56 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S933215AbbBBNUv (ORCPT ); Mon, 2 Feb 2015 08:20:51 -0500 Received: from mailout1.w1.samsung.com ([210.118.77.11]:54119 "EHLO mailout1.w1.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S933217AbbBBNUt (ORCPT ); Mon, 2 Feb 2015 08:20:49 -0500 Received: from eucpsbgm1.samsung.com (unknown [203.254.199.244]) by mailout1.w1.samsung.com (Oracle Communications Messaging Server 7u4-24.01(7.0.4.24.0) 64bit (built Nov 17 2011)) with ESMTP id <0NJ5009CXBXH5C30@mailout1.w1.samsung.com> for linux-samsung-soc@vger.kernel.org; Mon, 02 Feb 2015 13:24:54 +0000 (GMT) X-AuditID: cbfec7f4-b7f126d000001e9a-2f-54cf791d5b7e Received: from eusync4.samsung.com ( [203.254.199.214]) by eucpsbgm1.samsung.com (EUCPMTA) with SMTP id 2F.D2.07834.D197FC45; Mon, 02 Feb 2015 13:18:21 +0000 (GMT) Received: from amdc1339.digital.local ([106.116.147.30]) by eusync4.samsung.com (Oracle Communications Messaging Server 7u4-24.01 (7.0.4.24.0) 64bit (built Nov 17 2011)) with ESMTPA id <0NJ5004YCBQ4PP60@eusync4.samsung.com>; Mon, 02 Feb 2015 13:20:46 +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 v5 8/9] ARM: dts: exynos5250: add display power domain Date: Mon, 02 Feb 2015 14:20:27 +0100 Message-id: <1422883228-10690-9-git-send-email-m.szyprowski@samsung.com> X-Mailer: git-send-email 1.9.2 In-reply-to: <1422883228-10690-1-git-send-email-m.szyprowski@samsung.com> References: <1422883228-10690-1-git-send-email-m.szyprowski@samsung.com> X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFlrMLMWRmVeSWpSXmKPExsVy+t/xa7qyledDDPpXaFncWneO1eLR/MfM Fle+vmezmHR/AovF0d8FFi/uXWSx6H/8mtnibNMbdotNj6+xWsw4v4/JouvnTzaLtUfuslus 2vWH0YHX4+/z6ywei75neeycdZfdY/Gm/Wwem1Z1snnc7z7O5LF5Sb1H35ZVjB6fN8kFcEZx 2aSk5mSWpRbp2yVwZdx5Pp254Ah/xf1zM5kaGC/wdDFyckgImEjMerGZBcIWk7hwbz1bFyMX h5DAUkaJaUvboZw+Jokd9z+DVbEJGEp0ve0CSnBwiAh4Syy/pghSwywwj1mi9cU5NpAaYQE3 iVtL1oLVsAioSvS94AUxeQU8JKYtq4XYJSfx/+UKJhCbU8BT4uPqp+wgthBQybktR1knMPIu YGRYxSiaWppcUJyUnmuoV5yYW1yal66XnJ+7iRESsF92MC4+ZnWIUYCDUYmH9wH3uRAh1sSy 4srcQ4wSHMxKIrwaFudDhHhTEiurUovy44tKc1KLDzEycXBKNTCWre3J6CmReBTerFlvsEwh 7PDphC/GOu8flxinuUeVByTcmd2ysbyYRfrYwR9sjM2erxaIv3ifc7n5ZY/jf02vsqN2Z17+ 79Sa0i7wqFDcQXON0Ao7ya6YeJvp0rdvnmic1T1fOd7EoqrseZHm3eX/RC6w5tYuKe4Mdg9Z nN3fcnXfjOB39kosxRmJhlrMRcWJABBkKak2AgAA 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 Tested-by: Andreas Färber --- 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"; };