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

Commit db27ec28 authored by Neil Leeder's avatar Neil Leeder
Browse files

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



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

Change-Id: Icd1acc81cd4f31549ef56810365821c4ce80c8ff
Signed-off-by: default avatarNeil Leeder <nleeder@codeaurora.org>
parent 6390607e
Loading
Loading
Loading
Loading
+5 −0
Original line number Diff line number Diff line
@@ -1329,6 +1329,11 @@
		/* GPIO output to wcnss */
		qcom,gpio-force-stop = <&smp2pgpio_ssr_smp2p_4_out 0 0>;
	};

	cpu-pmu {
		compatible = "arm,armv8-pmuv3";
		interrupts = <1 7 0xf00>;
	};
};

&gdsc_venus {
+1 −0
Original line number Diff line number Diff line
@@ -40,6 +40,7 @@ static char *descriptions =
	"15 msm: perf: Fix cpu id logic in tracectr notifier\n"
	"16 msm: perf: tracectr: Initialize cnts after hotplug\n"
	"17 Perf: Reset pmu after hotplug\n"
	"18 ARM: dts: msm: add perf-events support for msm8916\n"
;

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