Interface SPI LCD with im6ul

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

Interface SPI LCD with im6ul

1,280 次查看
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 项奖励
回复
0 回复数