Re: [PATCH] arm64: dts: qcom: Add pmu node to sdm845

From: Bjorn Andersson
Date: Fri Jun 22 2018 - 12:56:44 EST


On Mon 21 May 23:23 PDT 2018, Stephen Boyd wrote:

> Add the CPU PMU on sdm845 to get perf support for hardware events.
>
> Signed-off-by: Stephen Boyd <swboyd@xxxxxxxxxxxx>

Reviewed-by: Bjorn Andersson <bjorn.andersson@xxxxxxxxxx>

Regards,
Bjorn

> ---
> arch/arm64/boot/dts/qcom/sdm845.dtsi | 5 +++++
> 1 file changed, 5 insertions(+)
>
> diff --git a/arch/arm64/boot/dts/qcom/sdm845.dtsi b/arch/arm64/boot/dts/qcom/sdm845.dtsi
> index 7c85e7c596db..93a62c2be86c 100644
> --- a/arch/arm64/boot/dts/qcom/sdm845.dtsi
> +++ b/arch/arm64/boot/dts/qcom/sdm845.dtsi
> @@ -152,6 +152,11 @@
> };
> };
>
> + 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>,
> --
> Sent by a computer through tubes
>