Hi All,
We want to integrate mipi lcd display on our imx6dl custom board. 5 years back I have made it work successfully on ICS Source. but now bcoz of DTS concept in kernel am little confused. Currently kernel logo is getting displayed properly but it gets spoiled when android bootanimation comes up. I have shared the pics of both kindly help in solving the issue.
In imx6qdl-sabresd.dtsi all fb are disabled with that only it is working this much. even i tried to map fb0 to mipi_dsi dev but no effect. so i have kept it very minimal.
this is my dtsi file wrt mipi. no change is made wrt to dtsi file. only I have added the appropriate mipi display timings in drivers/video/fbdev/mxc/mxcfb_hx8369_wvga.c file thats all. and bootargs am using like this.
"setenv bootargs console=ttymxc0,115200 init=/init video=mxcfb0:dev=mipi_dsi video=mxcfb1:off video=mxcfb2:off video=mxcfb3:off vmalloc=128M androidboot.console=ttymxc0 consoleblank=0 androidboot.hardware=freescale cma=448M"
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 {
dev_id = <0>;
disp_id = <1>;
lcd_panel = "TRULY-WVGA";
disp-power-on-supply = <®_mipi_dsi_pwr_on>;
reset-gpios = <&gpio6 11 GPIO_ACTIVE_LOW>;
reset-delay-us = <50>;
status = "okay";
};
mxcfb1: fb@0 {
compatible = "fsl,mxc_sdc_fb";
disp_dev = "ldb";
interface_pix_fmt = "RGB666";
default_bpp = <16>;
int_clk = <0>;
late_init = <0>;
status = "disabled";
};
mxcfb2: fb@1 {
compatible = "fsl,mxc_sdc_fb";
disp_dev = "hdmi";
interface_pix_fmt = "RGB24";
mode_str ="1920x1080M@60";
default_bpp = <24>;
int_clk = <0>;
late_init = <0>;
status = "disabled";
};
mxcfb3: fb@2 {
compatible = "fsl,mxc_sdc_fb";
disp_dev = "lcd";
interface_pix_fmt = "RGB565";
mode_str ="CLAA-WVGA";
default_bpp = <16>;
int_clk = <0>;
late_init = <0>;
status = "disabled";
};
mxcfb4: fb@3 {
compatible = "fsl,mxc_sdc_fb";
disp_dev = "ldb";
interface_pix_fmt = "RGB666";
default_bpp = <16>;
int_clk = <0>;
late_init = <0>;
status = "disabled";
};
lcd@0 {
compatible = "fsl,lcd";
ipu_id = <0>;
disp_id = <0>;
default_ifmt = "RGB565";
pinctrl-names = "default";
pinctrl-0 = <&pinctrl_ipu1>;
status = "disabled";
};
Hi Prasanna
what kernel was used in the case, as Nougat is available
with L4.9.11 and L4.1.15 according to description below, one can try both
dts\boot\arm\arch - linux-imx - i.MX Linux kernel
dts\boot\arm\arch - linux-imx - i.MX Linux kernel
Best regards
igor
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------
Hi igorpadyko,
our kernel version is 4.9.17. but I am not understanding the dtsi !! all the fb0-4 are disabled, still mipi display works. how the link is made b/w mipi and fb? without anychange in the dtsi am getting proper kernel logo means display is configured properly right? what I have changed is bootargs and drivers/video/fbdev/mxc/mxcfb_hx8369_wvga.c file in kernel. how the driver is called for mipi? any reference for mipi_dsi?
Hi igorpadykov,
Have you seen my attachments, display images ? after Android boot animation why display is getting spoiled any suggestions? If at all config. problem means how kernel logo is displaying properly.
yes I looked at attached files, unfortunately there is little use of them. Please try to reproduce
issue on NXP reference board. Note, NXP has special service for helping customers with integration:
Best regards
igor