Skip to content

U-Boot: Add support for Cadence QSPI on K2G

Vignesh R u-boot 2 versions – New

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v1 Latest posting 2/24 patches 0 repliesNew
  2. v1 posting 1/20 of 4 patches 0 repliesSuperseded

Patches in v1 posting 2/2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4spi: cadence_qspi_apb: Support 32 bit AHB addressdrivers/spi/cadence_qspi_apb.c+2 -30 replies
2/4spi: cadence_quadspi: Enable QUAD mode based on DT datadrivers/spi/cadence_qspi.c drivers/spi/cadence_qspi.h drivers/spi/cadence_qspi_apb.c+8 -70 replies
3/4ARM: dts: K2G: Add support for QSPI controllerarch/arm/dts/k2g-evm.dts arch/arm/dts/k2g.dtsi+59 -00 replies
4/4defconfig: k2g_evm_defconfig: Enable Cadence QSPI controllerconfigs/k2g_evm_defconfig include/configs/k2g_evm.h+8 -00 replies

Reviews trailers per patch

All 4 patches have a Reviewed-by or Acked-by.

PatchMarek VasutJagan TekiTom Rini
1/4T-b A-b R-b
2/4T-b A-b R-b
3/4R-b R-b
4/4R-b R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 3 reviewers.

Read the v1 thread

Cover letter [U-Boot] [RESEND PATCH 0/4] U-Boot: Add support for Cadence QSPI on K2G

This series adds support for Cadence QSPI controller present on K2G SoC.

The first patch extends AHB address to 32 bit as K2G has 32 bit AHB address. Second patch to enable QUAD mode based on DT data instead of relying on config option. And last to patches add DT node and add configs to enable the driver.

Depends on [1] to enable SPI driver model support on K2G and [2] to support different bus frequencies for two different SPI controllers present on K2G EVM.

[1]https://www.mail-archive.com/u-boot at lists.denx.de/msg217952.html [2]https://www.mail-archive.com/u-boot at lists.denx.de/msg217964.html

Rebased on top of v2016.07-rc3

Vignesh R (4):
spi: cadence_qspi_apb: Support 32 bit AHB address
spi: cadence_quadspi: Enable QUAD mode based on DT data
ARM: dts: K2G: Add support for QSPI controller
defconfig: k2g_evm_defconfig: Enable Cadence QSPI controller

 arch/arm/dts/k2g-evm.dts       | 45 ++++++++++++++++++++++++++++++++++++++++++
 arch/arm/dts/k2g.dtsi          | 14 +++++++++++++
 configs/k2g_evm_defconfig      |  2 ++
 drivers/spi/cadence_qspi.c     |  3 ++-
 drivers/spi/cadence_qspi.h     |  2 +-
 drivers/spi/cadence_qspi_apb.c | 15 +++++++-------
 include/configs/k2g_evm.h      |  6 ++++++
 7 files changed, 77 insertions(+), 10 deletions(-)
Signature · 1 line
2.9.0