]> git.proxmox.com Git - mirror_ubuntu-disco-kernel.git/commitdiff
arm64: dts: qcom: Add pmu node to sdm845
authorStephen Boyd <swboyd@chromium.org>
Tue, 22 May 2018 06:23:52 +0000 (23:23 -0700)
committerAndy Gross <andy.gross@linaro.org>
Sat, 21 Jul 2018 05:56:28 +0000 (00:56 -0500)
Add the CPU PMU on sdm845 to get perf support for hardware events.

Signed-off-by: Stephen Boyd <swboyd@chromium.org>
Reviewed-by: Bjorn Andersson <bjorn.andersson@linaro.org>
Signed-off-by: Andy Gross <andy.gross@linaro.org>
arch/arm64/boot/dts/qcom/sdm845.dtsi

index cdaabeb3c9950ec69cd62322bd487f7530d7edec..9f4c1f5484bd89c07209d14c86b3fe3b1aa89d32 100644 (file)
                };
        };
 
+       pmu {
+               compatible = "arm,armv8-pmuv3";
+               interrupts = <GIC_PPI 5 IRQ_TYPE_LEVEL_HIGH>;
+       };
+
        timer {
                compatible = "arm,armv8-timer";
                interrupts = <GIC_PPI 1 IRQ_TYPE_LEVEL_LOW>,