Skip to contentSkip to conversation

ARM: dts: exynos: Add PMU interrupt affinity to Exynos4 boards

PATCH New Krzysztof Kozlowski 1 participant 1 message Jun 14, 2019

Subsystems (2)
lore
Share & tools
lore

Krzysztof Kozlowski

author maintainer
#0 lore raw

PATCH 1/1 ARM: dts: exynos: Add PMU interrupt affinity to Exynos4 boards

Move SoC-specific PMU properties from exynos4.dtsi to respective SoC (4210 or 4412) so common DTSI would have only common properties.

Define there also interrupt affinity to remove the boot warning message:

hw perfevents: no interrupt-affinity property for /pmu, guessing.

---
 arch/arm/boot/dts/exynos4.dtsi    | 2 +-
 arch/arm/boot/dts/exynos4210.dtsi | 6 ++++++
 arch/arm/boot/dts/exynos4412.dtsi | 2 ++
 3 files changed, 9 insertions(+), 1 deletion(-)
arch/arm/boot/dts/exynos4.dtsi +1 -1
index 36ccf227434d..dde27451faa8 100644
@@ -54,7 +54,7 @@
 	pmu: pmu {
 		compatible = "arm,cortex-a9-pmu";
 		interrupt-parent = <&combiner>;
-		interrupts = <2 2>, <3 2>;
+		status = "disabled";
 	};
 
 	soc: soc {
arch/arm/boot/dts/exynos4210.dtsi +6 -0
index b491c345b2e8..ce29e026e226 100644
@@ -461,6 +461,12 @@
 		 <&clock CLK_MOUT_MIXER>, <&clock CLK_SCLK_MIXER>;
 };
 
+&pmu {
+	interrupts = <2 2>, <3 2>;
+	interrupt-affinity = <&cpu0>, <&cpu1>;
+	status = "okay";
+};
+
 &pmu_system_controller {
 	clock-names = "clkout0", "clkout1", "clkout2", "clkout3",
 			"clkout4", "clkout8", "clkout9";
arch/arm/boot/dts/exynos4412.dtsi +2 -0
index e5c041ec0756..4a58b70df125 100644
@@ -737,6 +737,8 @@
 
 &pmu {
 	interrupts = <2 2>, <3 2>, <18 2>, <19 2>;
+	interrupt-affinity = <&cpu0>, <&cpu1>, <&cpu2>, <&cpu3>;
+	status = "okay";
 };
 
 &pmu_system_controller {
Signature · 1 line
2.7.4