From: Kyle Huey Date: Mon, 13 Jul 2015 17:35:45 +0000 (-0700) Subject: ARM: tegra: Add Tegra124 PMU support X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=82fe42f5d7b01848a6fc2aee150a4050ca56b1e0;p=GitHub%2Fmoto-9609%2Fandroid_kernel_motorola_exynos9610.git ARM: tegra: Add Tegra124 PMU support This patch modifies the device tree for Tegra124 based devices to enable the Cortex A15 PMU. The interrupt numbers are taken from NVIDIA Tegra K1 TRM (DP-06905-001_v03p). This patch was tested on a Jetson TK1. Signed-off-by: Kyle Huey Acked-by: Mark Rutland Acked-by: Jon Hunter Signed-off-by: Thierry Reding --- diff --git a/arch/arm/boot/dts/tegra124.dtsi b/arch/arm/boot/dts/tegra124.dtsi index f72a7529fc03..a3df6737649b 100644 --- a/arch/arm/boot/dts/tegra124.dtsi +++ b/arch/arm/boot/dts/tegra124.dtsi @@ -980,6 +980,18 @@ }; }; + pmu { + compatible = "arm,cortex-a15-pmu"; + interrupts = , + , + , + ; + interrupt-affinity = <&{/cpus/cpu@0}>, + <&{/cpus/cpu@1}>, + <&{/cpus/cpu@2}>, + <&{/cpus/cpu@3}>; + }; + thermal-zones { cpu { polling-delay-passive = <1000>;