iMX8M mini evk+MIPI to HDMI hot plug issue

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

iMX8M mini evk+MIPI to HDMI hot plug issue

1,900 Views
willy_hsu
Contributor I

iMX8M mini evk+MIPI to HDMI 

OS : Yocto 2.5

Kernel : 4.14.98-2.0.1

DSI to HDMI CHIP: ADV7535

HDMI hot plug issue

1. HDMI hot plug screen freezes , but use uart port confirm system normal


2. HDMI hot plug screen and system normal , but wayland terminal windows disappear

The probability of  issue one is 70%

The probability of  issue two is 30%

Labels (1)
Tags (1)
0 Kudos
3 Replies

1,265 Views
Junjielu
Contributor III

Hi Diego,

Our customized board is based on iMX8MQ-EVK.  Display and system work well with HDMI hotplug.  But, Wayland/Weston Terminal is gone when HDMI cable unplugged/re-plugged in, which is very weird...

Do you know how to solve this issue?  The following are contents of " /etc/xdg/weston/weston.ini" 


[core]
gbm-format=argb8888
idle-time=0
#use-g2d=1
xwayland=true

[shell]
size=1920x1080

[libinput]
touchscreen_calibrator=true

#[output]
#name=HDMI-A-1
#mode=1920x1080@60
#transform=90

#[output]
#name=HDMI-A-2
#mode=off
# WIDTHxHEIGHT Resolution size width and height in pixels
# off Disables the output
# preferred Uses the preferred mode
# current Uses the current crt controller mode
#transform=90

[screen-share]
command=/usr/bin/weston --backend=rdp-backend.so --shell=fullscreen-shell.so --n

thanks,

Jason

 

 

 

0 Kudos

1,550 Views
diegoadrian
NXP Employee
NXP Employee

Hello,

I am reviewing the driver to see if there is a problem whit hpd detector of the HDMI port.

Best regards,

Diego.

0 Kudos

1,550 Views
diegoadrian
NXP Employee
NXP Employee

Hello,

There was not a problem with the driver. The problem was on the device tree.

To solve the problem you need to add the below interrupt on the device tree.

adv7535@3d {
        compatible = "adi,adv7535";
        reg = <0x3d>;
        adi,addr-cec = <0x3b>;
        adi,dsi-lanes = <0x4>;
+       pinctrl-0 = <0x55>;
+       interrupt-parent = <0x55>
+       interrupts = <0x7 0x8>;
        status = "okay";

        port {
                 endpoint {
                         remote-endpoint = <0x23>;
                         linux,phandle = <0x50>;
                         phadle = <0x50>
                 };
        };
};

Whit that configuration the hot-plug should work.

Best regards,

Diego.

0 Kudos