[PATCH v2 3/3] ARM: shmobile: marzen: Add Display Unit support
Laurent Pinchart
laurent.pinchart at ideasonboard.com
Fri Mar 15 06:04:04 PDT 2013
Hi Sergei,
On Friday 15 March 2013 16:55:58 Sergei Shtylyov wrote:
> 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
> > <laurent.pinchart+renesas at ideasonboard.com>
>
> [...]
>
> > 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.
Thanks for pointing this out. I've based this patch on mainline where
gic_iid() isn't available yet. I'll make sure to rebase on Simon's tree before
sending a pull request.
--
Regards,
Laurent Pinchart
More information about the dri-devel
mailing list