Skip to contentSkip to conversation

arm64: dts: ls1028a: add pmu dt nodes

PATCH Superseded Alison Wang 2 participants 3 messages Feb 27, 2019 – Mar 6, 2019

Subsystems (2)

v1 of 2 Superseded Latest is v2 →

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 arm64: dts: ls1028a: add pmu dt nodes

This patch adds pmu dt nodes for LS1028A.

---
 arch/arm64/boot/dts/freescale/fsl-ls1028a.dtsi |    5 +++++
 1 files changed, 5 insertions(+), 0 deletions(-)
arch/arm64/boot/dts/freescale/fsl-ls1028a.dtsi +5 -0
index a8cf92a..36ef9c5 100644
@@ -89,6 +89,11 @@
 					  IRQ_TYPE_LEVEL_LOW)>;
 	};
 
+	pmu {
+		compatible = "arm,armv8-pmuv3";
+		interrupts = <GIC_PPI 7 IRQ_TYPE_LEVEL_HIGH>;
+	};
+
 	gic: interrupt-controller@6000000 {
 		compatible= "arm,gic-v3";
 		#address-cells = <2>;
Signature · 1 line
1.7.1
#1 lore raw
Quoted 12 lines · Alison Wang

This patch adds pmu dt nodes for LS1028A.

---
 arch/arm64/boot/dts/freescale/fsl-ls1028a.dtsi |    5 +++++
 1 files changed, 5 insertions(+), 0 deletions(-)
arch/arm64/boot/dts/freescale/fsl-ls1028a.dtsi +0 -0
index a8cf92a..36ef9c5 100644

arch/arm64/boot/dts/freescale/fsl-ls1028a.dtsi line 93

Quoted 5 lines
arch/arm64/boot/dts/freescale/fsl-ls1028a.dtsi +2 -0
@@ -89,6 +89,11 @@
 					  IRQ_TYPE_LEVEL_LOW)>;
 	};
 
+	pmu {
+		compatible = "arm,armv8-pmuv3";

Shouldn't we use "arm,cortex-a72-pmu" as compatible for better?

Shawn

Quoted 9 lines
arch/arm64/boot/dts/freescale/fsl-ls1028a.dtsi +3 -0
+		interrupts = <GIC_PPI 7 IRQ_TYPE_LEVEL_HIGH>;
+	};
+
 	gic: interrupt-controller@6000000 {
 		compatible= "arm,gic-v3";
 		#address-cells = <2>;
Signature · 1 line
1.7.1
#2 lore raw

Hi, Shawn,

Quoted 17 lines · Alison Wang

Review

Quoted 8 lines

This patch adds pmu dt nodes for LS1028A.

---
 arch/arm64/boot/dts/freescale/fsl-ls1028a.dtsi |    5 +++++
 1 files changed, 5 insertions(+), 0 deletions(-)
(quoted diff) +0 -0

b/arch/arm64/boot/dts/freescale/fsl-ls1028a.dtsi

Quoted 7 lines

index a8cf92a..36ef9c5 100644

arch/arm64/boot/dts/freescale/fsl-ls1028a.dtsi +0 -0
@@ -89,6 +89,11 @@
 					  IRQ_TYPE_LEVEL_LOW)>;
 	};
 
Quoted 5 lines

arch/arm64/boot/dts/freescale/fsl-ls1028a.dtsi line 93

Quoted 2 lines
arch/arm64/boot/dts/freescale/fsl-ls1028a.dtsi +2 -0
+	pmu {
+		compatible = "arm,armv8-pmuv3";

Shouldn't we use "arm,cortex-a72-pmu" as compatible for better?

[Alison] Yes, it is better as compatible. I will change it in v2. Thanks.

Best Regards,
Alison Wang

Quoted 11 lines

Shawn

Quoted 9 lines
arch/arm64/boot/dts/freescale/fsl-ls1028a.dtsi +3 -1
+		interrupts = <GIC_PPI 7 IRQ_TYPE_LEVEL_HIGH>;
+	};
+
 	gic: interrupt-controller@6000000 {
 		compatible= "arm,gic-v3";
 		#address-cells = <2>;
--

1.7.1