From patchwork Wed Jan 25 11:55: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: 9536943 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 6423A601D7 for ; Wed, 25 Jan 2017 11:56:14 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 53E9927E33 for ; Wed, 25 Jan 2017 11:56:14 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 48C572787C; Wed, 25 Jan 2017 11:56:14 +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 E122F27E33 for ; Wed, 25 Jan 2017 11:56:13 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751387AbdAYL4N (ORCPT ); Wed, 25 Jan 2017 06:56:13 -0500 Received: from mailout1.w1.samsung.com ([210.118.77.11]:50456 "EHLO mailout1.w1.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751440AbdAYL4G (ORCPT ); Wed, 25 Jan 2017 06:56:06 -0500 Received: from eucas1p2.samsung.com (unknown [182.198.249.207]) by mailout1.w1.samsung.com (Oracle Communications Messaging Server 7.0.5.31.0 64bit (built May 5 2014)) with ESMTP id <0OKC00DHM3TDWO10@mailout1.w1.samsung.com>; Wed, 25 Jan 2017 11:56:01 +0000 (GMT) Received: from eusmges4.samsung.com (unknown [203.254.199.244]) by eucas1p1.samsung.com (KnoxPortal) with ESMTP id 20170125115601eucas1p1c8e1ff4a5be186e19ee3abc4195e1131~dAbyHnJsd1144911449eucas1p1p; Wed, 25 Jan 2017 11:56:01 +0000 (GMT) Received: from eucas1p1.samsung.com ( [182.198.249.206]) by eusmges4.samsung.com (EUCPMTA) with SMTP id 00.1C.28517.15298885; Wed, 25 Jan 2017 11:56:01 +0000 (GMT) Received: from eusmgms1.samsung.com (unknown [182.198.249.179]) by eucas1p1.samsung.com (KnoxPortal) with ESMTP id 20170125115600eucas1p1df640bb3f1033a103f7dea3d384c3b4e~dAbxeNEgY1144811448eucas1p11; Wed, 25 Jan 2017 11:56:00 +0000 (GMT) X-AuditID: cbfec7f4-f79716d000006f65-7a-58889251bcf4 Received: from eusync2.samsung.com ( [203.254.199.212]) by eusmgms1.samsung.com (EUCPMTA) with SMTP id 77.DF.06687.F8298885; Wed, 25 Jan 2017 11:57:03 +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:00 +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 4/8] arm64: dts: exynos: Add MSCL power domain to Exynos 5433 SoC Date: Wed, 25 Jan 2017 12:55:38 +0100 Message-id: <1485345342-3273-5-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+NgFjrMIsWRmVeSWpSXmKPExsWy7djPc7qBkzoiDOZtYLXYOGM9q8X1L89Z LSbdn8Bicf78BnaLz71HGC1mnN/HZLH2yF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3G97 zArhNDFJNHzZzgRSxSZgKNH1tosNxBYRsJe4/WQZO0gRs0AHk8S/Oy1gCWGBYIm1k9eB2SwC qhIrD3Swgti8Au4SG5t2skGsk5M4eWwyWJxTwEOi62k/2AIhoJqpN9eyTGDkXcDIsIpRJLW0 ODc9t9hQrzgxt7g0L10vOT93EyMwhLcd+7l5B+OljcGHGAU4GJV4eCcktUcIsSaWFVfmHmKU 4GBWEuF1aOmIEOJNSaysSi3Kjy8qzUktPsRoCnTURGYp0eR8YHzllcQbmhiaWxoaGVtYmBsZ KYnzlny4Ei4kkJ5YkpqdmlqQWgTTx8TBKdXAqJtu6b5Ps0rqTV3ajKlzW9NTTV0C3+spHPLc EiJt5LzCenPuGrdDuQqLP4f8/miUeyLj6KzcDJUJM9/css+JLPzP4OD6Qk9QWtac47qc4J5T XMrndnfNqLys5MT0qJirQXzhzA9nBP+vFNP2vrn4oqtqV0bqh1mKMf5rPku0/PA3MzM++Wab EktxRqKhFnNRcSIA2owirHcCAAA= X-MTR: 20000000000000000@CPGS X-CMS-MailID: 20170125115600eucas1p1df640bb3f1033a103f7dea3d384c3b4e 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: 20170125115600eucas1p1df640bb3f1033a103f7dea3d384c3b4e X-RootMTR: 20170125115600eucas1p1df640bb3f1033a103f7dea3d384c3b4e 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 MSCL power domain to Exynos 5433 SoCs, which contains following devices: a clock controller, JPEG codec device and its SYSMMU. Signed-off-by: Marek Szyprowski --- arch/arm64/boot/dts/exynos/exynos5433.dtsi | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/arch/arm64/boot/dts/exynos/exynos5433.dtsi b/arch/arm64/boot/dts/exynos/exynos5433.dtsi index a84b44cea2a8..5778fdbd5763 100644 --- a/arch/arm64/boot/dts/exynos/exynos5433.dtsi +++ b/arch/arm64/boot/dts/exynos/exynos5433.dtsi @@ -458,6 +458,7 @@ clocks = <&xxti>, <&cmu_top CLK_SCLK_JPEG_MSCL>, <&cmu_top CLK_ACLK_MSCL_400>; + power-domains = <&pd_mscl>; }; cmu_mfc: clock-controller@15280000 { @@ -533,6 +534,12 @@ #power-domain-cells = <0>; }; + pd_mscl: mscl-power-domain@105c4040 { + compatible = "samsung,exynos5433-pd"; + reg = <0x105c4040 0x20>; + #power-domain-cells = <0>; + }; + pd_disp: disp-power-domain@105c4080 { compatible = "samsung,exynos5433-pd"; reg = <0x105c4080 0x20>; @@ -951,6 +958,7 @@ <&cmu_mscl CLK_ACLK_XIU_MSCLX>, <&cmu_mscl CLK_SCLK_JPEG>; iommus = <&sysmmu_jpeg>; + power-domains = <&pd_mscl>; }; mfc: codec@152E0000 { @@ -1050,6 +1058,7 @@ clocks = <&cmu_mscl CLK_PCLK_SMMU_JPEG>, <&cmu_mscl CLK_ACLK_SMMU_JPEG>; #iommu-cells = <0>; + power-domains = <&pd_mscl>; }; sysmmu_mfc_0: sysmmu@15200000 {