I want to use 2 LVDS display with 2 channel.
So, I fix the imx8qm-XXXX.dts like below and compile it to imx8qm-XXXX.dtb with dtc in Linux
.....
lvds1_panel { /* LVDS1: LVDS panel */
compatible = "powertrip,ph128800t004-zhc";
backlight = <&lvds1_backlight>;
pinctrl-names = "default";
pinctrl-0 = <&pinctrl_lvds1>;
power-supply = <®_1p8v>;
enable-gpios = <&lsio_gpio5 0 GPIO_ACTIVE_HIGH>;
status = "okay";
port {
panel_lvds1_in: endpoint {
remote-endpoint = <&lvds1_out>;
};
};
};
...........
&ldb2 { /* LVDS1: LVDS Channel-0 Port Enable */
status = "okay";
fsl,dual-channel;
lvds-channel@0 {
fsl,data-mapping = "spwg";
fsl,data-width = <24>;
status = "okay";
port@1 {
reg = <1>;
lvds1_out: endpoint {
remote-endpoint = <&panel_lvds1_in>;
};
};
};
};
--------------------
Then, I move the file from Host pc to board[run/media/mmcblk0p1] and change the setup in U boot
-setenv fdt_file imx8qm-XXXX.dtb
-saveenv
-boot
After booting, I got a looped dmesg error :
[ 11.509961] imx-drm display-subsystem: failed to bind bus@57240000:ldb@572410e0 (ops imx8qm_ldb_ops): -517
[ 11.520191] imx-drm display-subsystem: master bind failed: -517
[ 11.527389] imx-sgtl5000 sound: ASoC: failed to init link HiFi: -517
[ 11.535857] nwl-dsi 56228000.dsi_host: [drm:nwl_dsi_host_attach] lanes=4, format=0x0 flags=0x15
[ 11.544794] [drm] Supports vblank timestamp caching Rev 2 (21.10.2013).
[ 11.551432] [drm] No driver support for vblank timestamp query.
[ 11.557433] imx-drm display-subsystem: bound imx-drm-dpu-bliteng.2 (ops dpu_bliteng_ops)
[ 11.565592] imx-drm display-subsystem: bound imx-drm-dpu-bliteng.5 (ops dpu_bliteng_ops)
[ 11.573815] imx-drm display-subsystem: bound imx-dpu-crtc.0 (ops dpu_crtc_ops)
[ 11.581155] imx-drm display-subsystem: bound imx-dpu-crtc.1 (ops dpu_crtc_ops)
[ 11.588498] imx-drm display-subsystem: bound imx-dpu-crtc.3 (ops dpu_crtc_ops)
[ 11.595835] imx-drm display-subsystem: bound imx-dpu-crtc.4 (ops dpu_crtc_ops)
[ 11.603480] imx-drm display-subsystem: bound 56228000.dsi_host (ops nwl_dsi_component_ops)
How can I fix it?