All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 1/2] ARM: sun7i: Add ARM PMU in A20 DTSI
@ 2014-04-18 18:52 Maxime Ripard
  2014-04-18 18:52 ` [PATCH 2/2] ARM: sun6i: Add ARM PMU in A31 DTSI Maxime Ripard
  2014-04-26 18:23 ` [linux-sunxi] [PATCH 1/2] ARM: sun7i: Add ARM PMU in A20 DTSI Hans de Goede
  0 siblings, 2 replies; 5+ messages in thread
From: Maxime Ripard @ 2014-04-18 18:52 UTC (permalink / raw)
  To: linux-arm-kernel

Enable the performance monitoring unit found in the A20 SoCs.

Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
---
 arch/arm/boot/dts/sun7i-a20.dtsi | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/arch/arm/boot/dts/sun7i-a20.dtsi b/arch/arm/boot/dts/sun7i-a20.dtsi
index 899fd0e2b749..cc0d37fe5ae1 100644
--- a/arch/arm/boot/dts/sun7i-a20.dtsi
+++ b/arch/arm/boot/dts/sun7i-a20.dtsi
@@ -57,6 +57,12 @@
 			     <1 10 0xf08>;
 	};
 
+	pmu {
+		compatible = "arm,cortex-a7-pmu", "arm,cortex-a15-pmu";
+		interrupts = <0 120 4>,
+			     <0 121 4>;
+	};
+
 	clocks {
 		#address-cells = <1>;
 		#size-cells = <1>;
-- 
1.9.1

^ permalink raw reply related	[flat|nested] 5+ messages in thread

* [PATCH 2/2] ARM: sun6i: Add ARM PMU in A31 DTSI
  2014-04-18 18:52 [PATCH 1/2] ARM: sun7i: Add ARM PMU in A20 DTSI Maxime Ripard
@ 2014-04-18 18:52 ` Maxime Ripard
  2014-04-20  3:15   ` [linux-sunxi] " Julian Calaby
  2014-04-26 18:23 ` [linux-sunxi] [PATCH 1/2] ARM: sun7i: Add ARM PMU in A20 DTSI Hans de Goede
  1 sibling, 1 reply; 5+ messages in thread
From: Maxime Ripard @ 2014-04-18 18:52 UTC (permalink / raw)
  To: linux-arm-kernel

Enable the performance monitoring unit found in the A20 SoCs.

Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
---
 arch/arm/boot/dts/sun6i-a31.dtsi | 8 ++++++++
 1 file changed, 8 insertions(+)

diff --git a/arch/arm/boot/dts/sun6i-a31.dtsi b/arch/arm/boot/dts/sun6i-a31.dtsi
index bc46814d2ff0..4b0f1231efc4 100644
--- a/arch/arm/boot/dts/sun6i-a31.dtsi
+++ b/arch/arm/boot/dts/sun6i-a31.dtsi
@@ -59,6 +59,14 @@
 		reg = <0x40000000 0x80000000>;
 	};
 
+	pmu {
+		compatible = "arm,cortex-a7-pmu", "arm,cortex-a15-pmu";
+		interrupts = <0 120 4>,
+			     <0 121 4>,
+			     <0 122 4>,
+			     <0 123 4>;
+	};
+
 	clocks {
 		#address-cells = <1>;
 		#size-cells = <1>;
-- 
1.9.1

^ permalink raw reply related	[flat|nested] 5+ messages in thread

* [linux-sunxi] [PATCH 2/2] ARM: sun6i: Add ARM PMU in A31 DTSI
  2014-04-18 18:52 ` [PATCH 2/2] ARM: sun6i: Add ARM PMU in A31 DTSI Maxime Ripard
@ 2014-04-20  3:15   ` Julian Calaby
  2014-04-26 15:38     ` Maxime Ripard
  0 siblings, 1 reply; 5+ messages in thread
From: Julian Calaby @ 2014-04-20  3:15 UTC (permalink / raw)
  To: linux-arm-kernel

Hi Maxime

On Sat, Apr 19, 2014 at 4:52 AM, Maxime Ripard
<maxime.ripard@free-electrons.com> wrote:
> Enable the performance monitoring unit found in the A20 SoCs.

Don't you mean A_31_?

> Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
> ---
>  arch/arm/boot/dts/sun6i-a31.dtsi | 8 ++++++++
>  1 file changed, 8 insertions(+)
>
> diff --git a/arch/arm/boot/dts/sun6i-a31.dtsi b/arch/arm/boot/dts/sun6i-a31.dtsi
> index bc46814d2ff0..4b0f1231efc4 100644
> --- a/arch/arm/boot/dts/sun6i-a31.dtsi
> +++ b/arch/arm/boot/dts/sun6i-a31.dtsi
> @@ -59,6 +59,14 @@
>                 reg = <0x40000000 0x80000000>;
>         };
>
> +       pmu {
> +               compatible = "arm,cortex-a7-pmu", "arm,cortex-a15-pmu";
> +               interrupts = <0 120 4>,
> +                            <0 121 4>,
> +                            <0 122 4>,
> +                            <0 123 4>;
> +       };
> +
>         clocks {
>                 #address-cells = <1>;
>                 #size-cells = <1>;
> --
> 1.9.1
>
> --
> You received this message because you are subscribed to the Google Groups "linux-sunxi" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to linux-sunxi+unsubscribe at googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.



-- 
Julian Calaby

Email: julian.calaby at gmail.com
Profile: http://www.google.com/profiles/julian.calaby/
.Plan: http://sites.google.com/site/juliancalaby/

^ permalink raw reply	[flat|nested] 5+ messages in thread

* [linux-sunxi] [PATCH 2/2] ARM: sun6i: Add ARM PMU in A31 DTSI
  2014-04-20  3:15   ` [linux-sunxi] " Julian Calaby
@ 2014-04-26 15:38     ` Maxime Ripard
  0 siblings, 0 replies; 5+ messages in thread
From: Maxime Ripard @ 2014-04-26 15:38 UTC (permalink / raw)
  To: linux-arm-kernel

On Sun, Apr 20, 2014 at 01:15:34PM +1000, Julian Calaby wrote:
> Hi Maxime
> 
> On Sat, Apr 19, 2014 at 4:52 AM, Maxime Ripard
> <maxime.ripard@free-electrons.com> wrote:
> > Enable the performance monitoring unit found in the A20 SoCs.
> 
> Don't you mean A_31_?

Right. Applied the two patches, with this fix.

Thanks!
Maxime

-- 
Maxime Ripard, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20140426/d6caca79/attachment.sig>

^ permalink raw reply	[flat|nested] 5+ messages in thread

* [linux-sunxi] [PATCH 1/2] ARM: sun7i: Add ARM PMU in A20 DTSI
  2014-04-18 18:52 [PATCH 1/2] ARM: sun7i: Add ARM PMU in A20 DTSI Maxime Ripard
  2014-04-18 18:52 ` [PATCH 2/2] ARM: sun6i: Add ARM PMU in A31 DTSI Maxime Ripard
@ 2014-04-26 18:23 ` Hans de Goede
  1 sibling, 0 replies; 5+ messages in thread
From: Hans de Goede @ 2014-04-26 18:23 UTC (permalink / raw)
  To: linux-arm-kernel

Hi,

On 04/18/2014 08:52 PM, Maxime Ripard wrote:
> Enable the performance monitoring unit found in the A20 SoCs.
> 
> Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>

Both patches look good and are:

Reviewed-by: Hans de Goede <hdegoede@redhat.com>

Regards,

Hans

> ---
>  arch/arm/boot/dts/sun7i-a20.dtsi | 6 ++++++
>  1 file changed, 6 insertions(+)
> 
> diff --git a/arch/arm/boot/dts/sun7i-a20.dtsi b/arch/arm/boot/dts/sun7i-a20.dtsi
> index 899fd0e2b749..cc0d37fe5ae1 100644
> --- a/arch/arm/boot/dts/sun7i-a20.dtsi
> +++ b/arch/arm/boot/dts/sun7i-a20.dtsi
> @@ -57,6 +57,12 @@
>  			     <1 10 0xf08>;
>  	};
>  
> +	pmu {
> +		compatible = "arm,cortex-a7-pmu", "arm,cortex-a15-pmu";
> +		interrupts = <0 120 4>,
> +			     <0 121 4>;
> +	};
> +
>  	clocks {
>  		#address-cells = <1>;
>  		#size-cells = <1>;
> 

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2014-04-26 18:23 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-04-18 18:52 [PATCH 1/2] ARM: sun7i: Add ARM PMU in A20 DTSI Maxime Ripard
2014-04-18 18:52 ` [PATCH 2/2] ARM: sun6i: Add ARM PMU in A31 DTSI Maxime Ripard
2014-04-20  3:15   ` [linux-sunxi] " Julian Calaby
2014-04-26 15:38     ` Maxime Ripard
2014-04-26 18:23 ` [linux-sunxi] [PATCH 1/2] ARM: sun7i: Add ARM PMU in A20 DTSI Hans de Goede

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.