MIPI-DSI panel on custom imx8mm board

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

MIPI-DSI panel on custom imx8mm board

466 Views
doki995
Contributor I

I'm having issues enabling mipi-dsi on my custom board with imx8mm processor. My panel is connected and only thing working is backlight when connected.

I'm not really sure I configured my mipi-dsi correctly because I'm getting error 22 while trying to probe.

dmesg | grep dsi
[ 0.271214] platform 32c00000.bus:mipi_dsi@32e10000: Fixing up cyclic dependency with 32c00000.bus:lcdif@32e00000
[ 7.885725] imx_sec_dsim_drv 32c00000.bus:mipi_dsi@32e10000: invalid resource
[ 7.893220] imx_sec_dsim_drv: probe of 32c00000.bus:mipi_dsi@32e10000 failed with error -22

I enabled st7701 in kernel, and all DSI stuff.

short version of DTS file:

#include "imx8mm.dtsi"
 
&gpu {
    status = "okay";
};

&lcdif {
    status = "okay";
};
&mipi_dsi {
        status = "okay";

        panel@0 {
            compatible = "techstar,ts8550b", "sitronix,st7701";
            reg = <0>;
            pinctrl-names = "default";
            pinctrl-0 = <&pinctrl_mipi_dsi_rst>;
            reset-gpios = <&gpio1 11 GPIO_ACTIVE_HIGH>;
            VCC-supply = <&ldo2_reg>;
            IOVCC-supply = <&ldo2_reg>;
            backlight = <&gpio1 1 GPIO_ACTIVE_LOW>;
    };

 

&iomuxc {
    pinctrl_mipi_dsi_rst: pinctrl_mipi_dsi_rst {
        fsl,pins = <
            MX8MM_IOMUXC_GPIO1_IO11_GPIO1_IO11  0x16
        >;    
    };
 
Any suggestions? I saw people using raydium67191 but I'm not really sure how...
Labels (1)
0 Kudos
0 Replies