public inbox for linux-arm-kernel@lists.infradead.org
 help / color / mirror / Atom feed
From: t.figa@samsung.com (Tomasz Figa)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH] ARM: DT: Exynos5250: fix number of interrupt-cells in mct node
Date: Wed, 28 Aug 2013 13:18:33 +0200	[thread overview]
Message-ID: <6294395.8UjbZM2KH4@amdc1227> (raw)
In-Reply-To: <1377687641-15376-1-git-send-email-chander.kashyap@linaro.org>

Hi Chander,

On Wednesday 28 of August 2013 16:30:41 Chander Kashyap wrote:
> Two cells were used to specify interrupts in mct node, while second cell
> always remains unused. Hence use only one cell.
> Suggested by Tomasz Figa.
> 
> Signed-off-by: Chander Kashyap <chander.kashyap@linaro.org>
> ---
> changes in v2:
> 	- Drop Changes for Exynos4 as done in separate patch by Tomasz
> 
>  arch/arm/boot/dts/exynos5250.dtsi |   19 +++++++++----------
>  1 file changed, 9 insertions(+), 10 deletions(-)
> 
> diff --git a/arch/arm/boot/dts/exynos5250.dtsi
> b/arch/arm/boot/dts/exynos5250.dtsi index ef57277..f2f178a 100644
> --- a/arch/arm/boot/dts/exynos5250.dtsi
> +++ b/arch/arm/boot/dts/exynos5250.dtsi
> @@ -102,23 +102,22 @@
>  		compatible = "samsung,exynos4210-mct";
>  		reg = <0x101C0000 0x800>;
>  		interrupt-controller;
> -		#interrups-cells = <2>;
> +		#interrups-cells = <1>;

Those two properties above are unused and in fact incorrect, because MCT is 
not an interrupt controller, so they could be removed in a follow-up patch.

You can also check out the clean-up series I mentioned for other things 
that could be cleaned up in Exynos 5 dtsi files.

>  		interrupt-parent = <&mct_map>;
> -		interrupts = <0 0>, <1 0>, <2 0>, <3 0>,
> -			     <4 0>, <5 0>;
> +		interrupts = <0>, <1>, <2>, <3>, <4>, <5>;
>  		clocks = <&clock 1>, <&clock 335>;
>  		clock-names = "fin_pll", "mct";
> 
>  		mct_map: mct-map {
> -			#interrupt-cells = <2>;
> +			#interrupt-cells = <1>;
>  			#address-cells = <0>;
>  			#size-cells = <0>;
> -			interrupt-map = <0x0 0 &combiner 23 3>,
> -					<0x1 0 &combiner 23 4>,
> -					<0x2 0 &combiner 25 2>,
> -					<0x3 0 &combiner 25 3>,
> -					<0x4 0 &gic 0 120 0>,
> -					<0x5 0 &gic 0 121 0>;
> +			interrupt-map = <0 &combiner 23 3>,
> +					<1 &combiner 23 4>,
> +					<2 &combiner 25 2>,
> +					<3 &combiner 25 3>,
> +					<4 &gic 0 120 0>,
> +					<5 &gic 0 121 0>;
>  		};
>  	};

Otherwise, looks fine. Thanks.

Best regards,
Tomasz

  reply	other threads:[~2013-08-28 11:18 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-08-28 11:00 [PATCH] ARM: DT: Exynos5250: fix number of interrupt-cells in mct node Chander Kashyap
2013-08-28 11:18 ` Tomasz Figa [this message]
2013-08-28 12:06   ` Chander Kashyap
2013-08-28 12:40     ` Chander Kashyap

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=6294395.8UjbZM2KH4@amdc1227 \
    --to=t.figa@samsung.com \
    --cc=linux-arm-kernel@lists.infradead.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox