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: 119961 Delivered-To: patch@linaro.org Received: by 10.140.22.227 with SMTP id 90csp2924372qgn; Wed, 29 Nov 2017 03:27:01 -0800 (PST) X-Google-Smtp-Source: AGs4zMZ4tM+vbNruwzx0g+yQnZbRfoPMKNbZxb9fz1XdRF+v0LTLcYia8HhpuRpGT3NwWywc4saT X-Received: by 10.84.235.1 with SMTP id o1mr428845plk.168.1511954821780; Wed, 29 Nov 2017 03:27:01 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1511954821; cv=none; d=google.com; s=arc-20160816; b=p/NMed/xRDUWL/L4vttqkP96P8SU2Y5G1QwkR3gNFQeXWmRO6yxyvCtpJCsbQ0jPe9 k8oRBbIq0TQD2GiOL7HVGKMdpauKn0iQQCYzzz06GWg2iybu0MqzKT/ZjMNCJLqyjDi0 AZC10qwRczFvRICdJEBTfNYA6vaMPYp3c6QhhVOa0gmkHsNSXYl20UApmx5JJN9jz1eB LnOwFCCmpmx0qJ+ck5De5d0UpKc1ua0wCziLcOQ2JGSBw2GcwNs2YWdv7JOBN6ANB3UZ tctLG3JUK6KiLWYyF1hJe//GBCj3r3yE+YRrLBedWxI3ZFLrj3+lDg4LsDCYiN/yzGTp Gqbw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:cms-type:in-reply-to :message-id:date:subject:cc:to:from:dkim-signature:dkim-filter :arc-authentication-results; bh=YDOjHjDqGP/8pfmeKI2KRQ6wSORWVlVAuOMgDAegrwQ=; b=VdXAZSi8iJ4OqZ7srn0yoaldttFeyGOLmUEe7SremnYCEx/witQkmpSQIMORufOe3Q nMEnIzaKTNv/JBSq2Nyz4r5MhBgODNvpBn7Sbsoda8wtLCwI4JN4hxwqi/WemfP3IdiO KJ/s1oy3tsBX/RR7gkRlD6F0iZvdvt+DxW+eGqZLhljcTNwWl8BCDrI3xQPsGZnaqjgF cw8Se/9MiUk9rkGW7gDRIbuHfjwPQnHC1brrkWaKxaZPKsSQBH1aw5Rx2UOvgr/eMYEJ 7PhJBDb/Wl0xCTzazot5NLj3LvycGKIhMml2nhXM8A5Q5l3viJwaG89qxrVpgI/7vjOP VZIg== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@samsung.com header.s=mail20170921 header.b=OAXXoke4; spf=pass (google.com: best guess record for domain of linux-samsung-soc-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-samsung-soc-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=samsung.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id 37si1146584plq.529.2017.11.29.03.27.01; Wed, 29 Nov 2017 03:27:01 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-samsung-soc-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@samsung.com header.s=mail20170921 header.b=OAXXoke4; spf=pass (google.com: best guess record for domain of linux-samsung-soc-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-samsung-soc-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=samsung.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932237AbdK2L07 (ORCPT + 3 others); 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 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 --- arch/arm64/boot/dts/exynos/exynos5433.dtsi | 50 ++++++++++++++++++++++++++++++ 1 file changed, 50 insertions(+) -- 2.15.0 -- To unsubscribe from this list: send the line "unsubscribe linux-samsung-soc" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Reviewed-by: Chanwoo Choi 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>;