From: Maxime Ripard <maxime.ripard@free-electrons.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH RESEND 7/9] video: Allow board hook before video init
Date: Tue, 22 Nov 2016 13:41:38 +0100 [thread overview]
Message-ID: <20161122124138.ajjlie5wtmp56uhi@lukather> (raw)
In-Reply-To: <CAPnjgZ0-PcVMuJHuDPq5mXov2Zjm7H1oQ+B+81aex2WMe0pF-w@mail.gmail.com>
Hi Simon,
On Mon, Nov 14, 2016 at 01:44:45PM -0700, Simon Glass wrote:
> Hi Maxime,
>
> On 14 November 2016 at 13:24, Maxime Ripard
> <maxime.ripard@free-electrons.com> wrote:
> > Hi Simon,
> >
> > On Fri, Nov 11, 2016 at 09:17:28AM -0700, Simon Glass wrote:
> >> Hi Maxime,
> >>
> >> On 8 November 2016 at 03:19, Maxime Ripard
> >> <maxime.ripard@free-electrons.com> wrote:
> >> > Some boards might need to some additional setup right before initialising
> >> > the video console.
> >> >
> >> > Add some hook to allow that.
> >>
> >> Instead of this, can you use driver model (UCLASS_VIDEO)?
> >
> > I don't really know the device model that well, hence 'm not really
> > sure how would that help. Can a board register a hook to be called
> > before a driver is probed?
>
> My suggest would be that the driver can do whatever is required. What
> is the board-specific code actually wanting to do?
We need to adjust the video-mode environment variable that is going to
be used in the driver's initialisation. We're doing that by
identifying which daughter board is attached, and then setting that
value according to the display output we want to use.
So we need some hook that would run between the environment
initialisation and the video driver's init.
Maxime
--
Maxime Ripard, Free Electrons
Embedded Linux and Kernel engineering
http://free-electrons.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 801 bytes
Desc: not available
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20161122/436ba234/attachment.sig>
next prev parent reply other threads:[~2016-11-22 12:41 UTC|newest]
Thread overview: 34+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-11-08 10:19 [U-Boot] [PATCH RESEND 0/9] sunxi: chip: Enable the DIP auto-detection Maxime Ripard
2016-11-08 10:19 ` [U-Boot] [PATCH RESEND 1/9] fdtdec: Fix alias retrieval Maxime Ripard
2016-11-08 10:19 ` [U-Boot] [PATCH RESEND 2/9] sunxi: chip: Add 1-wire node Maxime Ripard
2016-11-08 10:19 ` [U-Boot] [PATCH RESEND 3/9] w1: Add 1-Wire uclass Maxime Ripard
2016-11-08 10:19 ` [U-Boot] [PATCH RESEND 4/9] w1: Add 1-Wire gpio driver Maxime Ripard
2016-11-10 13:35 ` Michal Simek
2016-11-11 20:53 ` Maxime Ripard
2016-11-08 10:19 ` [U-Boot] [PATCH RESEND 5/9] EEPROM: Add an EEPROM uclass Maxime Ripard
2016-11-11 16:17 ` Simon Glass
2016-11-11 19:13 ` Moritz Fischer
2016-11-14 13:39 ` Maxime Ripard
2016-11-08 10:19 ` [U-Boot] [PATCH RESEND 6/9] eeprom: Add DS2431 support Maxime Ripard
2016-11-11 19:16 ` Moritz Fischer
2016-11-14 13:42 ` Maxime Ripard
2016-11-14 15:14 ` Tom Rini
2016-11-14 20:12 ` Maxime Ripard
2016-11-14 20:44 ` Simon Glass
2016-11-14 21:09 ` Maxime Ripard
2016-11-14 21:17 ` Simon Glass
2016-11-14 20:44 ` Simon Glass
2016-11-08 10:19 ` [U-Boot] [PATCH RESEND 7/9] video: Allow board hook before video init Maxime Ripard
2016-11-11 16:17 ` Simon Glass
2016-11-14 20:24 ` Maxime Ripard
2016-11-14 20:44 ` Simon Glass
2016-11-22 12:41 ` Maxime Ripard [this message]
2016-11-24 2:21 ` Simon Glass
2016-12-06 17:39 ` Maxime Ripard
2016-12-08 22:22 ` Simon Glass
2016-11-08 10:19 ` [U-Boot] [PATCH RESEND 8/9] sunxi: Add CHIP's DIP support Maxime Ripard
2016-11-08 10:19 ` [U-Boot] [PATCH RESEND 9/9] config: chip: Enable " Maxime Ripard
2016-11-09 3:44 ` [U-Boot] [PATCH RESEND 0/9] sunxi: chip: Enable the DIP auto-detection Tom Rini
2016-11-09 14:10 ` Maxime Ripard
2016-11-11 16:33 ` Tom Rini
2016-11-14 11:14 ` Hans de Goede
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=20161122124138.ajjlie5wtmp56uhi@lukather \
--to=maxime.ripard@free-electrons.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox