public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] ARM: dts: imx6q-bx50v3: Enable secure-reg-access
@ 2018-01-15 16:07 Sebastian Reichel
  2018-02-02  7:18 ` Shawn Guo
  0 siblings, 1 reply; 8+ messages in thread
From: Sebastian Reichel @ 2018-01-15 16:07 UTC (permalink / raw)
  To: Shawn Guo, Sascha Hauer, Fabio Estevam
  Cc: Ian Ray, Rob Herring, Mark Rutland, devicetree, linux-kernel,
	Sebastian Reichel

From: Peter Senna Tschudin <peter.senna@collabora.com>

Add secure-reg-access on device tree include file for Bx50 devices
to enable PMU and hardware counters for perf.

Signed-off-by: Peter Senna Tschudin <peter.senna@collabora.com>
Signed-off-by: Sebastian Reichel <sebastian.reichel@collabora.co.uk>
---
 arch/arm/boot/dts/imx6q-bx50v3.dtsi | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/arch/arm/boot/dts/imx6q-bx50v3.dtsi b/arch/arm/boot/dts/imx6q-bx50v3.dtsi
index 86cfd4481e72..ccaaee83e2fa 100644
--- a/arch/arm/boot/dts/imx6q-bx50v3.dtsi
+++ b/arch/arm/boot/dts/imx6q-bx50v3.dtsi
@@ -43,6 +43,13 @@
 #include "imx6q-ba16.dtsi"
 
 / {
+	soc {
+		pmu {
+			compatible = "arm,cortex-a9-pmu";
+			secure-reg-access;
+		};
+	};
+
 	clocks {
 		mclk: clock@0 {
 			compatible = "fixed-clock";
-- 
2.15.1

^ permalink raw reply related	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2018-02-08  6:45 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-01-15 16:07 [PATCH] ARM: dts: imx6q-bx50v3: Enable secure-reg-access Sebastian Reichel
2018-02-02  7:18 ` Shawn Guo
2018-02-02 11:10   ` Sebastian Reichel
2018-02-05  5:27     ` Shawn Guo
2018-02-05 17:08       ` [PATCHv2] " Sebastian Reichel
2018-02-05 17:17         ` Fabio Estevam
2018-02-08  6:44         ` Shawn Guo
2018-02-02 15:33   ` [PATCH] " Frank Li

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox