AnsweredAssumed Answered

RGB Parallel Interface

Question asked by Deepika Kumari on Jul 12, 2016

Unable to display the data on RGB parallel  new haven ( )display on i.MX6solo Custom board 

 

These are the modifications in DTSI file  the same is attached for your  reference

 

 

/* For Display Interface*/

mxcfb1: fb@0 {

compatible = "fsl,mxc_sdc_fb";

disp_dev = "lcd";

interface_pix_fmt = "RGB24";

mode_str ="WVGA";

default_bpp = <24>;

int_clk = <0>;

late_init = <0>;

status = "okay";

};


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 = "RGB24";

  mode_str ="WVGA";

  default_bpp = <32>;//24

  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 = "RGB24";

pinctrl-names = "default";

//lcd-supply =<&reg_lcd_3v3> ;

VDDIO-supply = <&reg_3p3v>;

 

pinctrl-0 = <&pinctrl_ipu1>;

reset-gpios = <&gpio3 31 GPIO_ACTIVE_LOW>;

  status = "okay";

  };


};

/* For Display Interafce */

pinctrl_ipu1: ipu1grp {

fsl,pins = <

MX6QDL_PAD_DI0_DISP_CLK__IPU1_DI0_DISP_CLK 0x00

//MX6QDL_PAD_CSI0_DATA_EN__IPU1_CSI0_DATA_EN 0x1b0b0 //Display Data Enable Pin

//MX6QDL_PAD_CSI0_DATA_EN__GPIO5_IO20 0x80000000 //Display Data Enable Pin

MX6QDL_PAD_DI0_PIN15__IPU1_DI0_PIN15 0x10

MX6QDL_PAD_EIM_D31__GPIO3_IO31 0x80000000

MX6QDL_PAD_DI0_PIN2__IPU1_DI0_PIN02 0x10

MX6QDL_PAD_DI0_PIN3__IPU1_DI0_PIN03 0x10

MX6QDL_PAD_DI0_PIN4__IPU1_DI0_PIN04 0x80000000

MX6QDL_PAD_DISP0_DAT0__IPU1_DISP0_DATA00 0x10

MX6QDL_PAD_DISP0_DAT1__IPU1_DISP0_DATA01 0x10

MX6QDL_PAD_DISP0_DAT2__IPU1_DISP0_DATA02 0x10

MX6QDL_PAD_DISP0_DAT3__IPU1_DISP0_DATA03 0x10

MX6QDL_PAD_DISP0_DAT4__IPU1_DISP0_DATA04 0x10

MX6QDL_PAD_DISP0_DAT5__IPU1_DISP0_DATA05 0x10

MX6QDL_PAD_DISP0_DAT6__IPU1_DISP0_DATA06 0x10

MX6QDL_PAD_DISP0_DAT7__IPU1_DISP0_DATA07 0x10

MX6QDL_PAD_DISP0_DAT8__IPU1_DISP0_DATA08 0x10

MX6QDL_PAD_DISP0_DAT9__IPU1_DISP0_DATA09 0x10

MX6QDL_PAD_DISP0_DAT10__IPU1_DISP0_DATA10 0x10

MX6QDL_PAD_DISP0_DAT11__IPU1_DISP0_DATA11 0x10

MX6QDL_PAD_DISP0_DAT12__IPU1_DISP0_DATA12 0x10

MX6QDL_PAD_DISP0_DAT13__IPU1_DISP0_DATA13 0x10

MX6QDL_PAD_DISP0_DAT14__IPU1_DISP0_DATA14 0x10

MX6QDL_PAD_DISP0_DAT15__IPU1_DISP0_DATA15 0x10

MX6QDL_PAD_DISP0_DAT16__IPU1_DISP0_DATA16 0x10

MX6QDL_PAD_DISP0_DAT17__IPU1_DISP0_DATA17 0x10

MX6QDL_PAD_DISP0_DAT18__IPU1_DISP0_DATA18 0x10

MX6QDL_PAD_DISP0_DAT19__IPU1_DISP0_DATA19 0x10

MX6QDL_PAD_DISP0_DAT20__IPU1_DISP0_DATA20 0x10

MX6QDL_PAD_DISP0_DAT21__IPU1_DISP0_DATA21 0x10

MX6QDL_PAD_DISP0_DAT22__IPU1_DISP0_DATA22 0x10

MX6QDL_PAD_DISP0_DAT23__IPU1_DISP0_DATA23 0x10

>;

};

 

 

Used the driver file is  :    mxc_lcdif.c is  attached for  your reference

On display we are able to see the RGB lines patterns only ,what could be the issue.

 

 

kindly Help Us , we are reaching the deadlines.

Original Attachment has been moved to: mxc_lcdif.c.zip

Outcomes