public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: Maxime Ripard <maxime@cerno.tech>
To: u-boot@lists.denx.de
Subject: [PATCH] sunxi: display: introduce "sunxi-video" environment variable
Date: Mon, 11 Jan 2021 10:48:06 +0100	[thread overview]
Message-ID: <20210111094806.pewxtvya3pta7bye@gilmour> (raw)
In-Reply-To: <20210111091332.103330-1-giulio.benetti@benettiengineering.com>

Hi,

On Mon, Jan 11, 2021 at 10:13:32AM +0100, Giulio Benetti wrote:
> From: Giulio Benetti <giulio.benetti@micronovasrl.com>
> 
> At the moment you can specify lcd_mode only through hardcoded
> CONFIG_VIDEO_LCD_MODE but this way, if you have a board with multiple lcds
> compatible, you have to rebuild u-boot for every single lcd, so let's add
> sunxi-video environment variable to give the possibility to specify lcd
> settings at runtime. It's mandatory to "saveenv" after setting sunxi-video
> variable and then "reset" since sunxi_display driver apply those settings
> only on startup.
> 
> Signed-off-by: Giulio Benetti <giulio.benetti@micronovasrl.com>

What's different from the video= parameter that already exists (and
should work like you suggest)?

Maxime
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 228 bytes
Desc: not available
URL: <https://lists.denx.de/pipermail/u-boot/attachments/20210111/5cd5efdd/attachment.sig>

  reply	other threads:[~2021-01-11  9:48 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-01-11  9:13 [PATCH] sunxi: display: introduce "sunxi-video" environment variable Giulio Benetti
2021-01-11  9:48 ` Maxime Ripard [this message]
2021-01-11 10:34   ` Giulio Benetti

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=20210111094806.pewxtvya3pta7bye@gilmour \
    --to=maxime@cerno.tech \
    --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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox