linux hdmi driver for tda19988

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

linux hdmi driver for tda19988

3,206 Views
sivaprasadtirul
Contributor I

Hi,

we are using the linux kernel 4.1.15 from yocto project on iMX7 processor and

there is a HDMI Transmitter tda19988 from NXP is interfaced on I2C Bus. 

We are wondering there is any linux driver available for this chip from NXP ?

Best Regards,

Siva

Tags (3)
0 Kudos
8 Replies

2,140 Views
sivaprasadtirul
Contributor I

Hi All,

I am successfully able to display the HDMI output on the screen. I can see the xserver running while system bootup and the gui comes up.

But I am not able to get the console output on HDMI.

I want to use the hdmi monitor for login instead of the serial console. Can some one point me to the right direction to configure the x11 ?

(Or) some other gui where I can access the file system & terminal like gui.

Do I need to change any boot arguments to achieve this ?

Looking for the inputs. Thanking you in advance.

0 Kudos

2,140 Views
zhangwuhui212
Contributor I

I usr imx6q board ,use yocto 3.14.28.

I want output on HDMI ,can you tell me what can I do?

Looking for the inputs. Thanking you in advance.

0 Kudos

2,140 Views
sivaprasadtirul
Contributor I

Hi ,

on HDMI, while booting i can see a monitor gets flicked with boot logo. But it disappears in a second. I am not sure where the exact problem is

Is some thing to do with the below error from bootlog.

         -----------------------------------------------------------------------------------------------

            MIPI DSI driver module loaded
            MIPI DSI driver module loaded
            tda19988_probe hdmi
            tda19988 1-0034: Sucessfully initialised chip revision 301
            mxsfb 30730000.lcdif: failed to find mxc display driver
            Console: switching to colour frame buffer device 100x30
            tda19988 1-0034: Matching CEA mode is 0 for fb mode 800x480-52
            mxsfb 30730000.lcdif: initialized

-------------------------------------------------------------------------------------------------

after successful boot,  with the following command, I am not able to see anything dispalyed on the screen.

-------------------------------------------------------------------------------------

         root@imx7d-phyboard-zeta-001:~# cat connectionfailed.jpeg > /dev/fb0
         root@imx7d-phyboard-zeta-001:~# dmesg
          [ 1525.500210] i2c i2c-0: master_xfer[0] W, addr=0x08, len=2
         [ 1525.980168] i2c i2c-0: master_xfer[0] W, addr=0x08, len=2

root@imx7d-phyboard-zeta-001:~# echo 0 > /sys/class/graphics/fb0/blank
dummy 1-0070: Error -5 writing to 0x18
dummy 1-0070: Error -5 writing to 0x19
dummy 1-0070: Error -5 writing to 0x1a

---------------------------------------------------------------------------------------------------

I tried the below bootargs 

setenv mmcargs 'setenv bootargs console=${console},${baudrate} root=${mmcroot} video=mxcfb0:dev=hdmi,1920x1080M@60,if=RGB24'

But no success. I want to display an image on the monitor from linux userspace & also while booting.

Does this errors make any sense to you. 

Please provide your valuable inputs to make progress on this HDMI topic.

Thanks,

Siva

0 Kudos

2,140 Views
mtx512
Contributor V

If it is of interest to you I wrote the tda19988 driver for the UDOO NEO, if you require commercial support for integration contact me.

Jasbir

0 Kudos

2,140 Views
igorpadykov
NXP Employee
NXP Employee

Hi Siva

for available drivers (supported chips) one can look at Linux

documentation (Release Notes) :

https://www.nxp.com/webapp/Download?colCode=L4.9.11_1.0.0_LINUX_DOCS 

Best regards
igor
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

0 Kudos

2,140 Views
bernhardfink
NXP Employee
NXP Employee

Hi Siva,
it seems to be on one or the other 3rd party platform, so maybe you can take it from there.
Best chance to get something off the shelf is with the UDOO platform:

I2C bus - UDOO Neo Docs 

They use the TDA19988 and there is an i.MX 6SoloX Yocto build for this board.

More complicated to port is the driver from the BeagleBone platform:

HDMI on BeagleBone Black » Raspberry Pi Geek 

GitHub - joelagnel/beagle-nxp-hdmi: TDA19988 driver for Linux Kernel 

Regards,

Bernhard.

0 Kudos

2,140 Views
sivaprasadtirul
Contributor I

hi Bernhard,

Thanks for pointing to UDOO. I started integrating the hdmi driver. But, the UDOO platform used the mxc framebuffer in the linux kernel V3 on the i.MX6 soc

But in the latest kernel 4.1.15 on i.MX7, looks like the mxc framebuffer was removed.

So to use the UDOO platform hdmi driver, do i need to port the mxc framebuffer. Am i correct is saying this?

or is that possible to have a video display with out mxc framebuffer on i.MX7 ?

Please provide me your valuable inputs to redirect me to correct path. Thanking you in advance.

Thanks,

Siva

0 Kudos

2,140 Views
sivaprasadtirul
Contributor I

Thanks for your replies.

Looks like I need to port the driver from the github 

beagle-nxp-hdmi/hdmi at master · joelagnel/beagle-nxp-hdmi · GitHub 

Since the above driver is based on Linux Kernel 2.6.29

Is that porting to linux kernel 4 will be bit tedious job with some minimal level of API changes ?

Is the driver from 2.6.29 will be compatible with the device tree concept in this case(Linux kernel 4) ?

Sorry for my stupid question. Is that possible to display the serial output to HDMI display ? If so what are the bootargs that I need to use in the imx.7 case ?

Once again thanks for your valuable inputs. Please correct me if I am wrong.

Thanks,

Siva

0 Kudos