Skip to content

arm: socfpga: Add Designware SPI support

Stefan Roese u-boot 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest6 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/6arm: socfpga: Add DW master SPI clock to clock_manager.carch/arm/cpu/armv7/socfpga/clock_manager.c+14 -02 replies
2/6arm: socfpga: Add socfpga_spim_enable() to reset_manager.carch/arm/cpu/armv7/socfpga/misc.c arch/arm/cpu/armv7/socfpga/reset_manager.c arch/arm/include/asm/arch-socfpga/reset_manager.h+18 -01 reply
2/6arm: socfpga: Add socfpga_spim_enable() to reset_manager.c+0 -00 replies
3/6spi: Add designware master SPI DM driver used on SoCFPGAdrivers/spi/Makefile drivers/spi/designware_spi.c+426 -04 replies
3/6spi: Add designware master SPI DM driver used on SoCFPGA+0 -01 reply
4/6arm: socfpga: dts: Add spi0/1 dts nodes for the Designware master SPI devicesarch/arm/dts/socfpga.dtsi+28 -01 reply
5/6arm: socfpga: dts: socrates: Add spi1/2 aliases needed DM SPI probingarch/arm/dts/socfpga_cyclone5_socrates.dts+2 -01 reply
6/6arm: socfpga: Add Designware (DW) SPI support to config headerinclude/configs/socfpga_common.h+12 -02 replies
6/6arm: socfpga: Add Designware (DW) SPI support to config header+0 -01 reply

Reviews trailers per patch

5 of 9 patches have a Reviewed-by or Acked-by.

PatchSimon GlassPavel Machek
1/6A-b
2/6
2/6
3/6R-b
3/6R-b
4/6A-b
5/6A-b
6/6
6/6

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [U-Boot] [PATCH 0/6] arm: socfpga: Add Designware SPI support

Hi!

This patchset 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.

As mentioned above, this patchset depends on the SoCFPGA DT support. And its also done on-top of the Cadence QSPI support I posted a short while ago. But it doesn't depend on it. Its just that the patch series will most likely generate merge conflicts if not applied in this sequence.

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

Thanks,
Stefan

Cc Chin Liang See <[email protected]>
Cc Dinh Nguyen <[email protected]>
Cc Vince Bridgers <[email protected]>
Cc Marek Vasut <[email protected]>
Cc Pavel Machek <[email protected]>
Cc Simon Glass <[email protected]>
Cc Jagannadha Sutradharudu Teki <[email protected]>