]> asedeno.scripts.mit.edu Git - linux.git/commitdiff
ARM: dts: imx51-babbage: Enable secure-reg-access
authorFabio Estevam <fabio.estevam@nxp.com>
Thu, 12 Jul 2018 13:02:37 +0000 (10:02 -0300)
committerShawn Guo <shawnguo@kernel.org>
Tue, 17 Jul 2018 05:51:25 +0000 (13:51 +0800)
Add 'secure-reg-access' property to enable PMU and hardware counters
so that they can be properly used with the 'perf' tool.

Signed-off-by: Fabio Estevam <fabio.estevam@nxp.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
arch/arm/boot/dts/imx51-babbage.dts

index a4a6d4a6b55b530ef2674e998dc8a274ac15fb61..ba60b0cb3cc13ba08c9c414d7b8c317cc936ad7e 100644 (file)
@@ -396,6 +396,10 @@ MATRIX_KEY(3, 3, KEY_POWER)
        status = "okay";
 };
 
+&pmu {
+       secure-reg-access;
+};
+
 &ssi2 {
        status = "okay";
 };