Skip to content

Enable edma support for ti-qspi

Vignesh R u-boot 4 versions – New

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest posting 3/310 patches 0 repliesNew
  2. v2 posting 2/30 of 10 patches 0 repliesSuperseded
  3. v2 posting 1/310 patches 0 repliesSuperseded
Earlier versions · 1
VersionPostedPatchesRepliesStatus
v111 patches0 repliesSuperseded

Changes in v2 from the cover letter

* Move edma related code to edma driver instead of handling it in ti-qspi driver.

Patches in v2 posting 3/3 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/10sf: allocate cache aligned buffers to copy from flashcommon/cmd_sf.c+3 -31 reply
2/10env: use cache line aligned memory for flash readcommon/env_sf.c+6 -50 replies
3/10ARM: AM43xx: Add support for disabling clocks in ubootarch/arm/cpu/armv7/am33xx/clock.c arch/arm/include/asm/arch-am33xx/clock.h+53 -00 replies
4/10ARM: OMAP5: Add support for disabling clocks in ubootarch/arm/cpu/armv7/omap-common/clocks-common.c arch/arm/include/asm/omap_common.h+57 -00 replies
5/10ARM: OMAP5: Add functions to enable and disable EDMA3 clocksarch/arm/cpu/armv7/omap5/hw_data.c arch/arm/cpu/armv7/omap5/prcm-regs.c arch/arm/include/asm/omap_common.h+52 -00 replies
6/10ARM: AM43XX: Add functions to enable and disable EDMA3 clocksarch/arm/cpu/armv7/am33xx/clock_am43xx.c+36 -00 replies
7/10sf: ops: Add spi_flash_copy_mmap functiondrivers/mtd/spi/sf_ops.c include/spi.h+10 -10 replies
8/10dma: ti-edma3: Add helper function to support edma3 transferarch/arm/include/asm/ti-common/ti-edma3.h drivers/dma/ti-edma3.c+80 -00 replies
9/10spi: ti_qspi: Use DMA to read from qspi flashdrivers/spi/ti_qspi.c+23 -02 replies
9/10spi: ti_qspi: Use DMA to read from qspi flashdrivers/spi/ti_qspi.c+25 -00 replies
10/10ARM: dra7xx_evm: Enable EDMA3 in SPL to support DMA on qspiarch/arm/include/asm/arch-omap5/hardware.h include/configs/dra7xx_evm.h+7 -00 replies

Reviews trailers per patch

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

PatchTom RiniJagan Teki
1/10R-b R-b
2/10R-b
3/10R-b
4/10R-b
5/10R-b
6/10R-b R-b
7/10R-b
8/10R-b
9/10R-b R-b
9/10R-b R-b
10/10R-b

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

Read the v2 thread

Cover letter [U-Boot] [U-Boot RESEND v2 00/10] Enable edma support for ti-qspi

This patch series enables DMA for QSPI on dra7xx and am43xx.

Resending this series after rebasing on current origin/master.

v2: https://www.mail-archive.com/u-boot at lists.denx.de/msg179404.html

changes in v2:
* Move edma related code to edma driver instead of handling it in ti-qspi driver.

v1: https://www.mail-archive.com/u-boot at lists.denx.de/msg176479.html

Kishon Vijay Abraham I (2):
ARM: AM43xx: Add support for disabling clocks in uboot
ARM: OMAP5: Add support for disabling clocks in uboot

Ravi Babu (2):
sf: allocate cache aligned buffers to copy from flash
env: use cache line aligned memory for flash read

Tom Rini (1):
sf: ops: Add spi_flash_copy_mmap function

Vignesh R (5):
ARM: OMAP5: Add functions to enable and disable EDMA3 clocks
ARM: AM43XX: Add functions to enable and disable EDMA3 clocks
dma: ti-edma3: Add helper function to support edma3 transfer
spi: ti_qspi: Use DMA to read from qspi flash
ARM: dra7xx_evm: Enable EDMA3 in SPL to support DMA on qspi

 arch/arm/cpu/armv7/am33xx/clock.c              | 52 +++++++++++++++++
 arch/arm/cpu/armv7/am33xx/clock_am43xx.c       | 36 ++++++++++++
 arch/arm/cpu/armv7/omap-common/clocks-common.c | 53 +++++++++++++++++
 arch/arm/cpu/armv7/omap5/hw_data.c             | 41 ++++++++++++++
 arch/arm/cpu/armv7/omap5/prcm-regs.c           |  4 ++
 arch/arm/include/asm/arch-am33xx/clock.h       |  1 +
 arch/arm/include/asm/arch-omap5/hardware.h     |  5 ++
 arch/arm/include/asm/omap_common.h             | 11 ++++
 arch/arm/include/asm/ti-common/ti-edma3.h      |  2 +
 common/cmd_sf.c                                |  6 +-
 common/env_sf.c                                | 11 ++--
 drivers/dma/ti-edma3.c                         | 78 ++++++++++++++++++++++++++
 drivers/mtd/spi/sf_ops.c                       |  8 ++-
 drivers/spi/ti_qspi.c                          | 23 ++++++++
 include/configs/dra7xx_evm.h                   |  2 +
 include/spi.h                                  |  3 +
 16 files changed, 327 insertions(+), 9 deletions(-)
Signature · 1 line
2.5.0