AnsweredAssumed Answered

IMX6_ST7701s_MIPI_DSI_Display

Question asked by Natarajan Viswanathan on Jul 18, 2019
Latest reply on Jul 19, 2019 by Natarajan Viswanathan

Hi 

 

Am trying to Enable MIPI DSI display driver imx6 with linux kernel 4.1.15 

i followed the NXP community to modify the following part in device tree file

 

aliases {

     mxcfb0 = &mxcfb1;

};

 

reg_mipi_dsi_pwr_on: mipi_dsi_pwr_on {

     compatible = "regulator-fixed";

     regulator-name = "mipi_dsi_pwr_on";

     gpio = <&gpio6 14 0>;

     enable-active-high;

};

 

mipi_dsi_reset: mipi-dsi-reset {
compatible = "gpio-reset";
reset-gpios = <&gpio7 12 1>; //GPIO_ACTIVE_LOW
reset-delay-us = <50>;
#reset-cells = <0>;
};


&mipi_dsi {
dev_id = <0>;
disp_id = <0>;
lcd_panel = "TRULY-WVGA";
disp-power-on-supply = <&reg_mipi_dsi_pwr_on>;
resets = <&mipi_dsi_reset>;
status = "okay";
};

 

mxcfb1: fb@0 {

     compatible = "fsl,mxc_sdc_fb";

     disp_dev = "mipi_dsi";

     interface_pix_fmt = "RGB565";

     mode_str ="TRULY-WVGA";

     default_bpp = <24>;

     int_clk = <0>;

     late_init = <0>;

     status = "okay";

};

 

and am using LCD panel driver ST7701s..320X480 

 

and  i got the following three line of debug message regarding MIPI DSI

and nothing..

 

 

21e0000.mipi supply disp-power-on not found, using dummy regulator
mxc_mipi_dsi 21e0000.mipi: i.MX MIPI DSI driver probed
mxc_mipi_dsi mipi-phy: failed to get platform resource 0
MIPI DSI driver module loaded
mxc_sdc_fb fb@1: can not get alias id

Outcomes