ARM: dts: DRA7: Add PMU nodes
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
@@ -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
@@ -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
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.
Reviewed-by Felipe Balbi <[email protected]>Signed-off-by Lucas Weaver <[email protected]>Signed-off-by Nishanth Menon <[email protected]>---
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@@ -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@@ -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
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.
Reviewed-by Felipe Balbi <[email protected]>Signed-off-by Lucas Weaver <[email protected]>Signed-off-by Nishanth Menon <[email protected]>---
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 MenonQuoted 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@@ -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@@ -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
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.
Reviewed-by Felipe Balbi <[email protected]>Signed-off-by Lucas Weaver <[email protected]>Signed-off-by Nishanth Menon <[email protected]>---
Hi,
Gentle ping..
Quoted 7 lines
Tony,
I dont see this patch in omap-for-v3.18/dtIs 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