public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: Tom Warren <TWarren@nvidia.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH v2 00/23] dm: tegra: Convert tegra20 and tegra124 video drivers to driver model
Date: Tue, 16 Feb 2016 16:23:52 +0000	[thread overview]
Message-ID: <f297558c06364be3bcabd7aa87f3500a@HQMAIL103.nvidia.com> (raw)
In-Reply-To: <CAPnjgZ2L+D0jH9nCY1+=5pLN1kniNq_7x8sgV+sLB3HNPbHHQQ@mail.gmail.com>

Simon,

> -----Original Message-----
> From: sjg at google.com [mailto:sjg at google.com] On Behalf Of Simon Glass
> Sent: Tuesday, February 16, 2016 9:03 AM
> To: Tom Warren <TWarren@nvidia.com>
> Cc: Stephen Warren <swarren@wwwdotorg.org>; U-Boot Mailing List <u-
> boot at lists.denx.de>; Marcel Ziswiler <marcel.ziswiler@toradex.com>; Stephen
> Warren <swarren@nvidia.com>; Pantelis Antoniou <panto@antoniou-
> consulting.com>; Marek Vasut <marek.vasut@gmail.com>; Pavel Herrmann
> <morpheus.ibis@gmail.com>; Anatolij Gustschin <agust@denx.de>
> Subject: Re: [PATCH v2 00/23] dm: tegra: Convert tegra20 and tegra124 video
> drivers to driver model
> 
> Hi Tom,
> 
> On 16 February 2016 at 08:47, Tom Warren <TWarren@nvidia.com> wrote:
> >
> > Simon
> >
> > > -----Original Message-----
> > > From: sjg at google.com [mailto:sjg at google.com] On Behalf Of Simon
> > > Glass
> > > Sent: Sunday, February 14, 2016 6:19 PM
> > > To: Stephen Warren <swarren@wwwdotorg.org>
> > > Cc: U-Boot Mailing List <u-boot@lists.denx.de>; Marcel Ziswiler
> > > <marcel.ziswiler@toradex.com>; Tom Warren <TWarren@nvidia.com>;
> > > Stephen Warren <swarren@nvidia.com>; Pantelis Antoniou
> > > <panto@antoniou- consulting.com>; Marek Vasut
> > > <marek.vasut@gmail.com>; Pavel Herrmann <morpheus.ibis@gmail.com>;
> > > Anatolij Gustschin <agust@denx.de>
> > > Subject: Re: [PATCH v2 00/23] dm: tegra: Convert tegra20 and
> > > tegra124 video drivers to driver model
> > >
> > > Hi,
> > >
> > > On 1 February 2016 at 17:00, Stephen Warren <swarren@wwwdotorg.org>
> > > wrote:
> > > >
> > > > On 01/30/2016 04:37 PM, Simon Glass wrote:
> > > >>
> > > >> This series moves these two drivers over to use driver model for video.
> > > >>
> > > >> This involves the following steps:
> > > >> - Sync up some device tree files with Linux
> > > >> - Implement a proper PWM driver
> > > >> - Clean up and unify the driver code
> > > >> - Modify the existing drivers to work with driver model
> > > >>
> > > >> The tegra20 display driver uses device tree bindings invented in
> > > >> 2011 before Linux had this or anyone was able to agree a
> > > >> standard. It seems possible to move it to the new bindings (like
> > > >> tegra124) except for the issue of time delays between stages. It
> > > >> isn't clear how this should work, and Linux implements this by
> > > >> including all LCD definitions in the kernel source code, and not
> > > >> using any delays. This causes strange display artifacts on the
> > > >> display when starting up, but perhaps is harmless to the display.
> > > >> Future work will sync up the device tree more for seaboard, and thus
> tidy this up for nvidia boards.
> > > >>
> > > >> A bug in the keyboard driver is also fixed by this series. The
> > > >> series is tested on seaboard and nyan-big, the two boards I have
> > > >> which support a display.
> > > >>
> > > >> This series is available at u-boot-dm/tegra-working.
> > > >
> > > >
> > > > This changes the name of the output device from "lcd" to "vidconsole".
> > > Anyone who doesn't reset their environment to default when switching
> > > to this new U-Boot will lose their display output because of this.
> > > Is there any way to maintain compatibility?
> > > >
> > > > Aside from that, I don't see any issues on Springbank (Seaboard),
> > > > Harmony, Ventana, Paz00, or p2371-2180, so the series,
> > > > Tested-by: Stephen Warren <swarren@nvidia.com>
> > >
> > > It looks like some of the patches have been applied and all Tegra
> > > boards are now giving Kconfig warnings.
> > >
> > > Tom Warren, are you able to pick up the rest of the series?
> > I had thought these had already gone in via the dm repo. If not, please list
> those that still need to be picked up and I'll take them in via tegra. Best to
> assign the appropriate ones to me in patchwork. Currently it seems they're all
> assigned to me. Which patches have already been applied?
> 
> I think it was the follow-up patches to add the environment work-around that
> was applied.
> 
> 6c88b51 video: tegra: Enable the 'lcd' env variable work-around
> a2931b3 dm: video: Add a temporary work-around for old stdout var
> 
> I see the original v2 series here:
> 
> http://patchwork.ozlabs.org/project/uboot/list/?delegate=4839
> 
> so that is what needs to be applied I think. Then the Tegra config issue should
> be fixed.
I've applied the 23 v2 DM video patches to u-boot-tegra/master, then rebased against current u-boot/master.

I see the 'warning: (TEGRA_COMMON) selects VIDCONSOLE_AS_LCD which has unmet direct dependencies (DM_VIDEO)' spew for almost every board (w/MAKEALL -s tegra).

