AnsweredAssumed Answered

How to interface LCD (1024x600) to Imx6ul ?

Question asked by naveen kumar on May 29, 2019
Latest reply on Jun 3, 2019 by naveen kumar

Hi Team,

 

I am using imx6ul custom board and interface to Display-tech lcd (1024x600).

Some changes in device tree file but lcd not working. First trying to configure display next touch.

We are given GPIO pin for back-light control and able to changing.

 

My device tree :

&lcdif {
        pinctrl-names = "default";
        pinctrl-0 = <&pinctrl_lcdif_dat
                     &pinctrl_lcdif_ctrl>;
        display = <&display0>;
        status = "okay";

 

        display0: display {
                bits-per-pixel = <16>;
                bus-width = <24>;

 

                display-timings {
                        native-mode = <&timing0>;
                        timing0: timing0 {
                                clock-frequency =<50000000>;
                                hactive = <1024>;
                                vactive = <600>;
                                hfront-porch = <0>;
                                hback-porch = <0>;
                                hsync-len = <176>;
                                vback-porch = <0>;
                                vfront-porch = <0>;
                 vsync-len = <25>;
                                hsync-active = <0>;
                                vsync-active = <0>;
                                de-active = <1>;
                                pixelclk-active = <0>;
                        };
                };
        };
};

 

 

 

pinctrl_lcdif_dat: lcdifdatgrp {
                        fsl,pins = <
                                MX6UL_PAD_LCD_DATA00__LCDIF_DATA00      0x79
                                MX6UL_PAD_LCD_DATA01__LCDIF_DATA01      0x79
                                MX6UL_PAD_LCD_DATA02__LCDIF_DATA02      0x79
                                MX6UL_PAD_LCD_DATA03__LCDIF_DATA03      0x79
                                MX6UL_PAD_LCD_DATA04__LCDIF_DATA04      0x79
                                MX6UL_PAD_LCD_DATA05__LCDIF_DATA05      0x79
                                MX6UL_PAD_LCD_DATA06__LCDIF_DATA06      0x79
                                MX6UL_PAD_LCD_DATA07__LCDIF_DATA07      0x79
                                MX6UL_PAD_LCD_DATA08__LCDIF_DATA08      0x79
                                MX6UL_PAD_LCD_DATA09__LCDIF_DATA09      0x79
                                MX6UL_PAD_LCD_DATA10__LCDIF_DATA10      0x79
                                MX6UL_PAD_LCD_DATA11__LCDIF_DATA11      0x79
                                MX6UL_PAD_LCD_DATA12__LCDIF_DATA12      0x79
                                MX6UL_PAD_LCD_DATA13__LCDIF_DATA13      0x79
                                MX6UL_PAD_LCD_DATA14__LCDIF_DATA14      0x79
                                MX6UL_PAD_LCD_DATA15__LCDIF_DATA15      0x79
                                MX6UL_PAD_LCD_DATA16__LCDIF_DATA16      0x79
                                MX6UL_PAD_LCD_DATA17__LCDIF_DATA17      0x79
                                MX6UL_PAD_LCD_DATA18__LCDIF_DATA18      0x79
                                MX6UL_PAD_LCD_DATA19__LCDIF_DATA19      0x79
                                MX6UL_PAD_LCD_DATA20__LCDIF_DATA20      0x79
                                MX6UL_PAD_LCD_DATA21__LCDIF_DATA21      0x79
                                MX6UL_PAD_LCD_DATA22__LCDIF_DATA22      0x79
                                MX6UL_PAD_LCD_DATA23__LCDIF_DATA23      0x79
                        >;
                };

 

 

Boot Logs :

 

imx6ul-pinctrl 20e0000.iomuxc: Invalid fsl,pins property in node /soc/aips-bus@02000000/iomuxc@020e0000/imx6ul-evk/flexcan1grp
imx6ul-pinctrl 20e0000.iomuxc: Invalid fsl,pins property in node /soc/aips-bus@02000000/iomuxc@020e0000/imx6ul-evk/pwm1grp
backlight supply power not found, using dummy regulator
21c8000.lcdif supply lcd not found, using dummy regulator
mxsfb 21c8000.lcdif: failed to find mxc display driver
Console: switching to colour frame buffer device 128x37
mxsfb 21c8000.lcdif: mxs wait for pan flip timeout
mxsfb 21c8000.lcdif: initialized
imx-sdma 20ec000.sdma: loaded firmware 3.3
2020000.serial: ttymxc0 at MMIO 0x2020000 (irq = 18, base_baud = 5000000) is a IMX
console [ttymxc0] enabled
21e8000.serial: ttymxc1 at MMIO 0x21e8000 (irq = 69, base_baud = 5000000) is a IMX
21ec000.serial: ttymxc2 at MMIO 0x21ec000 (irq = 70, base_baud = 5000000) is a IMX
imx-rng 2284000.rngb: iMX RNG Registered.
[drm] Initialized
[drm] Initialized vivante 1.0.0 20120216 on minor 0

 

edt_ft5x06 1-0038: touchscreen probe failed
input: iMX6UL Touchscreen Controller as /devices/soc0/soc/2000000.aips-bus/2040000.tsc/input/input2

Outcomes