From mboxrd@z Thu Jan 1 00:00:00 1970 From: Sergei Shtylyov Date: Fri, 15 Mar 2013 12:55:58 +0000 Subject: Re: [PATCH v2 3/3] ARM: shmobile: marzen: Add Display Unit support Message-Id: <51431A5E.1090308@cogentembedded.com> List-Id: References: <1363271746-9806-1-git-send-email-laurent.pinchart+renesas@ideasonboard.com> <1363271746-9806-4-git-send-email-laurent.pinchart+renesas@ideasonboard.com> In-Reply-To: <1363271746-9806-4-git-send-email-laurent.pinchart+renesas@ideasonboard.com> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: Laurent Pinchart Cc: dri-devel@lists.freedesktop.org, linux-sh@vger.kernel.org, Simon Horman Hello. On 14-03-2013 18:35, Laurent Pinchart wrote: > Only the DU0 VGA output is currently supported. Support for the DU0 LVDS > and DU1 LVDS outputs will require information about the panels that will > be connected to those outputs. > Signed-off-by: Laurent Pinchart [...] > diff --git a/arch/arm/mach-shmobile/board-marzen.c b/arch/arm/mach-shmobile/board-marzen.c > index cdcb799..0020506 100644 > --- a/arch/arm/mach-shmobile/board-marzen.c > +++ b/arch/arm/mach-shmobile/board-marzen.c [...] > @@ -147,6 +148,38 @@ static struct platform_device hspi_device = { > .num_resources = ARRAY_SIZE(hspi_resources), > }; > > +/* DU */ > +static struct resource rcar_du_resources[] = { > + [0] = { > + .name = "Display Unit", > + .start = 0xfff80000, > + .end = 0xfffb1007, > + .flags = IORESOURCE_MEM, > + }, > + [1] = { > + .start = gic_spi(31), Forgot to add: we're supoosed to use the new gic_iid() macro instead. WBR, Sergei