Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1534708

[PATCH 3/5] arm64: dts: exynos5433: Add PPMU dt node

From Chanwoo Choi <cw00.choi@samsung.com>
Newsgroups linux.kernel
Subject [PATCH 3/5] arm64: dts: exynos5433: Add PPMU dt node
Date 2016-12-02 08:20 +0100
Message-ID <sJQit-uF-19@gated-at.bofh.it> (permalink)
References <sJQit-uF-3@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


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 <cw00.choi@samsung.com>
---
 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>;
-- 
1.9.1

Back to linux.kernel | Previous | NextNext in thread | Find similar | Unroll thread


Thread

[PATCH 3/5] arm64: dts: exynos5433: Add PPMU dt node Chanwoo Choi <cw00.choi@samsung.com> - 2016-12-02 08:20 +0100
  Re: [PATCH 3/5] arm64: dts: exynos5433: Add PPMU dt node Krzysztof Kozlowski <krzk@kernel.org> - 2016-12-06 20:10 +0100
    Re: [PATCH 3/5] arm64: dts: exynos5433: Add PPMU dt node Chanwoo Choi <cw00.choi@samsung.com> - 2016-12-07 05:30 +0100
      Re: [PATCH 3/5] arm64: dts: exynos5433: Add PPMU dt node Chanwoo Choi <cw00.choi@samsung.com> - 2016-12-07 07:00 +0100
        Re: [PATCH 3/5] arm64: dts: exynos5433: Add PPMU dt node Krzysztof Kozlowski <krzk@kernel.org> - 2016-12-07 07:20 +0100

csiph-web