Message ID | 20230519210903.117030-3-matti.lehtimaki@gmail.com (mailing list archive) |
---|---|
State | Superseded |
Headers | show |
Series | PMU, rpm-stats and IMEM for MSM8226 | expand |
On 19.05.2023 23:08, Matti Lehtimäki wrote: > Enable perf events on MSM8226 devices by adding the PMU node. > > Signed-off-by: Matti Lehtimäki <matti.lehtimaki@gmail.com> > --- > arch/arm/boot/dts/qcom-msm8226.dtsi | 5 +++++ > 1 file changed, 5 insertions(+) > > diff --git a/arch/arm/boot/dts/qcom-msm8226.dtsi b/arch/arm/boot/dts/qcom-msm8226.dtsi > index 42acb9ddb8cc..e272a1e15b44 100644 > --- a/arch/arm/boot/dts/qcom-msm8226.dtsi > +++ b/arch/arm/boot/dts/qcom-msm8226.dtsi > @@ -47,6 +47,11 @@ scm { > }; > }; > > + pmu { > + compatible = "arm,cortex-a7-pmu"; > + interrupts = <GIC_PPI 7 0xf04>; GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_LEVEL_HIGH Konrad > + }; > + > reserved-memory { > #address-cells = <1>; > #size-cells = <1>;
diff --git a/arch/arm/boot/dts/qcom-msm8226.dtsi b/arch/arm/boot/dts/qcom-msm8226.dtsi index 42acb9ddb8cc..e272a1e15b44 100644 --- a/arch/arm/boot/dts/qcom-msm8226.dtsi +++ b/arch/arm/boot/dts/qcom-msm8226.dtsi @@ -47,6 +47,11 @@ scm { }; }; + pmu { + compatible = "arm,cortex-a7-pmu"; + interrupts = <GIC_PPI 7 0xf04>; + }; + reserved-memory { #address-cells = <1>; #size-cells = <1>;
Enable perf events on MSM8226 devices by adding the PMU node. Signed-off-by: Matti Lehtimäki <matti.lehtimaki@gmail.com> --- arch/arm/boot/dts/qcom-msm8226.dtsi | 5 +++++ 1 file changed, 5 insertions(+)