u-boot-brain/drivers
Stefan Roese 5bef6fd79f spi: Add designware master SPI DM driver used on SoCFPGA
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
drivers is not possible.

This driver is very loosely based on the Linux driver. Most of the Linux
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.

This is tested on the SoCrates SoCFPGA board using the SPI pins on the
P14 header.

Signed-off-by: Stefan Roese <sr@denx.de>
Cc: Chin Liang See <clsee@altera.com>
Cc: Dinh Nguyen <dinguyen@altera.com>
Cc: Vince Bridgers <vbridger@altera.com>
Cc: Marek Vasut <marex@denx.de>
Cc: Pavel Machek <pavel@denx.de>
Reviewed-by: Simon Glass <sjg@chromium.org>
Cc: Jagannadha Sutradharudu Teki <jagannadh.teki@gmail.com>
2014-12-06 13:52:47 +01:00
..
bios_emulator bios_emulator: Always print errors when opcode decode fails 2014-11-25 07:11:17 -07:00
block Merge branch 'master' of git://www.denx.de/git/u-boot-imx 2014-11-24 12:02:12 -05:00
bootcount qe: move immap_qe.h from arch directory into common directory 2014-07-22 16:25:54 -07:00
core dm: core: remove unnecessary return condition in uclass lookup 2014-11-22 10:16:49 +01:00
crypto crypto/fsl: Add command for encapsulating/decapsulating blobs 2014-10-16 14:20:40 -07:00
ddr/fsl linux/kernel.h: sync min, max, min3, max3 macros with Linux 2014-11-23 06:48:30 -05:00
demo kbuild: refactor some makefiles 2014-09-24 18:30:29 -04:00
dfu linux/kernel.h: sync min, max, min3, max3 macros with Linux 2014-11-23 06:48:30 -05:00
dma dma: keystone_nav: remove spurious qm_cfg verification 2014-11-06 11:04:39 -05:00
fpga fs: API changes enabling extra parameter to return size of type loff_t 2014-11-23 06:49:04 -05:00
gpio Merge git://git.denx.de/u-boot-dm 2014-11-24 12:01:48 -05:00
hwmon kconfig: add blank Kconfig files 2014-09-24 18:30:28 -04:00
i2c linux/kernel.h: sync min, max, min3, max3 macros with Linux 2014-11-23 06:48:30 -05:00
input tegra: make local functions static 2014-10-25 07:27:37 -04:00
memory ARM: keystone: aemif: move aemif driver to drivers/memory/ti-aemif.c 2014-06-19 17:53:58 -04:00
misc Merge git://git.denx.de/u-boot-dm 2014-11-24 12:01:48 -05:00
mmc Merge branch 'master' of git://git.denx.de/u-boot-mpc85xx 2014-11-26 11:22:29 -05:00
mtd mtd: nand: s3c: Unify the register definition and naming 2014-11-26 23:21:43 -06:00
net Merge branch 'master' of git://git.denx.de/u-boot-mpc85xx 2014-11-26 11:22:29 -05:00
pci pci: Add general support for execution of video ROMs 2014-11-25 07:11:14 -07:00
pcmcia kconfig: add blank Kconfig files 2014-09-24 18:30:28 -04:00
power arm: odroid: pmic77686: allow buck voltage settings 2014-11-17 19:33:21 +09:00
pwm pwm, imx6: add support for pwm modul on imx6 2014-07-23 12:25:42 +02:00
qe u_qe: add u_qe_upload_firmware for u_qe 2014-11-19 12:56:19 -08:00
rtc rtc: mc146818: Set up RTC at start of day 2014-11-25 06:33:59 -07:00
serial Merge git://git.denx.de/u-boot-fdt 2014-12-01 15:24:26 -05:00
soc soc: keystone_serdes: generalize configuration mechanism 2014-10-23 11:27:28 -04:00
sound kconfig: add blank Kconfig files 2014-09-24 18:30:28 -04:00
spi spi: Add designware master SPI DM driver used on SoCFPGA 2014-12-06 13:52:47 +01:00
thermal DM: thermal: Add imx thermal DM driver 2014-11-21 15:30:01 +01:00
tpm linux/kernel.h: sync min, max, min3, max3 macros with Linux 2014-11-23 06:48:30 -05:00
twserial drivers: convert makefiles to Kbuild style 2013-10-31 13:26:01 -04:00
usb usb: UniPhier: support OF configuration 2014-11-28 02:21:01 +09:00
video Merge git://git.denx.de/u-boot-x86 2014-12-01 15:24:07 -05:00
watchdog kconfig: add blank Kconfig files 2014-09-24 18:30:28 -04:00
Kconfig kconfig: add blank Kconfig files 2014-09-24 18:30:28 -04:00
Makefile Merge branch 'master' of git://git.denx.de/u-boot-fsl-qoriq 2014-11-26 11:23:26 -05:00