ARM: dts: imx53-ppd: Enable secure-reg-access
authorSebastian Reichel <sebastian.reichel@collabora.co.uk>
Thu, 12 Jul 2018 13:02:36 +0000 (10:02 -0300)
committerShawn Guo <shawnguo@kernel.org>
Tue, 17 Jul 2018 05:50:53 +0000 (13:50 +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: Sebastian Reichel <sebastian.reichel@collabora.co.uk>
[fabio: kept the change only in imx53-ppd context]
Signed-off-by: Fabio Estevam <fabio.estevam@nxp.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
arch/arm/boot/dts/imx53-ppd.dts

index 444ec84..cdb90be 100644 (file)
        };
 };
 
+&pmu {
+       secure-reg-access;
+};
+
 &pwm1 {
        pinctrl-names = "default";
        pinctrl-0 = <&pinctrl_pwm1>;