public inbox for linux-omap@vger.kernel.org
 help / color / mirror / Atom feed
From: Tomi Valkeinen <tomi.valkeinen@ti.com>
To: "Raphaël Assénat" <raph@8d.com>
Cc: linux-omap@vger.kernel.org
Subject: Re: [PATCH] OMAPDSS: Add timings for ChiMei G121S1-L01/L02 and G121X1-L01 LCD displays
Date: Fri, 24 Aug 2012 11:38:29 +0300	[thread overview]
Message-ID: <1345797509.2614.10.camel@deskari> (raw)
In-Reply-To: <50339B3A.3020005@8d.com>

[-- Attachment #1: Type: text/plain, Size: 2583 bytes --]

On Tue, 2012-08-21 at 10:29 -0400, Raphaël Assénat wrote:
> On 21/08/12 06:49 AM, Tomi Valkeinen wrote:
> > On Wed, 2012-08-15 at 11:26 -0400, Raphaël Assénat wrote:
> > 
> >>> +
> >>> +	/* ChiMei G121S1-L01 */
> >>> +	{
> >>> +		{
> >>
> >> ...
> >>
> >>> +			.vsync_level	= OMAPDSS_SIG_ACTIVE_HIGH,
> >>> +			.hsync_level	= OMAPDSS_SIG_ACTIVE_HIGH,
> >>> +			.data_pclk_edge	= OMAPDSS_DRIVE_SIG_RISING_EDGE,
> >>> +			.de_level	= OMAPDSS_SIG_ACTIVE_HIGH,
> >>> +			.sync_pclk_edge	= OMAPDSS_DRIVE_SIG_OPPOSITE_EDGES,
> >>
> >> Actually those 3 panels only use the DE signal. The hsync/vsync signals
> >> are not used and on our system we mux them out to make sure they are
> >> kept low as recommended in the panel datasheets.
> >>
> >> Since vsync/hsync are not used, I think the vsync_level, hsync_level and
> >> sync_pclk_edge entries could be removed. Otherwise the updated patch
> >> works fine as is.
> > 
> > Okay. How do panels like that work? How can they know where a new frame
> > starts?
> 
> By DE being inactive for a different number of pixel clock cycles during
> the vertical and horizontal blanking periods.

Ok. Interesting architecture. I wonder what's the reason for a design
like that...

> > Actually, I now googled for those panels, and they are all LVDS panels,
> > not DPI panels. So the patch doesn't look correct at all.
> > 
> > Do you have a DPI-to-LVDS converter chip on your board?
> 
> Yes, we do. Depending on the board, we use a SN75LVDS83B or a SN65LVDS84.
> 
> The reason for using this approach was that the panels covered by
> this patch seemed not to be compatible with Flatlink 3G, which meant
> driving them directly from the AM35xx SDI serial interface was not possible.
> We unfortunately do not get to select which LVDS deserializer is
> used at the panel side..

Ok. I'm a bit reluctant to add the panels to panel-generic-dpi.c, as
they are not DPI panels at all. Also, you should have drivers for the
DPI-to-LVDS converters. However, this cannot be done properly with the
current DSS driver model, so I'm not sure what to do with your patch.

If you had just one panel and DPI-to-LVDS chip, I'd suggest to create a
combined driver which handles both the chip and the panel. But you have
two chips and three panels...

I'm hoping the common panel framework which is being discussed on the
mailinglists will help here. For the moment, I think it's best if you
keep the panel patches in your kernel tree, and see later how to add
them to common panel framework.

 Tomi


[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 836 bytes --]

  reply	other threads:[~2012-08-24  8:38 UTC|newest]

Thread overview: 21+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-07-17 14:01 [PATCH] OMAPDSS: Add timings for ChiMei G121S1-L01/L02 and G121X1-L01 LCD displays Raphael Assenat
2012-07-17 16:27 ` Jassi Brar
2012-07-20  8:11   ` Archit Taneja
2012-07-20 12:13     ` Jassi Brar
2012-07-20 12:44       ` Archit Taneja
2012-07-20 15:38         ` Jassi Brar
2012-07-31  7:51   ` Tomi Valkeinen
2012-07-31  8:03     ` Jassi Brar
2012-07-31  8:14       ` Tomi Valkeinen
2012-07-31  8:27         ` Jassi Brar
2012-07-31  8:42           ` Tomi Valkeinen
2012-07-31  8:57             ` Jassi Brar
2012-07-31  9:57               ` Tomi Valkeinen
2012-07-31 18:14                 ` Jassi Brar
2012-08-15  9:31 ` Tomi Valkeinen
2012-08-15 15:26   ` Raphaël Assénat
2012-08-21 10:49     ` Tomi Valkeinen
2012-08-21 14:29       ` Raphaël Assénat
2012-08-24  8:38         ` Tomi Valkeinen [this message]
2012-08-24 13:50           ` Raphaël Assénat
2012-08-24 15:00             ` Tomi Valkeinen

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=1345797509.2614.10.camel@deskari \
    --to=tomi.valkeinen@ti.com \
    --cc=linux-omap@vger.kernel.org \
    --cc=raph@8d.com \
    /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