[U-Boot] [PATCH 3/6] spi: Add designware master SPI DM driver used on SoCFPGA

Stefan Roese sr at denx.de
Sat Nov 15 14:33:27 CET 2014


On 14.11.2014 21:16, Marek Vasut wrote:
> On Wednesday, November 12, 2014 at 06:51:42 PM, Pavel Machek wrote:
>> Hi!
>>
>> You tripped my spell-checker, sorry.
>>
>>> This patch adds the driver for the Designware master SPI controller. This
>>> IP core is integrated on the Altera SoCFPGA. This implementation is a
>>> driver model (DM) implementation. So multiple SPI drivers can be used.
>>> Thats necessary, since SoCFPGA also integrates the Cadence QSPI
>>> controller used to connect the SPI NOR flashes. Without DM, using
>>> multiple SPI driver is not possible.
>>
>> drivers.
>>
>>> This driver is very loosly based on the Linux driver. Most of the
>>
>> loosely?
>>
>>> driver is removed. Only the polling loop for the transfer is really used
>>> from this driver. As we don't support interrupts and DMA right now.
>>
>> , as
>>
>>> + * Very loosly based on the Linux driver version which is:
>> loosely. (And citing filename here might be useful.)
>
> I fixed the text and I placed this whole driver patchset to
>
> u-boot-socfpga:topic/drivers/spi-20141114
>
> Can you please fix the code so I can replace that one patch ? Or just
> send me one which I can squash into this patch, either way works.

Yes. I'll take a look at it tomorrow or on Monday.

Thanks,
Stefan



More information about the U-Boot mailing list