Re: [PATCH v2] arm64: zynqmp: Add label to pmu fwnode

2024-03-12 Thread Michal Simek




On 3/7/24 16:29, lukas.funke-...@weidmueller.com wrote:

From: Lukas Funke 

ZynqMP CG series devices only have two cpus. In this
case the interrupt-affinity property has to adapted, because
cpu3 and cpu4 are missing. By adding a label to the pmu fwnode the
interrupt-affinity can be adapted in a device specific DT.

Signed-off-by: Lukas Funke 
---
  arch/arm/dts/zynqmp.dtsi | 2 +-
  1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/arch/arm/dts/zynqmp.dtsi b/arch/arm/dts/zynqmp.dtsi
index b50b83b772..457f8e394f 100644
--- a/arch/arm/dts/zynqmp.dtsi
+++ b/arch/arm/dts/zynqmp.dtsi
@@ -168,7 +168,7 @@
bootph-all;
};
  
-	pmu {

+   pmu: pmu {
compatible = "arm,armv8-pmuv3";
interrupt-parent = <>;
interrupts = ,


Applied.
M


[PATCH v2] arm64: zynqmp: Add label to pmu fwnode

2024-03-07 Thread lukas . funke-oss
From: Lukas Funke 

ZynqMP CG series devices only have two cpus. In this
case the interrupt-affinity property has to adapted, because
cpu3 and cpu4 are missing. By adding a label to the pmu fwnode the
interrupt-affinity can be adapted in a device specific DT.

Signed-off-by: Lukas Funke 
---
 arch/arm/dts/zynqmp.dtsi | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/arch/arm/dts/zynqmp.dtsi b/arch/arm/dts/zynqmp.dtsi
index b50b83b772..457f8e394f 100644
--- a/arch/arm/dts/zynqmp.dtsi
+++ b/arch/arm/dts/zynqmp.dtsi
@@ -168,7 +168,7 @@
bootph-all;
};
 
-   pmu {
+   pmu: pmu {
compatible = "arm,armv8-pmuv3";
interrupt-parent = <>;
interrupts = ,
-- 
2.30.2