From patchwork Wed Nov 29 11:26:38 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Marek Szyprowski X-Patchwork-Id: 10081941 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id EDECD6056F for ; Wed, 29 Nov 2017 11:27:01 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id E1A0C2960A for ; Wed, 29 Nov 2017 11:27:01 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id D68CD29653; Wed, 29 Nov 2017 11:27:01 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-6.8 required=2.0 tests=BAYES_00,DKIM_SIGNED, RCVD_IN_DNSWL_HI,T_DKIM_INVALID autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 6DE852960A for ; Wed, 29 Nov 2017 11:27:01 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932237AbdK2L07 (ORCPT ); Wed, 29 Nov 2017 06:26:59 -0500 Received: from mailout1.w1.samsung.com ([210.118.77.11]:37131 "EHLO mailout1.w1.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932169AbdK2L0y (ORCPT ); Wed, 29 Nov 2017 06:26:54 -0500 Received: from eucas1p2.samsung.com (unknown [182.198.249.207]) by mailout1.w1.samsung.com (KnoxPortal) with ESMTP id 20171129112653euoutp01be500fb65f1ad848ce5facde98054439~7iuRNmbmJ2777627776euoutp01E; Wed, 29 Nov 2017 11:26:53 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 mailout1.w1.samsung.com 20171129112653euoutp01be500fb65f1ad848ce5facde98054439~7iuRNmbmJ2777627776euoutp01E DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=samsung.com; s=mail20170921; t=1511954813; bh=TawZNKTO2tbLP4zOgBPIrAQUqOvtBSqbmh0jQ4VAKfY=; h=From:To:Cc:Subject:Date:In-reply-to:References:From; b=OAXXoke4yCUbwgjZ8k4pVRPB1s43B6WswG8n9MQFFodo78v0iRSZGjVeQU99n2m8n /t9TQ5M6p0LLmETahfVyEJp9+T/AKkl99TzOJ0KgspQXk2dLTEUFwb9hv6YPYYI4gV pek1kp1J+cLfHKtf5BuE106E4bgl+odcNC667Ems= Received: from eusmges4.samsung.com (unknown [203.254.199.244]) by eucas1p1.samsung.com (KnoxPortal) with ESMTP id 20171129112652eucas1p1ba350727fef7918ec6e216ed0a3d6b22~7iuQVdRYb0921709217eucas1p1B; Wed, 29 Nov 2017 11:26:52 +0000 (GMT) Received: from eucas1p1.samsung.com ( [182.198.249.206]) by eusmges4.samsung.com (EUCPMTA) with SMTP id 68.12.12944.B799E1A5; Wed, 29 Nov 2017 11:26:51 +0000 (GMT) Received: from eusmgms2.samsung.com (unknown [182.198.249.180]) by eucas1p1.samsung.com (KnoxPortal) with ESMTP id 20171129112651eucas1p1a0058dd31edffbe9dbd62ea4c2fb0f6f~7iuPr-20Z2569625696eucas1p1G; Wed, 29 Nov 2017 11:26:51 +0000 (GMT) X-AuditID: cbfec7f4-f79ab6d000003290-0b-5a1e997b1734 Received: from eusync4.samsung.com ( [203.254.199.214]) by eusmgms2.samsung.com (EUCPMTA) with SMTP id F3.A1.20118.B799E1A5; Wed, 29 Nov 2017 11:26:51 +0000 (GMT) Received: from AMDC2765.digital.local ([106.116.147.25]) by eusync4.samsung.com (Oracle Communications Messaging Server 7.0.5.31.0 64bit (built May 5 2014)) with ESMTPA id <0P06008RTFSLHZ20@eusync4.samsung.com>; Wed, 29 Nov 2017 11:26:51 +0000 (GMT) From: Marek Szyprowski To: linux-samsung-soc@vger.kernel.org Cc: Marek Szyprowski , Sylwester Nawrocki , Krzysztof Kozlowski , Bartlomiej Zolnierkiewicz , Chanwoo Choi , Inki Dae Subject: [PATCH v2 6/6] arm64: dts: exynos: Add remaining power domains to Exynos5433 SoC Date: Wed, 29 Nov 2017 12:26:38 +0100 Message-id: <20171129112638.15813-7-m.szyprowski@samsung.com> X-Mailer: git-send-email 2.15.0 In-reply-to: <20171129112638.15813-1-m.szyprowski@samsung.com> X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFtrCIsWRmVeSWpSXmKPExsWy7djPc7rVM+WiDE7fNrHYOGM9q8X1L89Z LSbdn8Bicf78BnaLGef3MVmsPXKX3eLwm3ZWB3aPTas62Tz6tqxi9Pi8SS6AOYrLJiU1J7Ms tUjfLoErY9KHQ6wFH2Urdv6cx9bA2CTexcjJISFgIrGl+xkThC0mceHeerYuRi4OIYGljBJP 981ihnA+M0qcnHyMGabj9Jw7jCC2kMAyRokv/0MgihqYJC7uucoKkmATMJToetvFBmKLCKhK fG5bwA5SxCzQxiSx61YbWJGwQLTE6U2NYLtZgIpeLLvCDmLzCthK7Dl6B2qbvMTi7zvBBnEK 2EncOtjACjJIQqCRTeL6+hNQh7tInPu2gwXCFpZ4dXwLO4QtI3F5cjdUvJ9RoqlVG8KewShx 7i0vhG0tcfj4RbCDmAX4JCZtmw60mAMozivR0SYEUeIh8f/nblYI21Hi9eRDjBAfT2SUeHXq FesERukFjAyrGEVSS4tz01OLTfSKE3OLS/PS9ZLzczcxAuPy9L/jX3YwLj5mdYhRgINRiYf3 wgrZKCHWxLLiytxDjBIczEoivBu85KKEeFMSK6tSi/Lji0pzUosPMUpzsCiJ89pGtUUKCaQn lqRmp6YWpBbBZJk4OKUaGB1nTzn9qrdDQP/fef6zouVzfoeVdkv9k8p9cDvg6H/t5+UV1nwB tZOUVaJSlp42CrvyfcNEf4XXm+5Il22Ls6sIW/Cm9LnMMtW/ezK7fFdNSpvhvuDT1yN7sppW zGz4arZauPxFkV/C/xrFdxxXDxbevH1HZ9HTWcFqexTdD+1q8eZNNY6Zc0eJpTgj0VCLuag4 EQC3BpkjxwIAAA== X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFupgluLIzCtJLcpLzFFi42I5/e/4Nd3qmXJRBhfWSVpsnLGe1eL6l+es FpPuT2CxOH9+A7vFjPP7mCzWHrnLbnH4TTurA7vHplWdbB59W1YxenzeJBfAHMVlk5Kak1mW WqRvl8CVMenDIdaCj7IVO3/OY2tgbBLvYuTkkBAwkTg95w4jhC0mceHeerYuRi4OIYEljBKP n7xm6mLkAHKamCR6fUFq2AQMJbredrGB2CICqhKf2xawg9QzC3QwSfy70wKWEBaIlji9qZEJ xGYBKnqx7Ao7iM0rYCux5+gdZohl8hKLv+8Eq+cUsJO4dbCBFcQWAqq59ugk8wRG3gWMDKsY RVJLi3PTc4uN9IoTc4tL89L1kvNzNzECw2fbsZ9bdjB2vQs+xCjAwajEw3thhWyUEGtiWXFl 7iFGCQ5mJRHeDV5yUUK8KYmVValF+fFFpTmpxYcYpTlYlMR5e/esjhQSSE8sSc1OTS1ILYLJ MnFwSjUwupxOWGuWFneo00qCc9bNbVM3Tp7ofYWJzSXObbGP2PpdH4OjixPeTV6v03nD9IOh 9o592wUrDi3++qm+MvZBdYR6TPmGLfre2q9v3nuvFWJxRMt0jdrVXq+CB1YCWW0vVObX9W6f zJN4ZFO8nh7v6uWTY0zdVH/tbGLcUJV9sHfdZ713ezt9lViKMxINtZiLihMBYZ/e+hsCAAA= X-CMS-MailID: 20171129112651eucas1p1a0058dd31edffbe9dbd62ea4c2fb0f6f X-Msg-Generator: CA CMS-TYPE: 201P X-CMS-RootMailID: 20171129112651eucas1p1a0058dd31edffbe9dbd62ea4c2fb0f6f X-RootMTR: 20171129112651eucas1p1a0058dd31edffbe9dbd62ea4c2fb0f6f References: <20171129112638.15813-1-m.szyprowski@samsung.com> Sender: linux-samsung-soc-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-samsung-soc@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP This patch adds support for G2D, G3D, CAM0, CAM1, ISP, HVEC power domains to Exynos5433 SoCs. Currently only clock controllers for those domains are defined. CAM1 is a parent of CAM0 power domain and CAM0 is a parent of ISP power domain. Signed-off-by: Marek Szyprowski Reviewed-by: Chanwoo Choi --- arch/arm64/boot/dts/exynos/exynos5433.dtsi | 50 ++++++++++++++++++++++++++++++ 1 file changed, 50 insertions(+) diff --git a/arch/arm64/boot/dts/exynos/exynos5433.dtsi b/arch/arm64/boot/dts/exynos/exynos5433.dtsi index 2c019a0fd8e3..1962b8074349 100644 --- a/arch/arm64/boot/dts/exynos/exynos5433.dtsi +++ b/arch/arm64/boot/dts/exynos/exynos5433.dtsi @@ -361,6 +361,7 @@ clocks = <&xxti>, <&cmu_top CLK_ACLK_G2D_266>, <&cmu_top CLK_ACLK_G2D_400>; + power-domains = <&pd_g2d>; }; cmu_disp: clock-controller@13b90000 { @@ -432,6 +433,7 @@ clock-names = "oscclk", "aclk_g3d_400"; clocks = <&xxti>, <&cmu_top CLK_ACLK_G3D_400>; + power-domains = <&pd_g3d>; }; cmu_gscl: clock-controller@13cf0000 { @@ -497,6 +499,7 @@ clock-names = "oscclk", "aclk_hevc_400"; clocks = <&xxti>, <&cmu_top CLK_ACLK_HEVC_400>; + power-domains = <&pd_hevc>; }; cmu_isp: clock-controller@146d0000 { @@ -510,6 +513,7 @@ clocks = <&xxti>, <&cmu_top CLK_ACLK_ISP_DIS_400>, <&cmu_top CLK_ACLK_ISP_400>; + power-domains = <&pd_isp>; }; cmu_cam0: clock-controller@120d0000 { @@ -525,6 +529,7 @@ <&cmu_top CLK_ACLK_CAM0_333>, <&cmu_top CLK_ACLK_CAM0_400>, <&cmu_top CLK_ACLK_CAM0_552>; + power-domains = <&pd_cam0>; }; cmu_cam1: clock-controller@145d0000 { @@ -546,6 +551,7 @@ <&cmu_top CLK_ACLK_CAM1_333>, <&cmu_top CLK_ACLK_CAM1_400>, <&cmu_top CLK_ACLK_CAM1_552>; + power-domains = <&pd_cam1>; }; pd_gscl: power-domain@105c4000 { @@ -555,6 +561,14 @@ label = "GSCL"; }; + pd_cam0: power-domain@105c4020 { + compatible = "samsung,exynos5433-pd"; + reg = <0x105c4020 0x20>; + #power-domain-cells = <0>; + power-domains = <&pd_cam1>; + label = "CAM0"; + }; + pd_mscl: power-domain@105c4040 { compatible = "samsung,exynos5433-pd"; reg = <0x105c4040 0x20>; @@ -562,6 +576,13 @@ label = "MSCL"; }; + pd_g3d: power-domain@105c4060 { + compatible = "samsung,exynos5433-pd"; + reg = <0x105c4060 0x20>; + #power-domain-cells = <0>; + label = "G3D"; + }; + pd_disp: power-domain@105c4080 { compatible = "samsung,exynos5433-pd"; reg = <0x105c4080 0x20>; @@ -569,6 +590,13 @@ label = "DISP"; }; + pd_cam1: power-domain@105c40a0 { + compatible = "samsung,exynos5433-pd"; + reg = <0x105c40a0 0x20>; + #power-domain-cells = <0>; + label = "CAM1"; + }; + pd_aud: power-domain@105c40c0 { compatible = "samsung,exynos5433-pd"; reg = <0x105c40c0 0x20>; @@ -576,6 +604,21 @@ label = "AUD"; }; + pd_g2d: power-domain@105c4120 { + compatible = "samsung,exynos5433-pd"; + reg = <0x105c4120 0x20>; + #power-domain-cells = <0>; + label = "G2D"; + }; + + pd_isp: power-domain@105c4140 { + compatible = "samsung,exynos5433-pd"; + reg = <0x105c4140 0x20>; + #power-domain-cells = <0>; + power-domains = <&pd_cam0>; + label = "ISP"; + }; + pd_mfc: power-domain@105c4180 { compatible = "samsung,exynos5433-pd"; reg = <0x105c4180 0x20>; @@ -583,6 +626,13 @@ label = "MFC"; }; + pd_hevc: power-domain@105c41c0 { + compatible = "samsung,exynos5433-pd"; + reg = <0x105c41c0 0x20>; + #power-domain-cells = <0>; + label = "HEVC"; + }; + tmu_atlas0: tmu@10060000 { compatible = "samsung,exynos5433-tmu"; reg = <0x10060000 0x200>;