This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Linux/AM5728: Dual display configuration

Part Number: AM5728

Tool/software: Linux

Hi,

I 've check :

https://e2e.ti.com/support/arm/sitara_arm/f/791/p/646224/2379161?tisearch=e2e-sitesearch&keymatch=am5728%20vout#2379161     

to configure our board to output 2 videos with VOUT1 and VOUT3.

Below is what I configure in dts:

aliases {
rtc1 = &tps659038_rtc;
rtc2 = &rtc;
display0 = &hdmi0;
display1 = &cameralink_1;
display2 = &cameralink_2;

}

cameralink_1: display {
compatible = "cameralink,cameralink", "panel-dpi";

label = "lcd1";

panel-timing {
clock-frequency = <74250000>;
hactive = <1920>;
vactive = <1080>;

hfront-porch = <40>;
hsync-len = <200>;
hback-porch = <40>;

vback-porch = <10>;
vsync-len = <25>;
vfront-porch = <10>;

hsync-active = <1>;
vsync-active = <1>;
de-active = <1>;
pixelclk-active = <0>;

};

port {
cameralink1_in: endpoint {
remote-endpoint = <&dpi1_out>;
};
};
};


cameralink_2: display {
compatible = "cameralink,cameralink", "panel-dpi";

label = "lcd3";

panel-timing {
clock-frequency = <24960000>;
hactive = <640>;
vactive = <512>;

hfront-porch = <360>;
hsync-len = <240>;
hback-porch = <360>;

vback-porch = <4>;
vsync-len = <2>;
vfront-porch = <4>;

hsync-active = <1>;
vsync-active = <1>;
de-active = <1>;
pixelclk-active = <0>;

};

port {
cameralink2_in: endpoint {
remote-endpoint = <&dpi2_out>;
};
};
};

&dss {
status = "ok"; 
ports { 
#address-cells = <1>; 
#size-cells = <0>;

port@0{
reg = <0>;

dpi1_out: endpoint {
remote-endpoint = <&cameralink1_in>;
data-lines = <24>;
};
};

port@2{
reg = <2>;

dpi2_out: endpoint {

remote-endpoint = <&cameralink2_in>;
data-lines = <24>;
};

};

};

};

If I use " modetest " to check the output ,there is only one channel:

Encoders:
id crtc type possible crtcs possible clones
30 34 TMDS 0x00000001 0x00000000    //HDMI
35 41 TMDS 0x00000002 0x00000000    //VOUT

I try to configure individual channel with VOUT1 and VOUT3  which is successful.