From patchwork Wed Jan 25 11:55:39 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Marek Szyprowski X-Patchwork-Id: 9536937 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 A6F7B604A0 for ; Wed, 25 Jan 2017 11:56:11 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 980ED26E75 for ; Wed, 25 Jan 2017 11:56:11 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 8CDFC27E33; Wed, 25 Jan 2017 11:56:11 +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.9 required=2.0 tests=BAYES_00,RCVD_IN_DNSWL_HI 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 4054926E75 for ; Wed, 25 Jan 2017 11:56:11 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751497AbdAYL4J (ORCPT ); Wed, 25 Jan 2017 06:56:09 -0500 Received: from mailout2.w1.samsung.com ([210.118.77.12]:57742 "EHLO mailout2.w1.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751387AbdAYL4E (ORCPT ); Wed, 25 Jan 2017 06:56:04 -0500 Received: from eucas1p2.samsung.com (unknown [182.198.249.207]) by mailout2.w1.samsung.com (Oracle Communications Messaging Server 7.0.5.31.0 64bit (built May 5 2014)) with ESMTP id <0OKC00EHT3TEG310@mailout2.w1.samsung.com>; Wed, 25 Jan 2017 11:56:02 +0000 (GMT) Received: from eusmges3.samsung.com (unknown [203.254.199.242]) by eucas1p2.samsung.com (KnoxPortal) with ESMTP id 20170125115601eucas1p265f3b6b25d487309a75546bf7df8a0b6~dAbyeK1rB0889108891eucas1p28; Wed, 25 Jan 2017 11:56:01 +0000 (GMT) Received: from eucas1p1.samsung.com ( [182.198.249.206]) by eusmges3.samsung.com (EUCPMTA) with SMTP id F8.34.09557.15298885; Wed, 25 Jan 2017 11:56:01 +0000 (GMT) Received: from eusmgms1.samsung.com (unknown [182.198.249.179]) by eucas1p2.samsung.com (KnoxPortal) with ESMTP id 20170125115601eucas1p28fcaf437e629723875767873f015458b~dAbx3itsO0603206032eucas1p2P; Wed, 25 Jan 2017 11:56:01 +0000 (GMT) X-AuditID: cbfec7f2-f790f6d000002555-84-58889251aadf Received: from eusync2.samsung.com ( [203.254.199.212]) by eusmgms1.samsung.com (EUCPMTA) with SMTP id 38.DF.06687.09298885; Wed, 25 Jan 2017 11:57:04 +0000 (GMT) Received: from AMDC2765.digital.local ([106.116.147.25]) by eusync2.samsung.com (Oracle Communications Messaging Server 7.0.5.31.0 64bit (built May 5 2014)) with ESMTPA id <0OKC001MA3T6B7A0@eusync2.samsung.com>; Wed, 25 Jan 2017 11:56:01 +0000 (GMT) From: Marek Szyprowski To: linux-samsung-soc@vger.kernel.org, linux-pm@vger.kernel.org Cc: Marek Szyprowski , Sylwester Nawrocki , Krzysztof Kozlowski , Bartlomiej Zolnierkiewicz , Chanwoo Choi , Inki Dae Subject: [PATCH 5/8] arm64: dts: exynos: Add MFC power domain to Exynos 5433 SoC Date: Wed, 25 Jan 2017 12:55:39 +0100 Message-id: <1485345342-3273-6-git-send-email-m.szyprowski@samsung.com> X-Mailer: git-send-email 1.9.1 In-reply-to: <1485345342-3273-1-git-send-email-m.szyprowski@samsung.com> X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFjrMIsWRmVeSWpSXmKPExsWy7djPc7qBkzoiDKZckLHYOGM9q8X1L89Z LSbdn8Bicf78BnaLz71HGC1mnN/HZLH2yF12i8Nv2lkdODw2rep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mKLCNhL3H6yjB2kiFmgg0ni350WsISwQIDEu57/rCA2i4Cq xJ0zH8DivALuEve71jFCrJOTOHlsMlgNp4CHRNfTfrAFQkA1U2+uZZnAyLuAkWEVo0hqaXFu em6xoV5xYm5xaV66XnJ+7iZGYBBvO/Zz8w7GSxuDDzEKcDAq8fBOSGqPEGJNLCuuzD3EKMHB rCTC69DSESHEm5JYWZValB9fVJqTWnyI0RToqInMUqLJ+cAIyyuJNzQxNLc0NDK2sDA3MlIS 5y35cCVcSCA9sSQ1OzW1ILUIpo+Jg1OqgXEij+SaoquaRltmfyh0zcnwtLc8tGru9RlBpW7e RY5hU7SnW+gUFt9/8v/5jrxtHPt9RH8JuzzkaXy6VPjnr6rjK2f9Z66MTJubmPOTr3XbC+ek wIN8wX7Sp49/WmhRIr7a8tG2GL+iuwYb7Grzj675s3H6/VtCJucenD5vsvXUrYMxljYnLLiU WIozEg21mIuKEwHF7FDweAIAAA== X-MTR: 20000000000000000@CPGS X-CMS-MailID: 20170125115601eucas1p28fcaf437e629723875767873f015458b X-Msg-Generator: CA X-Sender-IP: 182.198.249.179 X-Local-Sender: =?UTF-8?B?TWFyZWsgU3p5cHJvd3NraRtTUlBPTC1LZXJuZWwgKFRQKRs=?= =?UTF-8?B?7IK87ISx7KCE7J6QG1NlbmlvciBTb2Z0d2FyZSBFbmdpbmVlcg==?= X-Global-Sender: =?UTF-8?B?TWFyZWsgU3p5cHJvd3NraRtTUlBPTC1LZXJuZWwgKFRQKRtT?= =?UTF-8?B?YW1zdW5nIEVsZWN0cm9uaWNzG1NlbmlvciBTb2Z0d2FyZSBFbmdpbmVlcg==?= X-Sender-Code: =?UTF-8?B?QzEwG0VIURtDMTBDRDAyQ0QwMjczOTI=?= CMS-TYPE: 201P X-HopCount: 7 X-CMS-RootMailID: 20170125115601eucas1p28fcaf437e629723875767873f015458b X-RootMTR: 20170125115601eucas1p28fcaf437e629723875767873f015458b References: <1485345342-3273-1-git-send-email-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 MFC power domain to Exynos 5433 SoCs, which contains following devices: a clock controller, MFC codec device and its SYSMMUs. Signed-off-by: Marek Szyprowski --- arch/arm64/boot/dts/exynos/exynos5433.dtsi | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/arch/arm64/boot/dts/exynos/exynos5433.dtsi b/arch/arm64/boot/dts/exynos/exynos5433.dtsi index 5778fdbd5763..3487981726d9 100644 --- a/arch/arm64/boot/dts/exynos/exynos5433.dtsi +++ b/arch/arm64/boot/dts/exynos/exynos5433.dtsi @@ -468,6 +468,7 @@ clock-names = "oscclk", "aclk_mfc_400"; clocks = <&xxti>, <&cmu_top CLK_ACLK_MFC_400>; + power-domains = <&pd_mfc>; }; cmu_hevc: clock-controller@14f80000 { @@ -546,6 +547,12 @@ #power-domain-cells = <0>; }; + pd_mfc: mfc-power-domain@105c4180 { + compatible = "samsung,exynos5433-pd"; + reg = <0x105c4180 0x20>; + #power-domain-cells = <0>; + }; + tmu_atlas0: tmu@10060000 { compatible = "samsung,exynos5433-tmu"; reg = <0x10060000 0x200>; @@ -971,6 +978,7 @@ <&cmu_mfc CLK_ACLK_XIU_MFCX>; iommus = <&sysmmu_mfc_0>, <&sysmmu_mfc_1>; iommu-names = "left", "right"; + power-domains = <&pd_mfc>; }; sysmmu_decon0x: sysmmu@13a00000 { @@ -1069,6 +1077,7 @@ clocks = <&cmu_mfc CLK_PCLK_SMMU_MFC_0>, <&cmu_mfc CLK_ACLK_SMMU_MFC_0>; #iommu-cells = <0>; + power-domains = <&pd_mfc>; }; sysmmu_mfc_1: sysmmu@15210000 { @@ -1079,6 +1088,7 @@ clocks = <&cmu_mfc CLK_PCLK_SMMU_MFC_1>, <&cmu_mfc CLK_ACLK_SMMU_MFC_1>; #iommu-cells = <0>; + power-domains = <&pd_mfc>; }; serial_0: serial@14c10000 {