* [PATCH] arm64: dts: allwinner: a64: Add PMU node
@ 2018-12-19 15:40 Harald Geyer
2018-12-19 15:47 ` Maxime Ripard
0 siblings, 1 reply; 2+ messages in thread
From: Harald Geyer @ 2018-12-19 15:40 UTC (permalink / raw)
To: Maxime Ripard, Chen-Yu Tsai
Cc: Mark Rutland, devicetree, Harald Geyer, linux-arm-kernel,
Rob Herring
This is necessary to use 'perf' for cache profiling etc.
Tested on Teres I Laptop.
Signed-off-by: Harald Geyer <harald@ccbib.org>
---
arch/arm64/boot/dts/allwinner/sun50i-a64.dtsi | 9 +++++++++
1 file changed, 9 insertions(+)
diff --git a/arch/arm64/boot/dts/allwinner/sun50i-a64.dtsi b/arch/arm64/boot/dts/allwinner/sun50i-a64.dtsi
index 837a03dee875..bf9b719481c4 100644
--- a/arch/arm64/boot/dts/allwinner/sun50i-a64.dtsi
+++ b/arch/arm64/boot/dts/allwinner/sun50i-a64.dtsi
@@ -142,6 +142,15 @@
clock-output-names = "ext-osc32k";
};
+ pmu {
+ compatible = "arm,cortex-a53-pmu";
+ interrupts = <GIC_SPI 152 IRQ_TYPE_LEVEL_HIGH>,
+ <GIC_SPI 153 IRQ_TYPE_LEVEL_HIGH>,
+ <GIC_SPI 154 IRQ_TYPE_LEVEL_HIGH>,
+ <GIC_SPI 155 IRQ_TYPE_LEVEL_HIGH>;
+ interrupt-affinity = <&cpu0>, <&cpu1>, <&cpu2>, <&cpu3>;
+ };
+
psci {
compatible = "arm,psci-0.2";
method = "smc";
--
2.11.0
_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
^ permalink raw reply related [flat|nested] 2+ messages in thread* Re: [PATCH] arm64: dts: allwinner: a64: Add PMU node
2018-12-19 15:40 [PATCH] arm64: dts: allwinner: a64: Add PMU node Harald Geyer
@ 2018-12-19 15:47 ` Maxime Ripard
0 siblings, 0 replies; 2+ messages in thread
From: Maxime Ripard @ 2018-12-19 15:47 UTC (permalink / raw)
To: Harald Geyer
Cc: Mark Rutland, devicetree, Chen-Yu Tsai, linux-arm-kernel,
Rob Herring
[-- Attachment #1.1: Type: text/plain, Size: 333 bytes --]
On Wed, Dec 19, 2018 at 03:40:17PM +0000, Harald Geyer wrote:
> This is necessary to use 'perf' for cache profiling etc.
> Tested on Teres I Laptop.
>
> Signed-off-by: Harald Geyer <harald@ccbib.org>
QUeued for 4.22, thanks!
Maxime
--
Maxime Ripard, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com
[-- Attachment #1.2: signature.asc --]
[-- Type: application/pgp-signature, Size: 228 bytes --]
[-- Attachment #2: Type: text/plain, Size: 176 bytes --]
_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2018-12-19 15:47 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-12-19 15:40 [PATCH] arm64: dts: allwinner: a64: Add PMU node Harald Geyer
2018-12-19 15:47 ` Maxime Ripard
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox