2013-07-24 03:59:04

by Magnus Damm

[permalink] [raw]
Subject: [PATCH] ARM: shmobile: r8a7740: add PMU information to r8a7740.dtsi

From: Magnus Damm <[email protected]>

Add PMU information to r8a7740.dtsi. With this
included Armadillo800eva DT reference may use the PMU.

Signed-off-by: Magnus Damm <[email protected]>
---

Dry coded based on data sheet, not runtime tested.

arch/arm/boot/dts/r8a7740.dtsi | 5 +++++
1 file changed, 5 insertions(+)

--- 0001/arch/arm/boot/dts/r8a7740.dtsi
+++ work/arch/arm/boot/dts/r8a7740.dtsi 2013-07-24 04:20:42.000000000 +0900
@@ -32,6 +32,11 @@
<0xc2000000 0x1000>;
};

+ pmu {
+ compatible = "arm,cortex-a9-pmu";
+ interrupts = <0 83 4>;
+ };
+
/* irqpin0: IRQ0 - IRQ7 */
irqpin0: irqpin@e6900000 {
compatible = "renesas,intc-irqpin";


2013-07-31 06:39:24

by Simon Horman

[permalink] [raw]
Subject: Re: [PATCH] ARM: shmobile: r8a7740: add PMU information to r8a7740.dtsi

On Wed, Jul 24, 2013 at 12:59:09PM +0900, Magnus Damm wrote:
> From: Magnus Damm <[email protected]>
>
> Add PMU information to r8a7740.dtsi. With this
> included Armadillo800eva DT reference may use the PMU.
>
> Signed-off-by: Magnus Damm <[email protected]>

Thanks, I will queue this up for v3.12 in the dt2 branch.

> ---
>
> Dry coded based on data sheet, not runtime tested.
>
> arch/arm/boot/dts/r8a7740.dtsi | 5 +++++
> 1 file changed, 5 insertions(+)
>
> --- 0001/arch/arm/boot/dts/r8a7740.dtsi
> +++ work/arch/arm/boot/dts/r8a7740.dtsi 2013-07-24 04:20:42.000000000 +0900
> @@ -32,6 +32,11 @@
> <0xc2000000 0x1000>;
> };
>
> + pmu {
> + compatible = "arm,cortex-a9-pmu";
> + interrupts = <0 83 4>;
> + };
> +
> /* irqpin0: IRQ0 - IRQ7 */
> irqpin0: irqpin@e6900000 {
> compatible = "renesas,intc-irqpin";
>