All of lore.kernel.org
 help / color / mirror / Atom feed
From: Marek Vasut <marek.vasut@gmail.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH] MX5: Make IPU display output and pixel format configurable
Date: Tue, 27 Sep 2011 14:31:07 +0200	[thread overview]
Message-ID: <201109271431.07389.marek.vasut@gmail.com> (raw)
In-Reply-To: <CAOMZO5AOwA3YLX1QW==4tCsiUi6JhEryZvu_bWw4WsqTAi3+nA@mail.gmail.com>

On Tuesday, September 27, 2011 02:22:18 PM Fabio Estevam wrote:
> Hi Marek,
> 
> On Tue, Sep 27, 2011 at 9:09 AM, Marek Vasut <marek.vasut@gmail.com> wrote:
> > Signed-off-by: Marek Vasut <marek.vasut@gmail.com>
> > Cc: Stefano Babic <sbabic@denx.de>
> > ---
> >  drivers/video/mxc_ipuv3_fb.c |   14 ++++++++++++--
> >  1 files changed, 12 insertions(+), 2 deletions(-)
> > 
> > diff --git a/drivers/video/mxc_ipuv3_fb.c b/drivers/video/mxc_ipuv3_fb.c
> > index a66981c..c4443e8 100644
> > --- a/drivers/video/mxc_ipuv3_fb.c
> > +++ b/drivers/video/mxc_ipuv3_fb.c
> > @@ -42,6 +42,16 @@
> > 
> >  DECLARE_GLOBAL_DATA_PTR;
> > 
> > +/* Use DISP #1 by default. */
> > +#ifndef        CONFIG_VIDEO_MX5_OUTPUT
> > +#define        CONFIG_VIDEO_MX5_OUTPUT 0
> > +#endif
> 
> What about putting a define for selecting between IPU DI0 or DI1 in
> the board config file?
> 
> There are boards that have DI0 connected as the primary display,
> others may have DI1.
> 
> This way the mxc_ipuv3_fb.c driver could handle both cases depending
> on the board config.

Sure, this is a default value for boards which just use the default (most common 
case). You can define CONFIG... in your board config file and change this.

> 
> Regards,
> 
> Fabio Estevam

  reply	other threads:[~2011-09-27 12:31 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-09-27 12:09 [U-Boot] [PATCH] MX5: Make IPU display output and pixel format configurable Marek Vasut
2011-09-27 12:22 ` Fabio Estevam
2011-09-27 12:31   ` Marek Vasut [this message]
2011-09-27 12:28 ` Stefano Babic
2011-09-27 12:43 ` [U-Boot] [PATCH V2] " Marek Vasut
2011-09-27 12:50   ` Stefano Babic
2011-09-27 12:58     ` Marek Vasut
2011-09-27 13:07       ` Stefano Babic
2011-09-27 13:19         ` Marek Vasut
2011-10-06 21:20   ` Wolfgang Denk
2011-10-06 21:32     ` Anatolij Gustschin

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=201109271431.07389.marek.vasut@gmail.com \
    --to=marek.vasut@gmail.com \
    --cc=u-boot@lists.denx.de \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.