HDMI hotplug not working

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

HDMI hotplug not working

Jump to solution
4,049 Views
karanbhagoji
Contributor II

Hello All

Currently I am using a HDMI for mirror display on an sabresd board with

Android L. The system is able to mirror the displays on android bootup.

Here we observe a performance issues when the HDMI is enabled.

This issue is seen with/without the HDMI display connected.

The performance issue is seen as slowly response on icon launching and

other user operations. Also the notification for the HDMI connected is not raised.

During debugging this issue, we found that the at the driver level the

hotplug events are not received from the HDMI connector(HDMI_HPD pin), Since the

hot plug events are not received by the driver the system is unable to

power down/ deinit / disconnect the HDMI display device , thus the android system is

continuously trying to mirror the display. Further analyzing the driver

we found that the interrupt configuration is correct.

We also diverged into enabling the hdcp for the driver, but that too is

unable to get the interrupt from the HDMI connector.

The configuration in the device tree is as folows

&hdmi_audio {

        status = "okay";

};

&hdmi_cec {

        pinctrl-names = "default";

        pinctrl-0 = <&pinctrl_hdmi_cec_2>;

        status = "okay";

};

&hdmi_core {

        ipu_id = <0>;

        disp_id = <0>;

        status = "okay";

};

&hdmi_video {

        fsl,phy_reg_vlev = <0x0294>;

        fsl,phy_reg_cksymtx = <0x800d>;

        status = "okay"

};

&i2c2 {

        clock-frequency = <100000>;

        pinctrl-names = "default";

        pinctrl-0 = <&pinctrl_i2c2_1>;

        status = "okay";

#if 1

        hdmi: edid@50 {

                compatible = "fsl,imx6-hdmi-i2c";

                reg = <0x50>;

        };

#endif

};

Regards,

Karan

0 Kudos
1 Solution
3 Replies
2,500 Views
igorpadykov
NXP Employee
NXP Employee

Hi karan

are you able to reproduce this behaviour with Demo Images,

how image was programmed - using MFG Tools :

Programmers (Flash, etc.) (13)

IMX-L5.0.0-MFG-TOOL (REV L5.0.0_1.0.0)

http://www.nxp.com/products/microcontrollers-and-processors/arm-processors/i.mx-applications-process...

Had you tried L4.1.15_1.1.0 ?

Best regards

igor

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

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

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

0 Kudos
2,500 Views
karanbhagoji
Contributor II

Hello Igorpadykov,

Yes, we are using MFG tool , with DEMO images and compiled images with the following kernel version 3.10.53.

Yes, I have tried using the L4.1.15_1.1.0 , this source too shows the same problem, NO hotplug detection.

I am suspecting the HDMI_DDC should be enabled to detect HDMI_HPD. But when I enable it, shows the same problem, with fail to read the EDID.

Also during booting I see the following error:

<6>mxc_hdmi 20e0000.hdmi_video: Detected HDMI controller 0x13:0xa:0xa0:0xc1

<6>mxc_sdc_fb fb.40: registered mxc display driver hdmi

<6>mxc_hdmi 20e0000.hdmi_video: Read EDID again

<6>mxc_hdmi 20e0000.hdmi_video: create default modelist

<6>imx-audio-hdmi sound-hdmi.36:  hdmi-hifi <-> hdmi_audio.17 mapping ok

Is there a configuration that we are missing here?

If there a working source with HDMI hotplug detection, I would be happy to have a look at it.

The android version that I using is L3.10.53_1.1.0_ga.

How we can enable hotplug on the HDMI, so that we can register the display device and start mirroring?

Regards,

Karan

0 Kudos