[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20180206142629.534-4-sebastian.reichel@collabora.co.uk>
Date: Tue, 6 Feb 2018 15:26:29 +0100
From: Sebastian Reichel <sebastian.reichel@...labora.co.uk>
To: Shawn Guo <shawnguo@...nel.org>,
Sascha Hauer <kernel@...gutronix.de>,
Fabio Estevam <fabio.estevam@....com>,
Will Deacon <will.deacon@....com>,
Mark Rutland <mark.rutland@....com>
Cc: Russell King <linux@...linux.org.uk>, Ian Ray <ian.ray@...com>,
Nandor Han <nandor.han@...com>,
Rob Herring <robh+dt@...nel.org>, devicetree@...r.kernel.org,
linux-arm-kernel@...ts.infradead.org, linux-kernel@...r.kernel.org,
Sebastian Reichel <sebastian.reichel@...labora.co.uk>
Subject: [PATCHv2 3/3] ARM: dts: imx53: PPD: Enable secure-reg-access
From: Peter Senna Tschudin <peter.senna@...labora.com>
Add secure-reg-access on PPD device tree to enable PMU and
hardware counters for perf.
Signed-off-by: Peter Senna Tschudin <peter.senna@...labora.com>
Signed-off-by: Sebastian Reichel <sebastian.reichel@...labora.co.uk>
---
arch/arm/boot/dts/imx53-ppd.dts | 4 ++++
arch/arm/boot/dts/imx53.dtsi | 2 +-
2 files changed, 5 insertions(+), 1 deletion(-)
diff --git a/arch/arm/boot/dts/imx53-ppd.dts b/arch/arm/boot/dts/imx53-ppd.dts
index cce959438a79..4ecbe6e4eecb 100644
--- a/arch/arm/boot/dts/imx53-ppd.dts
+++ b/arch/arm/boot/dts/imx53-ppd.dts
@@ -556,6 +556,10 @@
};
};
+&pmu {
+ secure-reg-access;
+};
+
&pwm1 {
pinctrl-names = "default";
pinctrl-0 = <&pinctrl_pwm1>;
diff --git a/arch/arm/boot/dts/imx53.dtsi b/arch/arm/boot/dts/imx53.dtsi
index 1040251f2951..7df4853dc771 100644
--- a/arch/arm/boot/dts/imx53.dtsi
+++ b/arch/arm/boot/dts/imx53.dtsi
@@ -116,7 +116,7 @@
};
};
- pmu {
+ pmu: pmu {
compatible = "arm,cortex-a8-pmu";
interrupt-parent = <&tzic>;
interrupts = <77>;
--
2.15.1
Powered by blists - more mailing lists