We use lt9611 to convert MIPI DSI to HDMI but I got a build error while bitbake.
As I following the reference from https://community.nxp.com/t5/i-MX-Processors/IMx93-uses-lt9611-chip-to-convert-MIPI-into-DSI-without... , I got a bitbake error as below:
ERROR (phandle_references): /soc@0/dsi@4ae10000/ports/port@1/endpoint: Reference to non-existent node or label "lt9611_b
And I already configured DRM_LONTIUM_LT9611=y in defconfig.
Here is the definitions in the device tree (imx93-11x11-evk.dts).
&lpi2c1 {
#address-cells = <1>;
#size-cells = <0>;
clock-frequency = <400000>;
pinctrl-names = "default", "sleep";
pinctrl-0 = <&pinctrl_lpi2c1>;
pinctrl-1 = <&pinctrl_lpi2c1>;
status = "okay";
lt9611: hdmi@3b {
compatible = "lontium,lt9611";
reg = <0x3b>;
status = "okay";
ports {
#address-cells = <1>;
#size-cells = <0>;
port@1 {
reg = <1>;
lt9611_b: endpoint {
remote-endpoint = <&dsi1_out>;
};
};
};
};
};
&dsi {
status = "okay";
ports {
port@1 {
reg = <1>;
dsi1_out: endpoint {
remote-endpoint = <<9611_b>;
};
};
};
};
I hope everyone can give me some suggestions. Thanks.
But it turns out into an
Error(duplicate_label): /soc@0/dsi@4ae10000/port@1/endpoint: Duplicate label 'dsi1_out' on /soc@0/dsi@4ae10000/port@1/endpoint and /soc@0/dsi@4ae10000/ports/port@1/endpoint
I had solved the problem by putting the lt9611: hdmi@3b device tree from lpi2c1 to lpi2c3
But the device could not work on the board, maybe there is still something wrong.
Now it can only build without error message.
Hi @AlanWen
You can add more debug messages in the 9611 driver or use the i2ctool to check it's registers.