From: Arnd Bergmann <arnd@arndb.de>
To: Thomas Abraham <thomas.abraham@linaro.org>
Cc: Kukjin Kim <kgene.kim@samsung.com>,
arm-linux <linux-arm-kernel@lists.infradead.org>,
linux-samsung-soc <linux-samsung-soc@vger.kernel.org>,
Chanho Park <chanho61.park@samsung.com>,
Tushar Behera <tushar.behera@linaro.org>,
Tomasz Figa <t.figa@samsung.com>,
Kyungmin Park <kyungmin.park@samsung.com>
Subject: Re: [PATCH 3/7] ARM: exynos: add missing properties for combiner IRQs
Date: Mon, 15 Apr 2013 10:36:35 +0200 [thread overview]
Message-ID: <201304151036.35228.arnd@arndb.de> (raw)
In-Reply-To: <CAJuYYwSJyDt7aBLyY0S8LUaGf9-VwuSeM_n3V1UuBzgTyDyTUQ@mail.gmail.com>
On Monday 15 April 2013, Thomas Abraham wrote:
> On 12 April 2013 19:33, Arnd Bergmann <arnd@arndb.de> wrote:
> > The exynos combiner irqchip needs to find the parent interrupts
> > and needs to know their number, so add the missing properties
> > for exynos4 as they were already present for exynos5.
> >
> > Signed-off-by: Arnd Bergmann <arnd@arndb.de>
> > ---
> > arch/arm/boot/dts/exynos4210.dtsi | 1 +
> > arch/arm/boot/dts/exynos4212.dtsi | 9 +++++++++
> > arch/arm/boot/dts/exynos4412.dtsi | 9 +++++++++
> > 3 files changed, 19 insertions(+)
> >
> > diff --git a/arch/arm/boot/dts/exynos4210.dtsi b/arch/arm/boot/dts/exynos4210.dtsi
> > index 15143bd..c102869 100644
> > --- a/arch/arm/boot/dts/exynos4210.dtsi
> > +++ b/arch/arm/boot/dts/exynos4210.dtsi
> > @@ -41,6 +41,7 @@
> > };
> >
> > combiner:interrupt-controller@10440000 {
> > + combiner-nr = <16>;
>
> The default value of the combiner-nr is case it is not specified is
> 16. The default value is documented in the bindings documentation.
Unfortunately, the driver now warns about a missing attribute, which
seems right. I also made the default "20" instead of "16" to cover the
other exynos4 chips. I'd say it's best to keep this one explicitly listed
even if it's optional.
> > + interrupt-controller@10440000 {
> > + combiner-nr = <20>;
> > + interrupts = <0 0 0>, <0 1 0>, <0 2 0>, <0 3 0>,
> > + <0 4 0>, <0 5 0>, <0 6 0>, <0 7 0>,
> > + <0 8 0>, <0 9 0>, <0 10 0>, <0 11 0>,
> > + <0 12 0>, <0 13 0>, <0 14 0>, <0 15 0>,
> > + <0 107 0>, <0 108 0>>, <0 48 0>, <0 42 0>;
>
> Extra '>' for <0 108 0> can be removed.
>
> Reviewed-by: Thomas Abraham <thomas.abraham@linaro.org?
Thanks!
WARNING: multiple messages have this Message-ID (diff)
From: arnd@arndb.de (Arnd Bergmann)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH 3/7] ARM: exynos: add missing properties for combiner IRQs
Date: Mon, 15 Apr 2013 10:36:35 +0200 [thread overview]
Message-ID: <201304151036.35228.arnd@arndb.de> (raw)
In-Reply-To: <CAJuYYwSJyDt7aBLyY0S8LUaGf9-VwuSeM_n3V1UuBzgTyDyTUQ@mail.gmail.com>
On Monday 15 April 2013, Thomas Abraham wrote:
> On 12 April 2013 19:33, Arnd Bergmann <arnd@arndb.de> wrote:
> > The exynos combiner irqchip needs to find the parent interrupts
> > and needs to know their number, so add the missing properties
> > for exynos4 as they were already present for exynos5.
> >
> > Signed-off-by: Arnd Bergmann <arnd@arndb.de>
> > ---
> > arch/arm/boot/dts/exynos4210.dtsi | 1 +
> > arch/arm/boot/dts/exynos4212.dtsi | 9 +++++++++
> > arch/arm/boot/dts/exynos4412.dtsi | 9 +++++++++
> > 3 files changed, 19 insertions(+)
> >
> > diff --git a/arch/arm/boot/dts/exynos4210.dtsi b/arch/arm/boot/dts/exynos4210.dtsi
> > index 15143bd..c102869 100644
> > --- a/arch/arm/boot/dts/exynos4210.dtsi
> > +++ b/arch/arm/boot/dts/exynos4210.dtsi
> > @@ -41,6 +41,7 @@
> > };
> >
> > combiner:interrupt-controller at 10440000 {
> > + combiner-nr = <16>;
>
> The default value of the combiner-nr is case it is not specified is
> 16. The default value is documented in the bindings documentation.
Unfortunately, the driver now warns about a missing attribute, which
seems right. I also made the default "20" instead of "16" to cover the
other exynos4 chips. I'd say it's best to keep this one explicitly listed
even if it's optional.
> > + interrupt-controller at 10440000 {
> > + combiner-nr = <20>;
> > + interrupts = <0 0 0>, <0 1 0>, <0 2 0>, <0 3 0>,
> > + <0 4 0>, <0 5 0>, <0 6 0>, <0 7 0>,
> > + <0 8 0>, <0 9 0>, <0 10 0>, <0 11 0>,
> > + <0 12 0>, <0 13 0>, <0 14 0>, <0 15 0>,
> > + <0 107 0>, <0 108 0>>, <0 48 0>, <0 42 0>;
>
> Extra '>' for <0 108 0> can be removed.
>
> Reviewed-by: Thomas Abraham <thomas.abraham@linaro.org?
Thanks!
next prev parent reply other threads:[~2013-04-15 8:36 UTC|newest]
Thread overview: 36+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-04-12 14:03 [PATCH 0/7] exynos multiplatform support, part 2 Arnd Bergmann
2013-04-12 14:03 ` Arnd Bergmann
2013-04-12 14:03 ` [PATCH 1/7] clk: exynos: prepare for multiplatform Arnd Bergmann
2013-04-12 14:03 ` Arnd Bergmann
2013-04-15 6:31 ` Thomas Abraham
2013-04-15 6:31 ` Thomas Abraham
2013-04-15 8:35 ` Arnd Bergmann
2013-04-15 8:35 ` Arnd Bergmann
2013-04-15 17:20 ` Sylwester Nawrocki
2013-04-15 17:20 ` Sylwester Nawrocki
2013-04-12 14:03 ` [PATCH 2/7] clocksource: exynos_mct: remove platform header dependency Arnd Bergmann
2013-04-12 14:03 ` Arnd Bergmann
2013-04-12 14:03 ` [PATCH 3/7] ARM: exynos: add missing properties for combiner IRQs Arnd Bergmann
2013-04-12 14:03 ` Arnd Bergmann
2013-04-15 6:27 ` Thomas Abraham
2013-04-15 6:27 ` Thomas Abraham
2013-04-15 8:36 ` Arnd Bergmann [this message]
2013-04-15 8:36 ` Arnd Bergmann
2013-04-15 6:43 ` Sachin Kamat
2013-04-15 6:43 ` Sachin Kamat
2013-04-15 8:41 ` Arnd Bergmann
2013-04-15 8:41 ` Arnd Bergmann
2013-04-15 11:32 ` Sachin Kamat
2013-04-15 11:32 ` Sachin Kamat
2013-04-15 12:20 ` Arnd Bergmann
2013-04-15 12:20 ` Arnd Bergmann
2013-04-15 12:45 ` Sachin Kamat
2013-04-15 12:45 ` Sachin Kamat
2013-04-12 14:03 ` [PATCH 4/7] irqchip: exynos: pass max combiner number to combiner_init Arnd Bergmann
2013-04-12 14:03 ` Arnd Bergmann
2013-04-12 14:03 ` [PATCH 5/7] irqchip: exynos: allocate combiner_data dynamically Arnd Bergmann
2013-04-12 14:03 ` Arnd Bergmann
2013-04-12 14:03 ` [PATCH 6/7] irqchip: exynos: localize irq lookup for ATAGS Arnd Bergmann
2013-04-12 14:03 ` Arnd Bergmann
2013-04-12 14:03 ` [PATCH 7/7] irqchip: exynos: pass irq_base from platform Arnd Bergmann
2013-04-12 14:03 ` Arnd Bergmann
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=201304151036.35228.arnd@arndb.de \
--to=arnd@arndb.de \
--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=t.figa@samsung.com \
--cc=thomas.abraham@linaro.org \
--cc=tushar.behera@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.