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

Commit 8cea453c authored by Neil Leeder's avatar Neil Leeder
Browse files

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



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

Change-Id: I28217d527b56abb87ca5d09b7315075278e6d2f2
Signed-off-by: default avatarNeil Leeder <nleeder@codeaurora.org>
parent 743895e8
Loading
Loading
Loading
Loading
+11 −0
Original line number Diff line number Diff line
@@ -1688,6 +1688,17 @@
				<55 512 3936000 393600>,
				<55 512 3936000 393600>;
	};

	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
@@ -33,6 +33,7 @@ static char *descriptions =
	" 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"
	"11 ARM: dts: msm: add perf-events support for msmsamarium\n"
;

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