From: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
To: linux-sh@vger.kernel.org
Subject: Re: [PATCH v5 12/15] ARM: shmobile: r8a7778: Switch to new style TMU device
Date: Fri, 02 May 2014 18:21:47 +0000 [thread overview]
Message-ID: <29769434.fenvyKNn4c@avalon> (raw)
In-Reply-To: <1398251722-31667-13-git-send-email-laurent.pinchart+renesas@ideasonboard.com>
Hi Geert,
On Friday 02 May 2014 05:51:07 Geert Uytterhoeven wrote:
> Hi Laurent,
>
> On Wed, Apr 23, 2014 at 1:15 PM, Laurent Pinchart wrote:
> > --- a/arch/arm/mach-shmobile/setup-r8a7778.c
> > +++ b/arch/arm/mach-shmobile/setup-r8a7778.c
> > @@ -71,33 +71,20 @@ R8A7778_SCIF(5, 0xffe45000, gic_iid(0x6b));
> >
> > sizeof(scif##index##_platform_da
> > ta))
> >
> > /* TMU */
> >
> > -static struct resource sh_tmu0_resources[] __initdata = {
> > - DEFINE_RES_MEM(0xffd80008, 12),
> > - DEFINE_RES_IRQ(gic_iid(0x40)),
>
> gic_iid(0x40)
>
> > +static struct sh_timer_config sh_tmu0_platform_data = {
> > + .channels_mask = 7,
> >
> > };
> >
> > -static struct sh_timer_config sh_tmu0_platform_data __initdata = {
> > - .name = "TMU00",
> > - .channel_offset = 0x4,
> > - .timer_bit = 0,
> > - .clockevent_rating = 200,
> > -};
> > -
> > -static struct resource sh_tmu1_resources[] __initdata = {
> > - DEFINE_RES_MEM(0xffd80014, 12),
> > - DEFINE_RES_IRQ(gic_iid(0x41)),
> > -};
> > -
> > -static struct sh_timer_config sh_tmu1_platform_data __initdata = {
> > - .name = "TMU01",
> > - .channel_offset = 0x10,
> > - .timer_bit = 1,
> > - .clocksource_rating = 200,
> > +static struct resource sh_tmu0_resources[] = {
> > + DEFINE_RES_MEM(0xffd80000, 0x30),
> > + DEFINE_RES_IRQ(gic_spi(0x40)),
> > + DEFINE_RES_IRQ(gic_spi(0x41)),
> > + DEFINE_RES_IRQ(gic_spi(0x42)),
> >
> > };
>
> So these should be gic_iid(x04x), too?
Definitely. I've sent a fixed v6 patch.
--
Regards,
Laurent Pinchart
prev parent reply other threads:[~2014-05-02 18:21 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-04-23 11:15 [PATCH v5 12/15] ARM: shmobile: r8a7778: Switch to new style TMU device Laurent Pinchart
2014-05-02 3:51 ` Geert Uytterhoeven
2014-05-02 17:09 ` Laurent Pinchart
2014-05-02 18:19 ` Laurent Pinchart
2014-05-02 18:21 ` Laurent Pinchart [this message]
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=29769434.fenvyKNn4c@avalon \
--to=laurent.pinchart@ideasonboard.com \
--cc=linux-sh@vger.kernel.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.