Re: [U-Boot] SPI driver convert to Driver Model

(copying the list)
Hi,
On 19 January 2015 at 22:38, Haikun.Wang@freescale.com Haikun.Wang@freescale.com wrote:
Hi Simon,
I am working for converting my SPI driver to driver model.
I encountered some problems.
My driver need to support many old platforms, such as m68k serials and there is no DTS file for them in kernel now.
It seems that compiling couldn’t be completed successfully with enable CONFIG_DM_SPI and disable CONFIG_OF_CONTROL
because of some functions in file driver/spi/spi-uclass.c call DTS’s interfaces .
So are you working for supporting SPI DM works correctly in some platforms without creating new DTS file for them such as m68k?
Or can you give me some advice?
One suggestion is to add a simple device tree for the platform. If you only need to support serial and SPI it might be quite simple.
Specifically what boards are you supporting?
Regards, Simon
participants (1)
-
Simon Glass