From patchwork Fri Dec 2 07:18:05 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Chanwoo Choi X-Patchwork-Id: 9457967 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 638E360236 for ; Fri, 2 Dec 2016 07:20:33 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 5B92228526 for ; Fri, 2 Dec 2016 07:20:33 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 504E32852C; Fri, 2 Dec 2016 07:20:33 +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=-4.2 required=2.0 tests=BAYES_00, RCVD_IN_DNSWL_MED autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.9]) (using TLSv1.2 with cipher AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 1295C28526 for ; Fri, 2 Dec 2016 07:20:33 +0000 (UTC) Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.85_2 #1 (Red Hat Linux)) id 1cCi7i-0003as-Fb; Fri, 02 Dec 2016 07:19:10 +0000 Received: from mailout2.samsung.com ([203.254.224.25]) by bombadil.infradead.org with esmtps (Exim 4.85_2 #1 (Red Hat Linux)) id 1cCi7A-0003EL-Nv for linux-arm-kernel@lists.infradead.org; Fri, 02 Dec 2016 07:18:37 +0000 Received: from epcpsbgm1new.samsung.com (epcpsbgm1 [203.254.230.26]) by mailout2.samsung.com (Oracle Communications Messaging Server 7.0.5.31.0 64bit (built May 5 2014)) with ESMTP id <0OHJ02JYNQY8YQ00@mailout2.samsung.com> for linux-arm-kernel@lists.infradead.org; Fri, 02 Dec 2016 16:18:08 +0900 (KST) X-AuditID: cbfee61a-f79916d0000062de-18-5841203043ff Received: from epmmp2 ( [203.254.227.17]) by epcpsbgm1new.samsung.com (EPCPMTA) with SMTP id 4D.6C.25310.03021485; Fri, 2 Dec 2016 16:18:08 +0900 (KST) Received: from localhost.localdomain ([10.113.62.212]) by mmp2.samsung.com (Oracle Communications Messaging Server 7.0.5.31.0 64bit (built May 5 2014)) with ESMTPA id <0OHJ00CWKQY7FI90@mmp2.samsung.com>; Fri, 02 Dec 2016 16:18:08 +0900 (KST) From: Chanwoo Choi To: krzk@kernel.org, javier@osg.samsung.com, kgene@kernel.org, robh+dt@kernel.org, s.nawrocki@samsung.com, tomasz.figa@gmail.com Subject: [PATCH 3/5] arm64: dts: exynos5433: Add PPMU dt node Date: Fri, 02 Dec 2016 16:18:05 +0900 Message-id: <1480663087-4590-4-git-send-email-cw00.choi@samsung.com> X-Mailer: git-send-email 1.8.0 In-reply-to: <1480663087-4590-1-git-send-email-cw00.choi@samsung.com> References: <1480663087-4590-1-git-send-email-cw00.choi@samsung.com> X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFprIIsWRmVeSWpSXmKPExsVy+t9jQV0DBccIgxV/NC2uf3nOajH/yDlW izdv1zBZ9D9+zWxx/vwGdouzTW/YLTY9vsZqcXnXHDaLGef3MVncblzBZtG69wi7xeE37awW q3b9YXTg9dg56y67x6ZVnWwem5fUe2zpB/L6tqxi9Pi8SS6ALcrNJiM1MSW1SCE1Lzk/JTMv 3VYpNMRN10JJIS8xN9VWKULXNyRISaEsMacUyDMyQAMOzgHuwUr6dgluGQ9vzGcp2MxTsaNp OlsDYy9XFyMnh4SAicTuvs0sELaYxIV769m6GLk4hARmMUq8ubKVCcL5wSgx8exKsCo2AS2J /S9ugFWJCDQxSjRcmMsI4jALXGWU2Lh4CiNIlbCArcSE52+YQGwWAVWJvonL2EBsXgEXiYtd HVD75CQ+7HnEDmJzCrhKNHydxQxiCwHVbOrqYJ7AyLuAkWEVo0RqQXJBcVJ6rmFearlecWJu cWleul5yfu4mRnB0PJPawXhwl/shRgEORiUe3hfGDhFCrIllxZW5hxglOJiVRHg/yzlGCPGm JFZWpRblxxeV5qQWH2I0BTpsIrOUaHI+MHLzSuINTcxNzI0NLMwtLU2MlMR5G2c/CxcSSE8s Sc1OTS1ILYLpY+LglGpgnCHe+SjCL2//jGhWqdYysdMfJ3Vp1sqf1l5sdq04J3cTg73sv+sl kfcvWj5IPjPniwPH1+up98/MrPjwfFrB+3xD5+smZutWuujM/XjhpaLMK/+IG98DFLgN9VUZ ZiSe+Tjv2e9tnXUt8uJHUv882y/F9f5pY/XfjJO+K5T7n/yYJzPp+jLGyUosxRmJhlrMRcWJ AN+fejakAgAA X-MTR: 20000000000000000@CPGS X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20161201_231836_995400_AAC4D3C4 X-CRM114-Status: UNSURE ( 9.11 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: devicetree@vger.kernel.org, linux-samsung-soc@vger.kernel.org, linux-kernel@vger.kernel.org, cw00.choi@samsung.com, kyungmin.park@samsung.com, myungjoo.ham@samsung.com, linux-arm-kernel@lists.infradead.org MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP This patch adds PPMU (Platform Performance Monitoring Unit) Device-tree node to measure the utilization of each IP in Exynos SoC. - PPMU_D{0|1}_CPU are used to measure the utilization of MIF (Memory Interface) block with VDD_MIF power source. - PPMU_D{0|1}_GENERAL are used to measure the utilization of INT(Internal) block with VDD_INT power source. Signed-off-by: Chanwoo Choi Reviewed-by: Krzysztof Kozlowski --- arch/arm64/boot/dts/exynos/exynos5433.dtsi | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) diff --git a/arch/arm64/boot/dts/exynos/exynos5433.dtsi b/arch/arm64/boot/dts/exynos/exynos5433.dtsi index 64226d5ae471..8c4ee84d5232 100644 --- a/arch/arm64/boot/dts/exynos/exynos5433.dtsi +++ b/arch/arm64/boot/dts/exynos/exynos5433.dtsi @@ -599,6 +599,30 @@ clock-names = "fin_pll", "mct"; }; + ppmu_d0_cpu: ppmu@10480000 { + compatible = "samsung,exynos-ppmu-v2"; + reg = <0x10480000 0x2000>; + status = "disabled"; + }; + + ppmu_d0_general: ppmu@10490000 { + compatible = "samsung,exynos-ppmu-v2"; + reg = <0x10490000 0x2000>; + status = "disabled"; + }; + + ppmu_d1_cpu: ppmu@104b0000 { + compatible = "samsung,exynos-ppmu-v2"; + reg = <0x104b0000 0x2000>; + status = "disabled"; + }; + + ppmu_d1_general: ppmu@104c0000 { + compatible = "samsung,exynos-ppmu-v2"; + reg = <0x104c0000 0x2000>; + status = "disabled"; + }; + pinctrl_alive: pinctrl@10580000 { compatible = "samsung,exynos5433-pinctrl"; reg = <0x10580000 0x1a20>, <0x11090000 0x100>;