Am I missing some patches? 
--
nvpublic
> 
> Regards,
> Simon

  reply	other threads:[~2016-02-16 16:23 UTC|newest]

Thread overview: 50+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-01-30 23:37 [U-Boot] [PATCH v2 00/23] dm: tegra: Convert tegra20 and tegra124 video drivers to driver model Simon Glass
2016-01-30 23:37 ` [U-Boot] [PATCH v2 01/23] tegra: keyboard: Fix the init order Simon Glass
2016-01-30 23:37 ` [U-Boot] [PATCH v2 02/23] dm: video: Flush the cache after a puts() Simon Glass
2016-01-31 18:14   ` Anatolij Gustschin
2016-01-30 23:37 ` [U-Boot] [PATCH v2 03/23] tegra: mmc: Fix comments in the MMC driver init Simon Glass
2016-01-30 23:37 ` [U-Boot] [PATCH v2 04/23] tegra: dts: Sync up the tegra124 device tree files with Linux Simon Glass
2016-01-30 23:37 ` [U-Boot] [PATCH v2 05/23] tegra: dts: Sync up nyan-big " Simon Glass
2016-01-30 23:37 ` [U-Boot] [PATCH v2 06/23] tegra: gpio: Show the GPIO value for outputs Simon Glass
2016-01-30 23:37 ` [U-Boot] [PATCH v2 07/23] tegra: pwm: Add a driver for the tegra PWM Simon Glass
2016-01-30 23:37 ` [U-Boot] [PATCH v2 08/23] tegra: lcd: Merge tegra124-lcd.c into display.c Simon Glass
2016-01-31 18:49   ` Anatolij Gustschin
2016-01-30 23:37 ` [U-Boot] [PATCH v2 09/23] tegra: Allow driver model to be used for the PWM Simon Glass
2016-01-30 23:37 ` [U-Boot] [PATCH v2 10/23] tegra: Allow CONFIG_DM_VIDEO to be used as well as CONFIG_LCD Simon Glass
2016-01-30 23:37 ` [U-Boot] [PATCH v2 11/23] tegra: nyan-big: Move the LCD driver to driver model Simon Glass
2016-01-31 18:59   ` Anatolij Gustschin
2016-01-30 23:37 ` [U-Boot] [PATCH v2 12/23] tegra: video: Rename CONFIG_VIDEO_TEGRA to CONFIG_VIDEO_TEGRA20 Simon Glass
2016-01-31 18:19   ` Anatolij Gustschin
2016-01-30 23:37 ` [U-Boot] [PATCH v2 13/23] tegra: dts: Sync tegra20.dtsi with Linux v4.4 Simon Glass
2016-01-30 23:37 ` [U-Boot] [PATCH v2 14/23] tegra: video: Merge the display driver into one file Simon Glass
2016-01-31 18:23   ` Anatolij Gustschin
2016-01-30 23:37 ` [U-Boot] [PATCH v2 15/23] tegra: video: Move the check for CONFIG_OF_CONTROL to Kconfig Simon Glass
2016-01-31 18:24   ` Anatolij Gustschin
2016-01-30 23:37 ` [U-Boot] [PATCH v2 16/23] tegra: video: Merge the two config structures together Simon Glass
2016-01-31 19:07   ` Anatolij Gustschin
2016-01-30 23:37 ` [U-Boot] [PATCH v2 17/23] tegra: video: Convert tegra20 LCD driver to driver model Simon Glass
2016-01-31 19:21   ` Anatolij Gustschin
2016-01-30 23:37 ` [U-Boot] [PATCH v2 18/23] tegra: video: Remove the static variables Simon Glass
2016-01-31 19:24   ` Anatolij Gustschin
2016-01-31 19:31   ` Fabio Estevam
2016-01-30 23:37 ` [U-Boot] [PATCH v2 19/23] tegra: video: Move LCD enums into the driver Simon Glass
2016-01-31 19:26   ` Anatolij Gustschin
2016-01-30 23:37 ` [U-Boot] [PATCH v2 20/23] tegra: video: Move all fdt-decoding into a single function Simon Glass
2016-01-31 19:30   ` Anatolij Gustschin
2016-01-30 23:38 ` [U-Boot] [PATCH v2 21/23] tegra: Convert CONFIG_PWM_TEGRA to Kconfig Simon Glass
2016-01-30 23:38 ` [U-Boot] [PATCH v2 22/23] tegra: video: Move LCD driver to use the DM PWM driver Simon Glass
2016-01-31 19:33   ` Anatolij Gustschin
2016-01-30 23:38 ` [U-Boot] [PATCH v2 23/23] tegra: video: Clean up the old LCD/PWM driver code Simon Glass
2016-02-02  0:00 ` [U-Boot] [PATCH v2 00/23] dm: tegra: Convert tegra20 and tegra124 video drivers to driver model Stephen Warren
2016-02-02  0:05   ` Simon Glass
2016-02-02  0:17     ` Stephen Warren
2016-02-02  0:28       ` Simon Glass
2016-02-02  0:36         ` Stephen Warren
2016-02-06 21:39           ` Simon Glass
2016-02-15  1:18   ` Simon Glass
2016-02-16 15:47     ` Tom Warren
2016-02-16 16:02       ` Simon Glass
2016-02-16 16:23         ` Tom Warren [this message]
2016-02-16 17:19           ` Simon Glass
2016-02-16 20:13             ` Tom Warren
2016-02-17  1:09               ` Simon Glass

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=f297558c06364be3bcabd7aa87f3500a@HQMAIL103.nvidia.com \
    --to=twarren@nvidia.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