AnsweredAssumed Answered

Is LVDS/MIPI_DSI supported in linux on i.MX7? Is there any working dts examples?

Question asked by Oleg Korenevich on Sep 12, 2016
Latest reply on Sep 21, 2016 by igorpadykov

Hi

I'm tring to add support for MIPI DSI interface (that will be converted into LVDS on my board) on i.MX7 SOM.

i'm using dts with:

&mipi_dsi {
   disp-dev = "mipi_dsi";
   compatible = "fsl,imx7d-mipi-dsi"; // also "imx7d-mipi-dsi" added to mipi_dsi.c with values of imx6
   lcd_panel = "TRULY-WVGA";
   dev_id = <0>;// doesn't know why, driver requirement
   disp_id = <0>;// doesn't know why, from example
   gpr = <&gpr>;
   disp-power-on-supply = <&reg_mipi_dsi_pwr_on>;
   resets = <&mipi_dsi_reset>;
   status = "okay";
};

reg_mipi_dsi_pwr_on: mipi_dsi_pwr_on {
compatible = "regulator-fixed";
regulator-name = "mipi_dsi_pwr_on";
gpio = <&gpio4 16 GPIO_ACTIVE_HIGH>;
enable-active-high;
};

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

 

Part of kernel config

grep -i mxc .config
CONFIG_ARCH_MXC=y
CONFIG_MXC_TZIC=y
CONFIG_CMDLINE="noinitrd console=ttymxc0,115200"
CONFIG_MTD_NAND_MXC=y
CONFIG_GPIO_MXC=y
# CONFIG_MFD_MXC_HDMI is not set
CONFIG_VIDEO_MXC_OUTPUT=y
# CONFIG_VIDEO_MXC_CAPTURE is not set
# CONFIG_VIDEO_MXC_IPU_OUTPUT is not set
CONFIG_VIDEO_MXC_PXP_V4L2=y
CONFIG_FB_MXC=y
CONFIG_FB_MXC_SYNC_PANEL=y
CONFIG_FB_MXC_MIPI_DSI=y
CONFIG_FB_MXC_MIPI_DSI_SAMSUNG=y
CONFIG_FB_MXC_TRULY_WVGA_SYNC_PANEL=y
# CONFIG_FB_MXC_LDB is not set
# CONFIG_FB_MXC_HDMI is not set
# CONFIG_FB_MXC_EDID is not set
# CONFIG_FB_MXC_DCIC is not set
# CONFIG_FB_MXC_EINK_PANEL is not set
# CONFIG_FB_MXC_EINK_V2_PANEL is not set
CONFIG_USB_EHCI_MXC=y
# CONFIG_MMC_MXC is not set
# MXC support drivers
CONFIG_MXC_IPU=y
# MXC Media Local Bus Driver
CONFIG_MXC_IPU_V3=y
CONFIG_MXC_IPU_V3_PRG=y
CONFIG_MXC_IPU_V3_PRE=y
# MXC SIM Support
# CONFIG_MXC_SIM is not set
# MXC MIPI Support
CONFIG_MXC_MIPI_CSI2=y
# MXC VPU(Video Processing Unit) support
CONFIG_MXC_VPU=y
# CONFIG_MXC_VPU_DEBUG is not set
# MXC HDMI CEC (Consumer Electronics Control) support
CONFIG_RTC_DRV_MXC=y
CONFIG_MXC_PXP_V2=y
# CONFIG_MXC_PXP_V3 is not set
CONFIG_MXC_PXP_CLIENT_DEVICE=y

 

Help me please

Outcomes