你好。
我正在尝试使用直接连接到 i.MX8m PLUS 的 LVDS 的 mistubishi LVDS 面板。
我正在使用定制板,但它基于 imx8mp evk。
我参考了 imx8mp-evk-jdi-wuxga-lvds-panel.dts,所以这就是我制作的 .dts。
/ {
lvds0_panel {
compa
tible = \"panel-lvds\";
backlight = <&lvds_backlight>;
status = \"okay\";
data-mapping = \"jeida-24\";
width-mm = <160>;
height-mm = <120>;
panel-timing {
clock-frequency = <50000000>;
hactive = <320>;
vactive = <240>;
hback-porch = <65>;
hfront-porch = <65>;
vback-porch = <14>;
vfront-porch = <3>;
hsync-len = <32>;
vsync-len = <5>;
hsync-active = <0>;
vsync-active = <0>;
de-active = <1>;
pixelclk-active = <0>;
power-on-delay = <40>;
power-off-delay = <16>;
relax-delay = <1000>;
};
port {
panel_lvds_in: endpoint {
remote-endpoint = <&lvds_out>;
};
};
};
};
&lcdif1 {
status = \"okay\";
};
&lcdif2 {
status = \"okay\";
};
&lcdif3 {
status = \"okay\";
thres-low = <1 2>; /* (FIFO * 1 / 2) */
thres-high = 4>; /* (FIFO * 3 / 4) */
};
&ldb_phy {
status = \"okay\";
};
&ldb {
status = \"okay\";
fsl,dual-channel;
lvds-channel@0 {
fsl,data-mapping = \"spwg\";
status = \"okay\";
/delete-node/ port@1;
port@1 {
reg = <1>;
lvds_out: endpoint {
remote-endpoint = <&panel_lvds_in>;
};
};
};
};
并且根据 dmesg 日志,panel-lvds 探测完成。据我所知,应该有类似 /sys/class/drm/card1-LVDS-1 的文件,但是 /sys/class/drm/ 的文件列表在我的情况下是非常不同的。
root@imx8mpevk:/sys/class/drm# ls
card0 renderD128 version
所以,当我在 weston-start 之后执行 \'weston-flower\' 时,会出现无法找到显示的错误。
root@imx8mpevk:~# weston-start
root@imx8mpevk:~# weston-flower
failed to connect to Wayland display: No such file or directory
failed to create display: No such file or directory
我阅读了许多与我的情况类似的 NXP 社区文章,但其中任何一篇都没有帮助。
我能得到这种情况的任何线索吗?