linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] ARM: dts: vf610: add performance monitoring unit
@ 2016-02-18  0:37 Stefan Agner
  2016-02-18 15:10 ` Shawn Guo
  0 siblings, 1 reply; 2+ messages in thread
From: Stefan Agner @ 2016-02-18  0:37 UTC (permalink / raw)
  To: linux-arm-kernel

All Freescale Vybrid SoC include a Cortex-A5 core which supports
ARM's standard PMU (performance monitoring unit). Include the
monitoring unit into the Cortex-A5 base device tree vf500.dtsi.

Signed-off-by: Stefan Agner <stefan@agner.ch>
---
 arch/arm/boot/dts/vf500.dtsi | 10 ++++++++++
 1 file changed, 10 insertions(+)

diff --git a/arch/arm/boot/dts/vf500.dtsi b/arch/arm/boot/dts/vf500.dtsi
index b94b992..9cd1ac5 100644
--- a/arch/arm/boot/dts/vf500.dtsi
+++ b/arch/arm/boot/dts/vf500.dtsi
@@ -75,6 +75,16 @@
 				clocks = <&clks VF610_CLK_PLATFORM_BUS>;
 			};
 		};
+
+		aips-bus at 40080000 {
+
+			pmu at 40089000 {
+				compatible = "arm,cortex-a5-pmu";
+				interrupts = <7 IRQ_TYPE_LEVEL_HIGH>;
+				interrupt-affinity = <&a5_cpu>;
+			};
+		};
+
 	};
 };
 
-- 
2.7.1

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

* [PATCH] ARM: dts: vf610: add performance monitoring unit
  2016-02-18  0:37 [PATCH] ARM: dts: vf610: add performance monitoring unit Stefan Agner
@ 2016-02-18 15:10 ` Shawn Guo
  0 siblings, 0 replies; 2+ messages in thread
From: Shawn Guo @ 2016-02-18 15:10 UTC (permalink / raw)
  To: linux-arm-kernel

On Wed, Feb 17, 2016 at 04:37:00PM -0800, Stefan Agner wrote:
> All Freescale Vybrid SoC include a Cortex-A5 core which supports
> ARM's standard PMU (performance monitoring unit). Include the
> monitoring unit into the Cortex-A5 base device tree vf500.dtsi.
> 
> Signed-off-by: Stefan Agner <stefan@agner.ch>
> ---
>  arch/arm/boot/dts/vf500.dtsi | 10 ++++++++++
>  1 file changed, 10 insertions(+)
> 
> diff --git a/arch/arm/boot/dts/vf500.dtsi b/arch/arm/boot/dts/vf500.dtsi
> index b94b992..9cd1ac5 100644
> --- a/arch/arm/boot/dts/vf500.dtsi
> +++ b/arch/arm/boot/dts/vf500.dtsi
> @@ -75,6 +75,16 @@
>  				clocks = <&clks VF610_CLK_PLATFORM_BUS>;
>  			};
>  		};
> +
> +		aips-bus at 40080000 {
> +

This new line is not really necessary.  I applied the patch with it
dropped.

Shawn

> +			pmu at 40089000 {
> +				compatible = "arm,cortex-a5-pmu";
> +				interrupts = <7 IRQ_TYPE_LEVEL_HIGH>;
> +				interrupt-affinity = <&a5_cpu>;
> +			};
> +		};
> +
>  	};
>  };
>  
> -- 
> 2.7.1
> 
> 

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

end of thread, other threads:[~2016-02-18 15:10 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-02-18  0:37 [PATCH] ARM: dts: vf610: add performance monitoring unit Stefan Agner
2016-02-18 15:10 ` Shawn Guo

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).