All of lore.kernel.org
 help / color / mirror / Atom feed
From: Tomi Valkeinen <tomi.valkeinen@ti.com>
To: Vikas Patil <vikasmpatil@gmail.com>
Cc: "dri-devel@lists.freedesktop.org" <dri-devel@lists.freedesktop.org>
Subject: Re: OMAPDSS: omap5 SYNC_LOST error with DPI/LCD
Date: Mon, 12 May 2014 14:58:20 +0300	[thread overview]
Message-ID: <5370B75C.3060602@ti.com> (raw)
In-Reply-To: <CA+kt3u2i-x8-fY-2Vzd6a2MwW+4GYwZ-Kg-1eMbXC3vengJsVg@mail.gmail.com>


[-- Attachment #1.1: Type: text/plain, Size: 1469 bytes --]

On 12/05/14 14:33, Vikas Patil wrote:
> Hi,
> 
> Re-posting as previous posting was rejected due to length.
> 
> Forgot to mention, DPI pins are connected to TDF19988 chip for HDMI
> conversion.
> I have build the driver for it from
> https://gitorious.org/thierryreding/linux/source/e7792ce2da5ded80861db787ace9b57ecf7bc96c:drivers/gpu/drm/i2c/tda998x_drv.c.
> Is this the correct driver for it?

That driver cannot be used with omapdrm, which uses omapdss. There's no
TDF19988 driver for omapdss (at least in the mainline), so you need to
write one.

> Also I am trying to use the generic-dpi-panel driver for this with
> OMAP5. It seems I also need to add support for TDF19988 somewhere in
> omapdrm or lcd/panel driver by calling drm_i2c_encoder_init to
> initialize it. Can I use somecode from ticldc driver or driver itself?
> Could you please give some inputs, how should I proceed further to
> adding support for TDF19988 for which the input is coming from DPI
> interface?

You need to write a driver for it. Something similar to
drivers/video/fbdev/omap2/displays-new/encoder-tfp410.c, except tfp410
is quite simple one.

But I think you said you're based on some old customized kernel, so I
don't know which kind of omapdss driver you have there, so the mainline
tfp410 cannot probably be used as an example. Most likely the omapdss
drivers for your kernel are located in drivers/video/omap2/displays/
directory.

 Tomi



[-- Attachment #1.2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 819 bytes --]

[-- Attachment #2: Type: text/plain, Size: 159 bytes --]

_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dri-devel

  reply	other threads:[~2014-05-12 11:58 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <CA+kt3u2w1jr9G=w1Swo9np_rm69x56qXGU1YUBdXTNMaSBZAvA@mail.gmail.com>
     [not found] ` <CA+kt3u2Otxv49sgS6WiOq1Eeh-tezRRtAhYwWcFRSTfjjhJ9EA@mail.gmail.com>
2014-05-09  6:38   ` OMAPDSS: omap5 SYNC_LOST error with DPI/LCD Archit Taneja
2014-05-09  8:37     ` Patil, Vikash
2014-05-09  8:43       ` Archit Taneja
2014-05-09 11:09         ` Patil, Vikash
     [not found] ` <536CB9C7.8070404@ti.com>
2014-05-12  8:41   ` Vikas Patil
2014-05-12 11:26     ` Tomi Valkeinen
2014-05-12 11:33     ` Vikas Patil
2014-05-12 11:58       ` Tomi Valkeinen [this message]
2014-05-12 12:31         ` Vikas Patil
2014-05-13  6:26           ` Vikas Patil
2014-05-16  8:53             ` Tomi Valkeinen
2014-05-16 10:07               ` Vikas Patil

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=5370B75C.3060602@ti.com \
    --to=tomi.valkeinen@ti.com \
    --cc=dri-devel@lists.freedesktop.org \
    --cc=vikasmpatil@gmail.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 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.