From patchwork Wed Nov 29 11:26:35 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Marek Szyprowski X-Patchwork-Id: 119962 Delivered-To: patch@linaro.org Received: by 10.140.22.227 with SMTP id 90csp2924380qgn; Wed, 29 Nov 2017 03:27:02 -0800 (PST) X-Google-Smtp-Source: AGs4zMbjJDFOMRZ44meFl1RqwhOdjbdSpJ9ZSyS8fs5e1/xHG00sT5p8xvJJLZ+IqvBmgGLywZDG X-Received: by 10.98.76.90 with SMTP id z87mr2687056pfa.194.1511954822358; Wed, 29 Nov 2017 03:27:02 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1511954822; cv=none; d=google.com; s=arc-20160816; b=S+gYl6jfQppbACeVBNlbms7ToKBatdJZOqdxGlGDx0WkB0r7wWeovPxhIeX7OrG2cB II66Tw8ahdR77eJGjTF+a0p6fZec6HKE4Z8Z9D9DEHAUvgkx+LJ/gTni38/y6eZ1GW46 Np9JnSf6RC3ZPHb86KUqczbb8fnUTw1VIk+ruWXUe/HyAjK2ICeNqa7YUS/0zzHmtqgB +pSJFx1FkE3/mQdM3AMn8nlTcLohQiEDbpYfwTfpggQQ8HwoqOU4RhmqI+z36ZmgSdZt s6htAdGiOsZucoCcsUhpsH5Cc/qSXXmHrNrr0P1sfmsjhuPNvISXKtunLMIdPUnquXVm RVOA== 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=TjX/iA0arjHTNBNByE0FPEaiaiPeoNxIjGGHHRZ/2u4=; b=c4u9nHpw4GcpdgjJpdhPYpYXIhkSGRxIESNlrC4zYbQDtlInWg8NXXDoIXN/EsZDhP mDVUqlGONFLn9KwDpkvkLo+e/mlZ+94NM5wPKRi5/Gb02wHtUSvJ6Bio7XSeZT9jHs8J lwPAwVxkg+orXBpBJO+TXRuyjhSLrYH4Q4eG1Dnj2QVGKiMaQRJj1fWmi9UG+3IARGfx CBISd3N1q28xCR5JhtP6Zuj1/94dgr1aXHiAa1rqb09ZI/n8e1FUrhH88q/OiVki90pg NHwE3Or2MXjepoYh4AZ6SriLtlwUq0gCvWER0qfEEfbwKZ7P53s35j6GGJZuOW9fhJwV NMUw== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@samsung.com header.s=mail20170921 header.b=budEIP77; 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.02; Wed, 29 Nov 2017 03:27:02 -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=budEIP77; 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 S1754572AbdK2L1A (ORCPT + 3 others); Wed, 29 Nov 2017 06:27:00 -0500 Received: from mailout2.w1.samsung.com ([210.118.77.12]:57054 "EHLO mailout2.w1.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932266AbdK2L0y (ORCPT ); Wed, 29 Nov 2017 06:26:54 -0500 Received: from eucas1p1.samsung.com (unknown [182.198.249.206]) by mailout2.w1.samsung.com (KnoxPortal) with ESMTP id 20171129112652euoutp024668d64d66d73a03b9f12416a99a46a1~7iuQPxL-c2006820068euoutp02Q; Wed, 29 Nov 2017 11:26:52 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 mailout2.w1.samsung.com 20171129112652euoutp024668d64d66d73a03b9f12416a99a46a1~7iuQPxL-c2006820068euoutp02Q DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=samsung.com; s=mail20170921; t=1511954812; bh=K4B8jronEhdhjq5154OxawhIjXkalmQc1cGRSzHL10I=; h=From:To:Cc:Subject:Date:In-reply-to:References:From; b=budEIP77haScn4BC6oPkzIyFlwdu8TfGPBfwnF/hs0KL4HEaXS6vjLz6Ty6iELHCz uZU8T6adZNCE4wv4BZwqpG+7JPAIhnJWR9YsGrNP3pJB7PoAk4GSJZsiQclAgk0wdP 0/wCkijq3w0KZeLoqfTcrrH8s/2ZhR2nqEKUJoXs= Received: from eusmges4.samsung.com (unknown [203.254.199.244]) by eucas1p1.samsung.com (KnoxPortal) with ESMTP id 20171129112651eucas1p1fa9d4099aa2fb831459d1dea2041043d~7iuPbBZlP0225502255eucas1p1J; Wed, 29 Nov 2017 11:26:51 +0000 (GMT) Received: from eucas1p1.samsung.com ( [182.198.249.206]) by eusmges4.samsung.com (EUCPMTA) with SMTP id C7.12.12944.A799E1A5; Wed, 29 Nov 2017 11:26:50 +0000 (GMT) Received: from eusmgms2.samsung.com (unknown [182.198.249.180]) by eucas1p1.samsung.com (KnoxPortal) with ESMTP id 20171129112650eucas1p13a3cc167bc64d133cf24e4f621865203~7iuOju0c02344923449eucas1p1Z; Wed, 29 Nov 2017 11:26:50 +0000 (GMT) X-AuditID: cbfec7f4-f79ab6d000003290-08-5a1e997a58da Received: from eusync4.samsung.com ( [203.254.199.214]) by eusmgms2.samsung.com (EUCPMTA) with SMTP id B2.A1.20118.A799E1A5; Wed, 29 Nov 2017 11:26:50 +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:50 +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 3/6] arm64: dts: exynos: Add MSCL power domain to Exynos 5433 SoC Date: Wed, 29 Nov 2017 12:26:35 +0100 Message-id: <20171129112638.15813-4-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+NgFtrMIsWRmVeSWpSXmKPExsWy7djPc7pVM+WiDPa/M7XYOGM9q8X1L89Z LSbdn8Bicf78BnaLGef3MVmsPXKX3eLwm3ZWB3aPTas62Tz6tqxi9Pi8SS6AOYrLJiU1J7Ms tUjfLoEr48COe6wFn7krnnbOYG5g3MbZxcjBISFgIrHnFFcXIyeQKSZx4d56ti5GLg4hgaWM Eu1bJrNDOJ8ZJaYdameHqDKR2HLyCyNEYhmjxPbebUwQTgOTxK3mc2wgVWwChhJdb7vAbBEB VYnPbQvARjELtDFJ7LrVxgqSEBYIk5jS3gg2lgWoaMmPOSwgNq+ArcSajQ+YINbJSyz+vhNs EKeAncStgw2sEPG/rBIL5mRA2C4SF88cYoGwhSVeHd8CdaqMxOXJ3VDxfkaJplZtCHsGo8S5 t7wQtrXE4eMXwWYyC/BJTNo2nRkSLrwSHW1CECUeEi9XLmGGsB0lOk7tYIV4eCKjxIfjP9gn MEovYGRYxSiSWlqcm55abKJXnJhbXJqXrpecn7uJERiVp/8d/7KDcfExq0OMAhyMSjy8F1bI RgmxJpYVV+YeYpTgYFYS4d3gJRclxJuSWFmVWpQfX1Sak1p8iFGag0VJnNc2qi1SSCA9sSQ1 OzW1ILUIJsvEwSnVwOh/NrlP/qAC65LGljup63cmlH/LZlsbtfmjg4y2+v7HiQfK2bYs43P4 vkDr/QGmU9yKS6XfFRhGnp65LH7/tbvTnm+4VtX2tq589dMf0f/y7loxd99+8mrez5B3U2Ye Ufki0/zawFz953lDPzUubw9NvpO7Ly1zEZqQfFQtafeOmvQ306ewsqxXYinOSDTUYi4qTgQA 8HT6tcYCAAA= X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFupiluLIzCtJLcpLzFFi42I5/e/4Nd2qmXJRBsv/cltsnLGe1eL6l+es FpPuT2CxOH9+A7vFjPP7mCzWHrnLbnH4TTurA7vHplWdbB59W1YxenzeJBfAHMVlk5Kak1mW WqRvl8CVcWDHPdaCz9wVTztnMDcwbuPsYuTkkBAwkdhy8gsjhC0mceHeerYuRi4OIYEljBKt RzuZIJwmJok1Gz8zgVSxCRhKdL3tYgOxRQRUJT63LWAHKWIW6GCS+HenBSwhLBAmMaW9kR3E ZgEqWvJjDguIzStgCzToARPEOnmJxd93gtVzCthJ3DrYwApiCwHVXHt0knkCI+8CRoZVjCKp pcW56bnFRnrFibnFpXnpesn5uZsYgSG07djPLTsYu94FH2IU4GBU4uG9sEI2Sog1say4MvcQ owQHs5II7wYvuSgh3pTEyqrUovz4otKc1OJDjNIcLErivL17VkcKCaQnlqRmp6YWpBbBZJk4 OKUaGHvSU2etWX4kI6zDKH3f1Sf6gmvaLJ9Lpt7Wep69jNuB0X3bVk9B70ttMTkZhus3Nbxl aVS5E8NqHOLEZ2BYstAv9Pjie+ofBJT53uaEBPs8M2RrfrxPrvjFuaqHn9UVC7IOWKqsufz6 cV/g1qonilrhXnJf/u9+9eLwkZ93M6/Jb2Q5sLTmmBJLcUaioRZzUXEiAGnvox8dAgAA X-CMS-MailID: 20171129112650eucas1p13a3cc167bc64d133cf24e4f621865203 X-Msg-Generator: CA CMS-TYPE: 201P X-CMS-RootMailID: 20171129112650eucas1p13a3cc167bc64d133cf24e4f621865203 X-RootMTR: 20171129112650eucas1p13a3cc167bc64d133cf24e4f621865203 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 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 | 10 ++++++++++ 1 file changed, 10 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 95f30ccc00a3..0a06be283a31 100644 --- a/arch/arm64/boot/dts/exynos/exynos5433.dtsi +++ b/arch/arm64/boot/dts/exynos/exynos5433.dtsi @@ -476,6 +476,7 @@ clocks = <&xxti>, <&cmu_top CLK_SCLK_JPEG_MSCL>, <&cmu_top CLK_ACLK_MSCL_400>; + power-domains = <&pd_mscl>; }; cmu_mfc: clock-controller@15280000 { @@ -552,6 +553,13 @@ label = "GSCL"; }; + pd_mscl: power-domain@105c4040 { + compatible = "samsung,exynos5433-pd"; + reg = <0x105c4040 0x20>; + #power-domain-cells = <0>; + label = "MSCL"; + }; + pd_disp: power-domain@105c4080 { compatible = "samsung,exynos5433-pd"; reg = <0x105c4080 0x20>; @@ -971,6 +979,7 @@ <&cmu_mscl CLK_ACLK_XIU_MSCLX>, <&cmu_mscl CLK_SCLK_JPEG>; iommus = <&sysmmu_jpeg>; + power-domains = <&pd_mscl>; }; mfc: codec@152E0000 { @@ -1070,6 +1079,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 {