Closed kluoyun closed 1 year ago
Commit 5fa6863ba692 ("spi: Check we have a spi_device_id for each DT compatible") added that warning.
The FBTFT_REGISTER_DRIVER macro will need to be fixed somehow to get rid of the warning.
Thanks for your reply, I will try
It's just a warning so the driver should work as-is, but if you find a fix it's all the better.
I modified the SPI driver and device tree and it works
As shown below, the log after I execute "modprobe fbtft" and "modprobe fb_ili9340" is as follows, debug=7 in the device tree, spi node and tft are also configured correctly.