From: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
To: linux-sh@vger.kernel.org
Subject: Re: [RFC][PATCH 3/4] ARM: shmobile: r8a7778: Register PFC drivce
Date: Tue, 09 Apr 2013 14:24:19 +0000 [thread overview]
Message-ID: <10606447.PZutXj1Lbs@avalon> (raw)
In-Reply-To: <8738v0b73z.wl%kuninori.morimoto.gx@renesas.com>
Hi Morimoto-san,
Thank you for the patch.
On Monday 08 April 2013 22:33:56 Kuninori Morimoto wrote:
> Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
With the drivce replaced by device in the subject line,
Acked-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
> ---
> arch/arm/mach-shmobile/include/mach/r8a7778.h | 1 +
> arch/arm/mach-shmobile/setup-r8a7778.c | 13 +++++++++++++
> 2 files changed, 14 insertions(+)
>
> diff --git a/arch/arm/mach-shmobile/include/mach/r8a7778.h
> b/arch/arm/mach-shmobile/include/mach/r8a7778.h index 951149e..68053fc
> 100644
> --- a/arch/arm/mach-shmobile/include/mach/r8a7778.h
> +++ b/arch/arm/mach-shmobile/include/mach/r8a7778.h
> @@ -28,5 +28,6 @@ extern void r8a7778_init_irq(void);
> extern void r8a7778_init_irq_dt(void);
> extern void r8a7778_clock_init(void);
> extern void r8a7778_init_irq_extpin(int irlm);
> +extern void r8a7778_pinmux_init(void);
>
> #endif /* __ASM_R8A7778_H__ */
> diff --git a/arch/arm/mach-shmobile/setup-r8a7778.c
> b/arch/arm/mach-shmobile/setup-r8a7778.c index d6ee521..6c1cc80 100644
> --- a/arch/arm/mach-shmobile/setup-r8a7778.c
> +++ b/arch/arm/mach-shmobile/setup-r8a7778.c
> @@ -102,6 +102,19 @@ void __init r8a7778_add_ether_device(struct
> sh_eth_plat_data *pdata) pdata, sizeof(*pdata));
> }
>
> +/* PFC */
> +static struct resource pfc_resources[] = {
> + DEFINE_RES_MEM(0xfffc0000, 0x118),
> +};
> +
> +void __init r8a7778_pinmux_init(void)
> +{
> + platform_device_register_simple(
> + "pfc-r8a7778", -1,
> + pfc_resources,
> + ARRAY_SIZE(pfc_resources));
> +}
> +
> void __init r8a7778_add_standard_devices(void)
> {
> int i;
--
Regards,
Laurent Pinchart
next prev parent reply other threads:[~2013-04-09 14:24 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-04-09 5:33 [RFC][PATCH 3/4] ARM: shmobile: r8a7778: Register PFC drivce Kuninori Morimoto
2013-04-09 12:22 ` Sergei Shtylyov
2013-04-09 14:24 ` Laurent Pinchart [this message]
2013-04-10 2:17 ` Simon Horman
2013-04-10 2:21 ` Simon Horman
2013-04-10 2:26 ` Kuninori Morimoto
2013-04-10 4:48 ` Simon Horman
2013-04-10 5:25 ` Kuninori Morimoto
2013-04-10 5:29 ` 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=10606447.PZutXj1Lbs@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