SUPERH platform development
 help / color / mirror / Atom feed
From: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
To: linux-sh@vger.kernel.org
Subject: Re: [PATCH 1/5] ARM: shmobile: r8a7779: Add DU support
Date: Thu, 08 Aug 2013 00:28:30 +0000	[thread overview]
Message-ID: <2228853.PEKcOao3QD@avalon> (raw)
In-Reply-To: <1375892397-5822-2-git-send-email-laurent.pinchart+renesas@ideasonboard.com>

Hi Morimoto-san,

On Wednesday 07 August 2013 17:12:01 Kuninori Morimoto wrote:
> Hi Laurent
> 
> > Add a function to register the DU device with board-specific platform
> > data. The DU device is named rcar-du-r8a7779, fix the clock entry
> > accordingly.
> > 
> > Signed-off-by: Laurent Pinchart
> > <laurent.pinchart+renesas@ideasonboard.com>
> > ---
> 
> (snip)
> 
> > @@ -31,6 +32,7 @@ extern void r8a7779_earlytimer_init(void);
> > 
> >  extern void r8a7779_add_early_devices(void);
> >  extern void r8a7779_add_standard_devices(void);
> >  extern void r8a7779_add_standard_devices_dt(void);
> > 
> > +extern void r8a7779_add_du_device(struct rcar_du_platform_data *pdata);
> > 
> >  extern void r8a7779_add_ether_device(struct sh_eth_plat_data *pdata);
> >  extern void r8a7779_init_late(void);
> >  extern void r8a7779_clock_init(void);
> 
> (snip)
> 
> > +void __init r8a7779_add_du_device(struct rcar_du_platform_data *pdata)
> > +{
> > +	struct platform_device_info info = {
> > +		.name = "rcar-du-r8a7779",
> > +		.id = -1,
> > +		.res = du_resources,
> > +		.num_res = ARRAY_SIZE(du_resources),
> > +		.data = pdata,
> > +		.size_data = sizeof(*pdata),
> > +		.dma_mask = DMA_BIT_MASK(32),
> > +	};
> > +
> > +	platform_device_register_full(&info);
> > +}
> 
> Thank you for your patch.
> But, now, we don't use above style of driver registration
> which goes back and forth between setup.c and board.c.
> (sh_eth is exceptional case now)
> 
> Please check below on SH-ARM ML
> [PATCH 0/11] ARM: shmobile: setup cleanup / r8a7778 update
> 
> then, please call register function on board.c directly
> if it needs platform data

Thank you for the review. I'll fix the code and submit a v3.

-- 
Regards,

Laurent Pinchart


  parent reply	other threads:[~2013-08-08  0:28 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-08-07 16:19 [PATCH 1/5] ARM: shmobile: r8a7779: Add DU support Laurent Pinchart
2013-08-07 17:20 ` Sergei Shtylyov
2013-08-07 22:19 ` Laurent Pinchart
2013-08-07 22:42 ` Sergei Shtylyov
2013-08-08  0:12 ` Kuninori Morimoto
2013-08-08  0:24 ` Simon Horman
2013-08-08  0:27 ` Laurent Pinchart
2013-08-08  0:28 ` Laurent Pinchart [this message]
2013-08-08  0:35 ` Simon Horman

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=2228853.PEKcOao3QD@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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox