linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
From: chander.kashyap@linaro.org (Chander Kashyap)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH] ARM: DT: Exynos: fix number of interrupt-cells in mct node
Date: Wed, 28 Aug 2013 15:20:40 +0530	[thread overview]
Message-ID: <CANuQgHFP2n33neHbW90JZbPmcPkZ-X=NDwXDqQw1sfQUUT_zNQ@mail.gmail.com> (raw)
In-Reply-To: <52112004.90202@samsung.com>

On 19 August 2013 00:57, Kukjin Kim <kgene.kim@samsung.com> wrote:
> On 08/12/13 15:23, Chander Kashyap wrote:
>>
>> ping
>>
>> On 23 July 2013 15:17, Chander Kashyap<chander.kashyap@linaro.org>  wrote:
>>>
>>> ping.
>>>
>>> On 14 June 2013 20:11, Chander Kashyap<chander.kashyap@linaro.org>
>>> 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>
>>>> ---
>>>>   arch/arm/boot/dts/exynos4210.dtsi |   19 +++++++++----------
>>>>   arch/arm/boot/dts/exynos4212.dtsi |   19 +++++++++----------
>>>>   arch/arm/boot/dts/exynos4412.dtsi |   23 +++++++++++------------
>>>>   arch/arm/boot/dts/exynos5250.dtsi |   19 +++++++++----------
>>>>   4 files changed, 38 insertions(+), 42 deletions(-)
>>>>
>>>> diff --git a/arch/arm/boot/dts/exynos4210.dtsi
>>>> b/arch/arm/boot/dts/exynos4210.dtsi
>>>> index 54710de..ad50010 100644
>>>> --- a/arch/arm/boot/dts/exynos4210.dtsi
>>>> +++ b/arch/arm/boot/dts/exynos4210.dtsi
>>>> @@ -52,23 +52,22 @@
>>>>                  compatible = "samsung,exynos4210-mct";
>>>>                  reg =<0x10050000 0x800>;
>>>>                  interrupt-controller;
>>>> -               #interrups-cells =<2>;
>>>> +               #interrups-cells =<1>;
>>>>                  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 3>,<&clock 344>;
>>>>                  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&gic 0 57 0>,
>>>> -<0x1 0&gic 0 69 0>,
>>>> -<0x2 0&combiner 12 6>,
>>>> -<0x3 0&combiner 12 7>,
>>>> -<0x4 0&gic 0 42 0>,
>>>> -<0x5 0&gic 0 48 0>;
>>>> +                       interrupt-map =<0&gic 0 57 0>,
>>>> +<1&gic 0 69 0>,
>>>>
>>>> +<2&combiner 12 6>,
>>>> +<3&combiner 12 7>,
>>>> +<4&gic 0 42 0>,
>>>> +<5&gic 0 48 0>;
>>>>
>>>>                  };
>>>>          };
>>>>
>>>> diff --git a/arch/arm/boot/dts/exynos4212.dtsi
>>>> b/arch/arm/boot/dts/exynos4212.dtsi
>>>> index c0f60f4..ba9ada1 100644
>>>> --- a/arch/arm/boot/dts/exynos4212.dtsi
>>>> +++ b/arch/arm/boot/dts/exynos4212.dtsi
>>>> @@ -39,21 +39,20 @@
>>>>                  compatible = "samsung,exynos4412-mct";
>>>>                  reg =<0x10050000 0x800>;
>>>>                  interrupt-controller;
>>>> -               #interrups-cells =<2>;
>>>> +               #interrups-cells =<1>;
>>>>                  interrupt-parent =<&mct_map>;
>>>> -               interrupts =<0 0>,<1 0>,<2 0>,<3 0>,
>>>> -<4 0>,<5 0>;
>>>> +               interrupts =<0>,<1>,<2>,<3>,<4>,<5>;
>>>>
>>>>                  mct_map: mct-map {
>>>> -                       #interrupt-cells =<2>;
>>>> +                       #interrupt-cells =<>;
>>>>                          #address-cells =<0>;
>>>>                          #size-cells =<0>;
>>>> -                       interrupt-map =<0x0 0&gic 0 57 0>,
>>>> -<0x1 0&combiner 12 5>,
>>>> -<0x2 0&combiner 12 6>,
>>>> -<0x3 0&combiner 12 7>,
>>>> -<0x4 0&gic 1 12 0>,
>>>> -<0x5 0&gic 1 12 0>;
>>>> +                       interrupt-map =<0&gic 0 57 0>,
>>>> +<1&combiner 12 5>,
>>>> +<2&combiner 12 6>,
>>>> +<3&combiner 12 7>,
>>>> +<4&gic 1 12 0>,
>>>> +<5&gic 1 12 0>;
>>>>
>>>>                  };
>>>>          };
>>>>   };
>>>> diff --git a/arch/arm/boot/dts/exynos4412.dtsi
>>>> b/arch/arm/boot/dts/exynos4412.dtsi
>>>> index 270b389..a680de7 100644
>>>> --- a/arch/arm/boot/dts/exynos4412.dtsi
>>>> +++ b/arch/arm/boot/dts/exynos4412.dtsi
>>>> @@ -39,25 +39,24 @@
>>>>                  compatible = "samsung,exynos4412-mct";
>>>>                  reg =<0x10050000 0x800>;
>>>>                  interrupt-controller;
>>>> -               #interrups-cells =<2>;
>>>> +               #interrups-cells =<1>;
>>>>                  interrupt-parent =<&mct_map>;
>>>> -               interrupts =<0 0>,<1 0>,<2 0>,<3 0>,
>>>> -<4 0>,<5 0>,<6 0>,<7 0>;
>>>> +               interrupts =<0>,<1>,<2>,<3>,<4>,<5>,<6>,<7>;
>>>>                  clocks =<&clock 3>,<&clock 344>;
>>>>                  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&gic 0 57 0>,
>>>> -<0x1 0&combiner 12 5>,
>>>> -<0x2 0&combiner 12 6>,
>>>> -<0x3 0&combiner 12 7>,
>>>> -<0x4 0&gic 1 12 0>,
>>>> -<0x5 0&gic 1 12 0>,
>>>> -<0x6 0&gic 1 12 0>,
>>>> -<0x7 0&gic 1 12 0>;
>>>> +                       interrupt-map =<0&gic 0 57 0>,
>>>> +<1&combiner 12 5>,
>>>> +<2&combiner 12 6>,
>>>> +<3&combiner 12 7>,
>>>> +<4&gic 1 12 0>,
>>>> +<5&gic 1 12 0>,
>>>> +<6&gic 1 12 0>,
>>>> +<7&gic 1 12 0>;
>>>>
>>>>                  };
>>>>          };
>>>>
>>>> diff --git a/arch/arm/boot/dts/exynos5250.dtsi
>>>> b/arch/arm/boot/dts/exynos5250.dtsi
>>>> index a7cf3f5..4e633ef 100644
>>>> --- a/arch/arm/boot/dts/exynos5250.dtsi
>>>> +++ b/arch/arm/boot/dts/exynos5250.dtsi
>>>> @@ -94,23 +94,22 @@
>>>>                  compatible = "samsung,exynos4210-mct";
>>>>                  reg =<0x101C0000 0x800>;
>>>>                  interrupt-controller;
>>>> -               #interrups-cells =<2>;
>>>> +               #interrups-cells =<1>;
>>>>                  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>;
>>>>                  };
>>>>          };
>>>>
>>>> --
>>>> 1.7.9.5
>
>
> Should be updated with regarding Doc.

Will update the document.

Thanks.

>
> Kukjin



-- 
with warm regards,
Chander Kashyap

  reply	other threads:[~2013-08-28  9:50 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-06-14 14:41 [PATCH] ARM: DT: Exynos: fix number of interrupt-cells in mct node Chander Kashyap
2013-07-23  9:47 ` Chander Kashyap
2013-08-12  6:23   ` Chander Kashyap
2013-08-18 19:27     ` Kukjin Kim
2013-08-28  9:50       ` Chander Kashyap [this message]
2013-08-28 10:31         ` Tomasz Figa
2013-08-28 10:48           ` 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='CANuQgHFP2n33neHbW90JZbPmcPkZ-X=NDwXDqQw1sfQUUT_zNQ@mail.gmail.com' \
    --to=chander.kashyap@linaro.org \
    --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;
as well as URLs for NNTP newsgroup(s).