AnsweredAssumed Answered

Interface SPI LCD with im6ul

Question asked by Jignesh Patel on Jan 18, 2019

Hi,

 

I want to interface imx6ul processor with SPI LCD which is based on ili9806e as per below link:

5.0 inch 480*854, ILI9806E, SPI+RGB interface, high brightness, full viewing angle IPS LCD with capacitive touch panel, … 

 

I made following changes in my dtsi file of my processor.
&ecspi1 {
    fsl,spi-num-chipselects = <1>;
    cs-gpios = <&gpio4 26 0>;
    pinctrl-names = "default";
    pinctrl-0 = <&pinctrl_ecspi1_1>;
    status = "okay";
    
    ili9806e@0{
        compatible = "ilitek,ili9806";
        reg = <0>;
        status = "okay";
        spi-max-frequency = <10000000>;
        spi-cpol;
        spi-cpha;
        rotate = <0>;
        bgr;    
        fps = <50>;
        buswidth = <9>;
        reset-gpios = <&gpio4 22 0>;
        debug = <0>;
    };
};

        pinctrl_ecspi1_1: ecspi1grp {
            fsl,pins = <
                MX6UL_PAD_CSI_DATA07__ECSPI1_MISO       0x100b1
                MX6UL_PAD_CSI_DATA06__ECSPI1_MOSI       0x100b1
                MX6UL_PAD_CSI_DATA04__ECSPI1_SCLK       0x100b1
                MX6UL_PAD_CSI_DATA05__GPIO4_IO26        0x100b1
            >;
        };

 

 

Please help to interface LCD using linux frame buffer.

 

Thanks,

Jignesh Patel

Outcomes