AnsweredAssumed Answered

i.MX8MM Device Tree Problem

Question asked by 克祥 黄 on Mar 18, 2020
Latest reply on Apr 27, 2020 by Robert McLean

/home/fsy/rel_imx_4.14.98_2.0.0_ga/linux-imx directory:

1. Modification:
 1) fsl-imx8mm-evk.dts
 Delete &i2c2 {the following:

        adv_bridge: adv7535@3d {
                compatible = "adi,adv7533";
                reg = <0x3d>;
                adi,addr-cec = <0x3b>;
                adi,dsi-lanes = <4>;
                status = "okay";

                port {
                        adv7535_from_dsim: endpoint {
                                remote-endpoint = <&dsim_to_adv7535>;

&mipi_dsi {
        status = "okay";

        port@1 {
                dsim_to_adv7535: endpoint {
                        remote-endpoint = <&adv7535_from_dsim>;

 2) Using the make menuconfig configuration, unselect the AV7511 encoder:
   Device Drivers->Graphics support->Display Interface Bridges->AV7511 encoder
2. Compile the make error message again

DTC     arch/arm64/boot/dts/freescale/fsl-imx8mm-evk-rm67191.dtb
Error: arch/arm64/boot/dts/freescale/fsl-imx8mm-evk-rm67191.dts:3.1-12 Label or path adv_bridge not found
FATAL ERROR: Syntax error parsing input tree
make[2]: *** [arch/arm64/boot/dts/freescale/fsl-imx8mm-evk-rm67191.dtb] Error 1
make[1]: *** [arch/arm64/boot/dts/freescale] Error 2

3.The contents of the error reporting office are as follows:

&adv_bridge {
        status = "disabled";

4.The comparison test shows that if the content of fsl-imx8mm-evk.dts is not deleted, it can compile normally, but rm67191 cannot mount the driver.




Question: Attached is the adjusted device tree file, please help to see why rm67191 could not be mounted and why the compilation failed.thank you