OMAPDSS: omap5 SYNC_LOST error with DPI/LCD

Tomi Valkeinen tomi.valkeinen at ti.com
Mon May 12 04:58:20 PDT 2014


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


-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: OpenPGP digital signature
URL: <http://lists.freedesktop.org/archives/dri-devel/attachments/20140512/e8ac1a4c/attachment.sig>


More information about the dri-devel mailing list