SUPERH platform development
 help / color / mirror / Atom feed
From: Sergei Shtylyov <sergei.shtylyov@cogentembedded.com>
To: linux-sh@vger.kernel.org
Subject: Re: [PATCH 2/2] ARM: shmobile: marzen: Add Display Unit support
Date: Wed, 27 Mar 2013 19:09:23 +0000	[thread overview]
Message-ID: <51535247.4010007@cogentembedded.com> (raw)
In-Reply-To: <1364407550-30652-3-git-send-email-laurent.pinchart+renesas@ideasonboard.com>

Hello.

On 03/27/2013 09:05 PM, Laurent Pinchart wrote:

> Support the DU0 VGA and DU1 LVDS outputs. DU1 is connected to a
> Mitsubishi AA104XD12 panel (10.4" XGA).
>
> Signed-off-by: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>

[...]

> diff --git a/arch/arm/mach-shmobile/include/mach/common.h b/arch/arm/mach-shmobile/include/mach/common.h
> index 4531872..03f73de 100644
> --- a/arch/arm/mach-shmobile/include/mach/common.h
> +++ b/arch/arm/mach-shmobile/include/mach/common.h
> @@ -68,7 +68,6 @@ 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(void *pdata);

    Er...

>   extern void r8a7779_clock_init(void);
>   extern void r8a7779_pinmux_init(void);
>   extern void r8a7779_pm_init(void);
> diff --git a/arch/arm/mach-shmobile/setup-r8a7779.c b/arch/arm/mach-shmobile/setup-r8a7779.c
> index 2f817d8..a460ba3 100644
> --- a/arch/arm/mach-shmobile/setup-r8a7779.c
> +++ b/arch/arm/mach-shmobile/setup-r8a7779.c
> @@ -393,29 +393,6 @@ static struct platform_device sata_device = {
>   	},
>   };
>   
> -static struct resource du_resources[] = {
> -	[0] = {
> -		.name	= "Display Unit",
> -		.start	= 0xfff80000,
> -		.end	= 0xfffb1007,
> -		.flags	= IORESOURCE_MEM,
> -	},
> -	[1] = {
> -		.start	= gic_iid(0x3f),
> -		.flags	= IORESOURCE_IRQ,
> -	},
> -};
> -
> -static struct platform_device du_device = {
> -	.name		= "rcar-du",
> -	.num_resources	= ARRAY_SIZE(du_resources),
> -	.resource	= du_resources,
> -	.id		= 0,
> -	.dev	= {
> -		.coherent_dma_mask = ~0,
> -	},
> -};
> -
>   static struct platform_device *r8a7779_devices_dt[] __initdata = {
>   	&scif0_device,
>   	&scif1_device,
> @@ -451,13 +428,6 @@ void __init r8a7779_add_standard_devices(void)
>   			    ARRAY_SIZE(r8a7779_late_devices));
>   }
>   
> -void __init r8a7779_add_du_device(void *pdata)
> -{
> -	du_device.dev.platform_data = pdata;
> -
> -	platform_device_register(&du_device);
> -}
> -
>   /* do nothing for !CONFIG_SMP or !CONFIG_HAVE_TWD */
>   void __init __weak r8a7779_register_twd(void) { }
>   

    I didn't get this part. Why are you removing the platform device
  and function?

WBR, Sergei

  reply	other threads:[~2013-03-27 19:09 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-03-27 18:05 [PATCH 2/2] ARM: shmobile: marzen: Add Display Unit support Laurent Pinchart
2013-03-27 19:09 ` Sergei Shtylyov [this message]
2013-03-27 19:15 ` Laurent Pinchart

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=51535247.4010007@cogentembedded.com \
    --to=sergei.shtylyov@cogentembedded.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