All of lore.kernel.org
 help / color / mirror / Atom feed
From: Tushar Behera <tushar.behera@linaro.org>
To: Chanho Park <chanho61.park@samsung.com>, kgene.kim@samsung.com
Cc: linux-samsung-soc@vger.kernel.org, thomas.abraham@linaro.org,
	linux-arm-kernel@lists.infradead.org,
	Kyungmin Park <kyungmin.park@samsung.com>
Subject: Re: [PATCH-RESEND] ARM: dts: Add arm-pmu node for exynos4412
Date: Tue, 29 Apr 2014 11:37:45 +0530	[thread overview]
Message-ID: <535F41B1.70404@linaro.org> (raw)
In-Reply-To: <1376044914-1759-1-git-send-email-chanho61.park@samsung.com>

On 08/09/2013 04:11 PM, Chanho Park wrote:
> The Exynos4412 has 4 cpus and each has a performance counter.
> Thus, we should define 4 interrupts which are combined by irq-combiner for arm
> pmu.
> 
> Signed-off-by: Chanho Park <chanho61.park@samsung.com>
> Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
> ---
>  arch/arm/boot/dts/exynos4412.dtsi |    6 ++++++
>  1 file changed, 6 insertions(+)
> 
> diff --git a/arch/arm/boot/dts/exynos4412.dtsi b/arch/arm/boot/dts/exynos4412.dtsi
> index e743e67..cfad655 100644
> --- a/arch/arm/boot/dts/exynos4412.dtsi
> +++ b/arch/arm/boot/dts/exynos4412.dtsi
> @@ -35,6 +35,12 @@
>  			     <0 107 0>, <0 108 0>, <0 48 0>, <0 42 0>;
>  	};
>  
> +	pmu {
> +		compatible = "arm,cortex-a9-pmu";
> +		interrupt-parent = <&combiner>;
> +		interrupts = <2 2>, <3 2>, <18 2>, <19 2>;
> +	};
> +
>  	mct@10050000 {
>  		compatible = "samsung,exynos4412-mct";
>  		reg = <0x10050000 0x800>;
> 

Tested on Exynos4412 based Origen-Quad board. You would required to
rebase it on latest code though.

Tested-by: Tushar Behera <tushar.behera@linaro.org>

-- 
Tushar Behera

WARNING: multiple messages have this Message-ID (diff)
From: tushar.behera@linaro.org (Tushar Behera)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH-RESEND] ARM: dts: Add arm-pmu node for exynos4412
Date: Tue, 29 Apr 2014 11:37:45 +0530	[thread overview]
Message-ID: <535F41B1.70404@linaro.org> (raw)
In-Reply-To: <1376044914-1759-1-git-send-email-chanho61.park@samsung.com>

On 08/09/2013 04:11 PM, Chanho Park wrote:
> The Exynos4412 has 4 cpus and each has a performance counter.
> Thus, we should define 4 interrupts which are combined by irq-combiner for arm
> pmu.
> 
> Signed-off-by: Chanho Park <chanho61.park@samsung.com>
> Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
> ---
>  arch/arm/boot/dts/exynos4412.dtsi |    6 ++++++
>  1 file changed, 6 insertions(+)
> 
> diff --git a/arch/arm/boot/dts/exynos4412.dtsi b/arch/arm/boot/dts/exynos4412.dtsi
> index e743e67..cfad655 100644
> --- a/arch/arm/boot/dts/exynos4412.dtsi
> +++ b/arch/arm/boot/dts/exynos4412.dtsi
> @@ -35,6 +35,12 @@
>  			     <0 107 0>, <0 108 0>, <0 48 0>, <0 42 0>;
>  	};
>  
> +	pmu {
> +		compatible = "arm,cortex-a9-pmu";
> +		interrupt-parent = <&combiner>;
> +		interrupts = <2 2>, <3 2>, <18 2>, <19 2>;
> +	};
> +
>  	mct at 10050000 {
>  		compatible = "samsung,exynos4412-mct";
>  		reg = <0x10050000 0x800>;
> 

Tested on Exynos4412 based Origen-Quad board. You would required to
rebase it on latest code though.

Tested-by: Tushar Behera <tushar.behera@linaro.org>

-- 
Tushar Behera

  reply	other threads:[~2014-04-29  6:07 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-08-09 10:41 [PATCH-RESEND] ARM: dts: Add arm-pmu node for exynos4412 Chanho Park
2013-08-09 10:41 ` Chanho Park
2014-04-29  6:07 ` Tushar Behera [this message]
2014-04-29  6:07   ` Tushar Behera
2014-04-29  6:56   ` Chanho Park
2014-04-29  6:56     ` Chanho Park
2014-04-29  8:03     ` Tushar Behera
2014-04-29  8:03       ` Tushar Behera

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=535F41B1.70404@linaro.org \
    --to=tushar.behera@linaro.org \
    --cc=chanho61.park@samsung.com \
    --cc=kgene.kim@samsung.com \
    --cc=kyungmin.park@samsung.com \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=linux-samsung-soc@vger.kernel.org \
    --cc=thomas.abraham@linaro.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.