Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 743895e8 authored by Neil Leeder's avatar Neil Leeder
Browse files

ARM: dts: msm: add perf-events support for apq8084



Add the device definitions for the performance monitor
unit on apq8084. This enables the perf-events
subsystem.

Change-Id: I95fa6810b59248fc478c28d739de0e800e2cdb5e
Signed-off-by: default avatarNeil Leeder <nleeder@codeaurora.org>
parent 7f171417
Loading
Loading
Loading
Loading
+11 −0
Original line number Diff line number Diff line
@@ -2125,6 +2125,17 @@

		qcom,firmware-name = "vpu";
	};

	cpu-pmu {
		compatible = "qcom,krait-pmu";
		qcom,irq-is-percpu;
		interrupts = <1 7 0xf00>;
	};

	l2-pmu {
		compatible = "qcom,l2-pmu";
		interrupts = <0 1 0>;
	};
};

&gdsc_venus {
+1 −0
Original line number Diff line number Diff line
@@ -32,6 +32,7 @@ static char *descriptions =
	" 7 Perf: Add L1 counters to tracepoints\n"
	" 8 Perf: Make per-process counters configurable\n"
	" 9 msm: perf: Add L2 support for tracecounters\n"
	"10 ARM: dts: msm: add perf-events support for apq8084\n"
;

static ssize_t desc_read(struct file *fp, char __user *buf,