IMX6_ST7701s_MIPI_DSI_Display

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

IMX6_ST7701s_MIPI_DSI_Display

3,132 Views
svnatraj
Contributor I

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

Labels (3)
0 Kudos
2 Replies

1,982 Views
svnatraj
Contributor I

Hi  Igor

Thank you for your kind reply..

am using custom board. anyway never mind the ST7701 ...now just i want to enable   hx8369 lcd driver through

 mxcfb_hx8369_wvga.c 
 fb_videomode truly_lcd_modedb[],

mipid_hx8369_lcd_setup()

that driver come with BSP.

i never get any debug message from mipi_hx8369_lcd_setup()

function.. just i expect  kernel debug message " LCD panel not Matched" something like that because

am using different LCD controller.. i guess mipi_hx8369_lcd_setup() function never called.

i receive only following debug message from kernel log

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

i added the driver part  

and edited KConfig...Makefile and device tree file

0 Kudos

1,982 Views
igorpadykov
NXP Employee
NXP Employee

Hi Natarajan

one can try to adjust timings and initialization for specific lcd using

description in sect.6.4.2.2 Source Code Structure attached Linux Manual,

in driver: linux/drivers/video/fbdev/mxc/mxcfb_hx8369_wvga.c adjust
 fb_videomode truly_lcd_modedb[], mipid_hx8369_lcd_setup()

mxcfb_hx8369_wvga.c\mxc\fbdev\video\drivers - linux-imx - i.MX Linux kernel 

Best regards
igor
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

0 Kudos