All of lore.kernel.org
 help / color / mirror / Atom feed
From: Peng Fan <peng.fan@nxp.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH 2/2] imx: mx6ul_14x14_evk: convert to DM_VIDEO
Date: Fri, 2 Aug 2019 07:23:02 +0000	[thread overview]
Message-ID: <AM0PR04MB448123EDAA51B4AFCB830CDF88D90@AM0PR04MB4481.eurprd04.prod.outlook.com> (raw)
In-Reply-To: <AM0PR04MB4481FA7DE6D276EB1C506F1D88D90@AM0PR04MB4481.eurprd04.prod.outlook.com>

> Subject: RE: [U-Boot] [PATCH 2/2] imx: mx6ul_14x14_evk: convert to
> DM_VIDEO
> 
> > Subject: Re: [U-Boot] [PATCH 2/2] imx: mx6ul_14x14_evk: convert to
> > DM_VIDEO
> >
> > On Fri, Aug 2, 2019 at 12:05 PM Peng Fan <peng.fan@nxp.com> wrote:
> > >
> > > HI,
> > >
> > > > Subject: Re: [PATCH 2/2] imx: mx6ul_14x14_evk: convert to DM_VIDEO
> > > >
> > > > Hi Peng,
> > > >
> > > > On Thu, Aug 1, 2019 at 3:02 AM Peng Fan <peng.fan@nxp.com> wrote:
> > > >
> > > > > +       display0: display at 0 {
> > > > > +               bits-per-pixel = <16>;
> > > > > +               bus-width = <24>;
> > > > > +
> > > > > +               display-timings {
> > > > > +                       native-mode = <&timing0>;
> > > > > +
> > > > > +                       timing0: timing0 {
> > > > > +                               clock-frequency = <9200000>;
> > > > > +                               hactive = <480>;
> > > > > +                               vactive = <272>;
> > > > > +                               hfront-porch = <8>;
> > > > > +                               hback-porch = <4>;
> > > > > +                               hsync-len = <41>;
> > > > > +                               vback-porch = <2>;
> > > > > +                               vfront-porch = <4>;
> > > > > +                               vsync-len = <10>;
> > > > > +                               hsync-active = <0>;
> > > > > +                               vsync-active = <0>;
> > > > > +                               de-active = <1>;
> > > > > +                               pixelclk-active = <0>;
> > > >
> > > > So here we have the LCD timings in the device tree, which differs
> > > > from the the devicetree in mainline.
> > > >
> > > > This is based on the old mxsfb fbdev driver, which has been
> > > > removed in
> > 5.3-rc.
> > > >
> > > > In mainline we pass the innolux,at043tn24 LCD compatible.
> > > >
> > > > Shouldn't U-Boot be able to handle the same dt-bindings as in the
> kernel?
> > >
> > > I added this node in x-u-boot.dtsi, not in common dts. If drop this
> > > display-timings, we need add a similar structure inside code just as
> > > kernel
> > did.
> > > And need to restructure mxsfb driver.
> > >
> > > For simple, we could leave this in u-boot.dtsi.
> >
> > How about adding panel timings in panel-simple we have similar in
> > u-boot and sync equivalent dts changes from Linux?
> 
> The panel timings needs to be passed to display driver, kernel has drm-crtc for
> this, but uboot does not have it.
> 
> The method is to let display driver to find the panel node/device to get the
> timings.
> 
> Will this work?

An issue is where to get bits-per-pixel?

Thanks,
Peng.

> 
> Thanks,
> Peng.

  reply	other threads:[~2019-08-02  7:23 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-08-01  6:02 [U-Boot] [PATCH 1/2] imx: mx6ul_14x14_evk: Fix SPL boot Peng Fan
2019-08-01  6:02 ` [U-Boot] [PATCH 2/2] imx: mx6ul_14x14_evk: convert to DM_VIDEO Peng Fan
2019-08-01 14:06   ` Fabio Estevam
2019-08-02  6:35     ` Peng Fan
2019-08-02  6:39       ` Jagan Teki
2019-08-02  6:42         ` Peng Fan
2019-08-02  7:23           ` Peng Fan [this message]
2019-08-05 13:11       ` Anatolij Gustschin
2019-08-02 12:05   ` Igor Opaniuk
2019-08-05  2:08     ` Peng Fan
2019-08-05  9:28   ` Peng Fan
2019-08-05 13:15     ` Anatolij Gustschin
2019-08-06  1:11       ` Peng Fan
2019-08-05 13:01   ` Anatolij Gustschin
2019-08-13  8:24   ` Peng Fan
2019-08-01 13:59 ` [U-Boot] [PATCH 1/2] imx: mx6ul_14x14_evk: Fix SPL boot Fabio Estevam
2019-08-13  8:22 ` Peng Fan

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=AM0PR04MB448123EDAA51B4AFCB830CDF88D90@AM0PR04MB4481.eurprd04.prod.outlook.com \
    --to=peng.fan@nxp.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.