Interface SPI LCD with im6ul

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

Interface SPI LCD with im6ul

833 Views
jigneshpatel
Contributor III

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 capa... 

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

0 Kudos
0 Replies