How to transplant mipi-dsi

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

How to transplant mipi-dsi

1,154 Views
864535720
Contributor II

Hello:
When I ported mipi-dsi on the imx7d development board, I configured it according to some documents given in the forum. I used the mipi_dsi_samsung.c file. My probe function can be successfully executed, but the device node is not created. I am Files related to mipi-dsi are not found under /dev.

I see a lot of friends in the forum have encountered this problem, but the official documentation is not very detailed, I hope you can give me some advice.
Thank you

Labels (1)
0 Kudos
Reply
1 Reply

913 Views
igorpadykov
NXP Employee
NXP Employee

Hi 其东 刘

mipi-dsi is defined in imx7d-sdb-mipi-dsi.dts
https://source.codeaurora.org/external/imx/linux-imx/tree/arch/arm/boot/dts/imx7d-sdb-mipi-dsi.dts?h...

&mipi_dsi {
    pinctrl-names = "default";
    pinctrl-0 = <&pinctrl_mipi_dsi_reset>;
    lcd_panel = "TRULY-WVGA-TFT3P5581E";
    resets = <&mipi_dsi_reset>;
    status = "okay";
};

linux/drivers/video/fbdev/mxc//mipi_dsi_samsung.c

#ifdef CONFIG_FB_MXC_TRULY_PANEL_TFT3P5581E
    {
     "TRULY-WVGA-TFT3P5581E",
     {mipid_hx8363_get_lcd_videomode, mipid_hx8363_lcd_setup}
    },
#endif

adjust timings for custom lcd in:
linux/drivers/video/fbdev/mxc/mxcfb_hx8363_wvga.c
static struct fb_videomode truly_lcd_modedb[] = {
    {
     "TRUULY-WVGA", 50, 480, 854, 41042,
     40, 60,
     3, 3,
     8, 4,
     FB_SYNC_OE_LOW_ACT,
     FB_VMODE_NONINTERLACED,
     0,
    },
use kernel boot parameter video=mxcfb0:dev=mipi_dsi,TRULYWVGA,if=RGB24
as described in Table 11. Common kernel boot parameters attached Release Notes.

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

0 Kudos
Reply