adapt LCD display 240x320 DT028BTFT to i.MX6ULL

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

adapt LCD display 240x320 DT028BTFT to i.MX6ULL

1,004件の閲覧回数
malikov_nikita
Contributor I

I'm trying to adapt LCD display 240x320 DT028BTFT to i.MX6ULL

The LCD display uses ili9341 driver (after build  kernel driver directory is: drivers/gpu/drm/tiny/ili9341.c),
I defined ili9341 inside display node inside SPI node in device tree file (.dts), but I'm getting errors one after another in boot:
[   18.662822] imx-sdma 20ec000.sdma: sdma firmware not ready!
[   18.668425] ili9341 spi0.0: SPI transfer failed: -22
[   18.697903] spi_master spi0: failed to transfer one message from queue
Anyone encounter this issue? Any example how to use this driver ?
.dts nodes -
&ecspi1 {
  cs-gpios = <&gpio3 26 0>;
  pinctrl-names = "default";
        pinctrl-0 = <&pinctrl_ecspi1>;
  fsl,spi-num-chipselects = <1>;
  status = "okay";
  display0: display@0{
    compatible = "adafruit,yx240qv29", "ilitek,ili9341";
    reg = <0>;
    spi-max-frequency = <32000000>;
    dc-gpios = <&gpio1 8 GPIO_ACTIVE_HIGH>;
    reset-gpios = <&gpio3 4 GPIO_ACTIVE_HIGH>;
    rotation = <270>;
    backlight = <&backlight_0>;
  };
};
&iomuxc {
  pinctrl-names = "default";
  pinctrl-0 = <&pinctrl_hog_1>;
  imx6ul-evk {
  .....
    pinctrl_ecspi1: ecspi1grp {
      fsl,pins = <
        MX6UL_PAD_LCD_DATA23__ECSPI1_MISO     0x1b0b1
        MX6UL_PAD_LCD_DATA22__ECSPI1_MOSI     0x1b0b1
        MX6UL_PAD_LCD_DATA20__ECSPI1_SCLK     0x1b0b1
        MX6UL_PAD_LCD_DATA21__GPIO3_IO26      0x1b0b0
      >;
      };
  ......
    };

};

ラベル(3)
0 件の賞賛
返信
1 返信

915件の閲覧回数
igorpadykov
NXP Employee
NXP Employee

Hi Nikita

one can look at similar issue on

Porting small OLED display to i.MX6ULL 14x14 Evk 

Best regards
igor
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

0 件の賞賛
返信