diff mbox

ARM: dts: DRA7: Add PMU nodes

Message ID 1408456440-30171-1-git-send-email-nm@ti.com (mailing list archive)
State New, archived
Headers show

Commit Message

Nishanth Menon Aug. 19, 2014, 1:54 p.m. UTC
From: Lucas Weaver <l-weaver@ti.com>

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.

Reviewed-by: Felipe Balbi <balbi@ti.com>
Signed-off-by: Lucas Weaver <l-weaver@ti.com>
Signed-off-by: Nishanth Menon <nm@ti.com>
---
 arch/arm/boot/dts/dra72x.dtsi |    5 +++++
 arch/arm/boot/dts/dra74x.dtsi |    6 ++++++
 2 files changed, 11 insertions(+)

Comments

Nishanth Menon Sept. 3, 2014, 1:39 p.m. UTC | #1
On 08/19/2014 08:54 AM, Nishanth Menon wrote:
> From: Lucas Weaver <l-weaver@ti.com>
> 
> 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.
> 
> Reviewed-by: Felipe Balbi <balbi@ti.com>
> Signed-off-by: Lucas Weaver <l-weaver@ti.com>
> Signed-off-by: Nishanth Menon <nm@ti.com>
> ---
Hi,
Gentle ping..

Regards,
Nishanth Menon
>  arch/arm/boot/dts/dra72x.dtsi |    5 +++++
>  arch/arm/boot/dts/dra74x.dtsi |    6 ++++++
>  2 files changed, 11 insertions(+)
> 
> diff --git a/arch/arm/boot/dts/dra72x.dtsi b/arch/arm/boot/dts/dra72x.dtsi
> index f1ec22f..e5a3d23 100644
> --- a/arch/arm/boot/dts/dra72x.dtsi
> +++ b/arch/arm/boot/dts/dra72x.dtsi
> @@ -22,4 +22,9 @@
>  			reg = <0>;
>  		};
>  	};
> +
> +	pmu {
> +		compatible = "arm,cortex-a15-pmu";
> +		interrupts = <GIC_SPI DIRECT_IRQ(131) IRQ_TYPE_LEVEL_HIGH>;
> +	};
>  };
> diff --git a/arch/arm/boot/dts/dra74x.dtsi b/arch/arm/boot/dts/dra74x.dtsi
> index a4e8bb9..3be544c 100644
> --- a/arch/arm/boot/dts/dra74x.dtsi
> +++ b/arch/arm/boot/dts/dra74x.dtsi
> @@ -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>;
> +	};
>  };
>
Nishanth Menon Sept. 17, 2014, 2:25 p.m. UTC | #2
On 08:39-20140903, Nishanth Menon wrote:
> On 08/19/2014 08:54 AM, Nishanth Menon wrote:
> > From: Lucas Weaver <l-weaver@ti.com>
> > 
> > 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.
> > 
> > Reviewed-by: Felipe Balbi <balbi@ti.com>
> > Signed-off-by: Lucas Weaver <l-weaver@ti.com>
> > Signed-off-by: Nishanth Menon <nm@ti.com>
> > ---
> 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/

> 
> Regards,
> Nishanth Menon
> >  arch/arm/boot/dts/dra72x.dtsi |    5 +++++
> >  arch/arm/boot/dts/dra74x.dtsi |    6 ++++++
> >  2 files changed, 11 insertions(+)
> > 
> > diff --git a/arch/arm/boot/dts/dra72x.dtsi b/arch/arm/boot/dts/dra72x.dtsi
> > index f1ec22f..e5a3d23 100644
> > --- a/arch/arm/boot/dts/dra72x.dtsi
> > +++ b/arch/arm/boot/dts/dra72x.dtsi
> > @@ -22,4 +22,9 @@
> >  			reg = <0>;
> >  		};
> >  	};
> > +
> > +	pmu {
> > +		compatible = "arm,cortex-a15-pmu";
> > +		interrupts = <GIC_SPI DIRECT_IRQ(131) IRQ_TYPE_LEVEL_HIGH>;
> > +	};
> >  };
> > diff --git a/arch/arm/boot/dts/dra74x.dtsi b/arch/arm/boot/dts/dra74x.dtsi
> > index a4e8bb9..3be544c 100644
> > --- a/arch/arm/boot/dts/dra74x.dtsi
> > +++ b/arch/arm/boot/dts/dra74x.dtsi
> > @@ -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>;
> > +	};
> >  };
> > 
> 
> 
> -- 
> Regards,
> Nishanth Menon
> --
> To unsubscribe from this list: send the line "unsubscribe linux-omap" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
Tony Lindgren Sept. 18, 2014, 4:58 p.m. UTC | #3
* Nishanth Menon <nm@ti.com> [140917 07:26]:
> On 08:39-20140903, Nishanth Menon wrote:
> > On 08/19/2014 08:54 AM, Nishanth Menon wrote:
> > > From: Lucas Weaver <l-weaver@ti.com>
> > > 
> > > 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.
> > > 
> > > Reviewed-by: Felipe Balbi <balbi@ti.com>
> > > Signed-off-by: Lucas Weaver <l-weaver@ti.com>
> > > Signed-off-by: Nishanth Menon <nm@ti.com>
> > > ---
> > 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/

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

Tony
--
To unsubscribe from this list: send the line "unsubscribe linux-omap" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
diff mbox

Patch

diff --git a/arch/arm/boot/dts/dra72x.dtsi b/arch/arm/boot/dts/dra72x.dtsi
index f1ec22f..e5a3d23 100644
--- a/arch/arm/boot/dts/dra72x.dtsi
+++ b/arch/arm/boot/dts/dra72x.dtsi
@@ -22,4 +22,9 @@ 
 			reg = <0>;
 		};
 	};
+
+	pmu {
+		compatible = "arm,cortex-a15-pmu";
+		interrupts = <GIC_SPI DIRECT_IRQ(131) IRQ_TYPE_LEVEL_HIGH>;
+	};
 };
diff --git a/arch/arm/boot/dts/dra74x.dtsi b/arch/arm/boot/dts/dra74x.dtsi
index a4e8bb9..3be544c 100644
--- a/arch/arm/boot/dts/dra74x.dtsi
+++ b/arch/arm/boot/dts/dra74x.dtsi
@@ -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>;
+	};
 };