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
>;
};
......
};
};