Skip to contentSkip to conversation

ARM: dts: DRA7: Add PMU nodes

PATCH In review Nishanth Menon 2 participants 4 messages Aug 19, 2014 – Sep 18, 2014 Device tree bindings

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 ARM: dts: DRA7: Add PMU nodes

From: Lucas Weaver <[email protected]>

DRA74x and DRA72x family of processors vary slightly in the number of CPUs. So, add different instances of PMU for each of these processor groups. Further, since the interrupts bypass crossbar and are directly connected to GIC, mark the dts nodes with relevant information.

Tested with perf utility.

---
 arch/arm/boot/dts/dra72x.dtsi |    5 +++++
 arch/arm/boot/dts/dra74x.dtsi |    6 ++++++
 2 files changed, 11 insertions(+)
arch/arm/boot/dts/dra72x.dtsi +5 -0
index f1ec22f..e5a3d23 100644
@@ -22,4 +22,9 @@
 			reg = <0>;
 		};
 	};
+
+	pmu {
+		compatible = "arm,cortex-a15-pmu";
+		interrupts = <GIC_SPI DIRECT_IRQ(131) IRQ_TYPE_LEVEL_HIGH>;
+	};
 };
arch/arm/boot/dts/dra74x.dtsi +6 -0
index a4e8bb9..3be544c 100644
@@ -38,4 +38,10 @@
 			reg = <1>;
 		};
 	};
+
+	pmu {
+		compatible = "arm,cortex-a15-pmu";
+		interrupts = <GIC_SPI DIRECT_IRQ(131) IRQ_TYPE_LEVEL_HIGH>,
+			     <GIC_SPI DIRECT_IRQ(132) IRQ_TYPE_LEVEL_HIGH>;
+	};
 };
Signature · 1 line
1.7.9.5
#1 lore raw
Quoted 7 lines · Nishanth Menon

From: Lucas Weaver <[email protected]>

DRA74x and DRA72x family of processors vary slightly in the number of CPUs. So, add different instances of PMU for each of these processor groups. Further, since the interrupts bypass crossbar and are directly connected to GIC, mark the dts nodes with relevant information.

Quoted 6 lines

Tested with perf utility.

---

Hi,
Gentle ping..

Regards,
Nishanth Menon

Quoted 34 lines
 arch/arm/boot/dts/dra72x.dtsi |    5 +++++
 arch/arm/boot/dts/dra74x.dtsi |    6 ++++++
 2 files changed, 11 insertions(+)
arch/arm/boot/dts/dra72x.dtsi +5 -0
index f1ec22f..e5a3d23 100644
@@ -22,4 +22,9 @@
 			reg = <0>;
 		};
 	};
+
+	pmu {
+		compatible = "arm,cortex-a15-pmu";
+		interrupts = <GIC_SPI DIRECT_IRQ(131) IRQ_TYPE_LEVEL_HIGH>;
+	};
 };
arch/arm/boot/dts/dra74x.dtsi +6 -0
index a4e8bb9..3be544c 100644
@@ -38,4 +38,10 @@
 			reg = <1>;
 		};
 	};
+
+	pmu {
+		compatible = "arm,cortex-a15-pmu";
+		interrupts = <GIC_SPI DIRECT_IRQ(131) IRQ_TYPE_LEVEL_HIGH>,
+			     <GIC_SPI DIRECT_IRQ(132) IRQ_TYPE_LEVEL_HIGH>;
+	};
 };
Signature · 2 lines
Regards,
Nishanth Menon
#2 lore raw
Quoted 8 lines · Nishanth Menon
Quoted 7 lines · Nishanth Menon

From: Lucas Weaver <[email protected]>

DRA74x and DRA72x family of processors vary slightly in the number of CPUs. So, add different instances of PMU for each of these processor groups. Further, since the interrupts bypass crossbar and are directly connected to GIC, mark the dts nodes with relevant information.

Quoted 8 lines
Quoted 6 lines

Tested with perf utility.

---

Hi,
Gentle ping..

Tony,
I dont see this patch in omap-for-v3.18/dt

Is there anyway you might consider pulling this for 3.18?

Patchworks link:
https://patchwork.kernel.org/patch/4743121/

Quoted 46 lines

Regards,
Nishanth Menon

Quoted 34 lines
 arch/arm/boot/dts/dra72x.dtsi |    5 +++++
 arch/arm/boot/dts/dra74x.dtsi |    6 ++++++
 2 files changed, 11 insertions(+)
arch/arm/boot/dts/dra72x.dtsi +5 -0
index f1ec22f..e5a3d23 100644
@@ -22,4 +22,9 @@
 			reg = <0>;
 		};
 	};
+
+	pmu {
+		compatible = "arm,cortex-a15-pmu";
+		interrupts = <GIC_SPI DIRECT_IRQ(131) IRQ_TYPE_LEVEL_HIGH>;
+	};
 };
arch/arm/boot/dts/dra74x.dtsi +6 -0
index a4e8bb9..3be544c 100644
@@ -38,4 +38,10 @@
 			reg = <1>;
 		};
 	};
+
+	pmu {
+		compatible = "arm,cortex-a15-pmu";
+		interrupts = <GIC_SPI DIRECT_IRQ(131) IRQ_TYPE_LEVEL_HIGH>,
+			     <GIC_SPI DIRECT_IRQ(132) IRQ_TYPE_LEVEL_HIGH>;
+	};
 };
Signature · 6 lines
Regards,
Nishanth Menon
--
To unsubscribe from this list: send the line "unsubscribe linux-omap" in
the body of a message to majordomo at vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Signature · 2 lines
Regards,
Nishanth Menon
#3 lore raw
Quoted 18 lines · Nishanth Menon
Quoted 8 lines · Nishanth Menon
Quoted 7 lines · Nishanth Menon

From: Lucas Weaver <[email protected]>

DRA74x and DRA72x family of processors vary slightly in the number of CPUs. So, add different instances of PMU for each of these processor groups. Further, since the interrupts bypass crossbar and are directly connected to GIC, mark the dts nodes with relevant information.

Quoted 8 lines
Quoted 6 lines

Tested with perf utility.

---

Hi,
Gentle ping..

Quoted 7 lines

Tony,
I dont see this patch in omap-for-v3.18/dt

Is there anyway you might consider pulling this for 3.18?

Patchworks link:
https://patchwork.kernel.org/patch/4743121/

Thanks applying into omap-for-v3.18/dt.

Tony