From mboxrd@z Thu Jan 1 00:00:00 1970 From: Marek Vasut Date: Fri, 14 Nov 2014 21:16:41 +0100 Subject: [U-Boot] [PATCH 3/6] spi: Add designware master SPI DM driver used on SoCFPGA In-Reply-To: <20141112175142.GC30963@amd> References: <1415364634-8290-1-git-send-email-sr@denx.de> <1415364634-8290-4-git-send-email-sr@denx.de> <20141112175142.GC30963@amd> Message-ID: <201411142116.41259.marex@denx.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de 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. Thanks! Best regards, Marek Vasut