Hi,
My customization board is based on AM5728, and my LCD use the VOUT3. But it doesn't work! No pixel clock signal and any LCD signal from AM5728 soc. If I use the VOUT1, everything is OK.
I am sure that pinmux is OK, and devicetree configuration is also ok.
and my device tree configure is as follow:
aliases {
display0 = &lcd0;
};
lcd0: display {
compatible = "osddisplays,osd070t1718-19ts", "panel-dpi";
label = "lcd";
/* enable-gpios = <&gpio2 5 GPIO_ACTIVE_HIGH>;*/
panel-timing {
clock-frequency = <33000000>;
hactive = <1024>;
vactive = <768>;
hfront-porch = <32>;
hback-porch = <228>;
hsync-len = <60>;
vback-porch = <21>;
vfront-porch = <7>;
vsync-len = <10>;
hsync-active = <0>;
vsync-active = <0>;
de-active = <1>;
pixelclk-active = <1>;
};
port {
lcd_in: endpoint {
remote-endpoint = <&dpi_out>;
};
};
};
&dss {
ports {
#address-cells = <1>;
#size-cells = <0>;
port {
reg = <2>;
dpi_out: endpoint {
remote-endpoint = <&lcd_in>;
data-lines = <24>;
};
};
};
};
I have seen this new about VOUT2 is not support by cunnrently linux 4.13 driver.
I have traced this dss kernel code, and found this port(VOUT3) is always not enabled! and panel_dpi_probe() has create the correct dpi panel and fb0 has been generated in system directory.
a normal DPI port is always enabled by panel_dpi_enable() in $(kernel)/drivers/video/fbdev/omap2/displays-new/panel-dpi.c,
But If I set the port:reg=2, the panel_dpi_enable() is nerver called.
And what I should do? can you give me some valuable suggestion?
Thank you very much!
Best Regards
Qing