Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S965292AbcKLKTM (ORCPT ); Sat, 12 Nov 2016 05:19:12 -0500 Received: from mailout1.samsung.com ([203.254.224.24]:32972 "EHLO mailout1.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S938318AbcKLKTC (ORCPT ); Sat, 12 Nov 2016 05:19:02 -0500 X-AuditID: cbfee61a-f79916d0000062de-01-5826ec93c1ea From: Alim Akhtar To: linux-arm-kernel@lists.infradead.org, linux-samsung-soc@vger.kernel.org Cc: krzk@kernel.org, will.deacon@arm.com, catalin.marinas@arm.com, linux-kernel@vger.kernel.org, robin.murphy@arm.com Subject: [PATCH v2 2/2] arm64: dts: Add ARM PMU node for exynos7 Date: Sat, 12 Nov 2016 15:47:12 +0530 Message-id: <1478945832-1826-2-git-send-email-alim.akhtar@samsung.com> X-Mailer: git-send-email 1.7.10.4 In-reply-to: <1478945832-1826-1-git-send-email-alim.akhtar@samsung.com> References: <1478945832-1826-1-git-send-email-alim.akhtar@samsung.com> X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFnrGLMWRmVeSWpSXmKPExsVy+t9jAd3Jb9QiDJ690rd4v6yH0eL8+Q3s FpseX2O1uLxrDpvFjPP7mCwOfnjCavHy4wkWB3aPNfPWMHpsWtXJ5rF5Sb3H501yASxRbjYZ qYkpqUUKqXnJ+SmZeem2SqEhbroWSgp5ibmptkoRur4hQUoKZYk5pUCekQEacHAOcA9W0rdL cMuYeXs5W8FVzopfhyexNTA+Ze9i5OSQEDCR+HJ2IQuELSZx4d56ti5GLg4hgaWMEk9+fmKE cH4ySryYdIkZpIpNQFvi7vQtTF2MHBwiAt4Sy68pgoSZBcolHr3qZAWxhQUcJP607GMDsVkE VCVWX2gHs3kF3CR+nZ7KBrFMUaL72QQwm1PAXaJr0yawI4SAahqPT2abwMi7gJFhFaNEakFy QXFSeq5hXmq5XnFibnFpXrpecn7uJkZwGD+T2sF4cJf7IUYBDkYlHt4VxmoRQqyJZcWVuYcY JTiYlUR4D78CCvGmJFZWpRblxxeV5qQWH2I0BTpsIrOUaHI+MMbySuINTcxNzI0NLMwtLU2M lMR5G2c/CxcSSE8sSc1OTS1ILYLpY+LglGpglFvx+63IZkEGSd0UT41m/ZLavsnJ8jcmNEw5 I1JztqpZ7WSVQObTNVffbLUt+8/t85cneU/KqdsTGzd3XciwnBb7U+6j8eTsrb/vXTX9Offy dN/7NmYSFWIS1iZ6ZzdcOrAyIETPeG3AiZsHjhvKXlP661hpbTi/R5PtZJOQ+JuVuTPWvOX2 VGIpzkg01GIuKk4EACNqhPF5AgAA X-MTR: 20000000000000000@CPGS Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1199 Lines: 36 This patch adds ARM Performance Monitor Unit dt node for exynos7. PMU provides various statistics on the operation of the CPU and memory system at runtime, which are very useful when debugging or profiling code. This enables the same. Signed-off-by: Alim Akhtar --- arch/arm64/boot/dts/exynos/exynos7.dtsi | 10 ++++++++++ 1 file changed, 10 insertions(+) Changes since v1: * Added "interrupt-affinity" property as per Robin Murphy review comment. diff --git a/arch/arm64/boot/dts/exynos/exynos7.dtsi b/arch/arm64/boot/dts/exynos/exynos7.dtsi index 396ffb9..09e7a05b 100644 --- a/arch/arm64/boot/dts/exynos/exynos7.dtsi +++ b/arch/arm64/boot/dts/exynos/exynos7.dtsi @@ -472,6 +472,16 @@ status = "disabled"; }; + arm-pmu { + compatible = "arm,cortex-a57-pmu", "arm,armv8-pmuv3"; + interrupts = , + , + , + ; + interrupt-affinity = <&cpu_atlas0>, <&cpu_atlas1>, + <&cpu_atlas2>, <&cpu_atlas3>; + }; + timer { compatible = "arm,armv8-timer"; interrupts =