
This patch series enables DMA for QSPI on dra7xx and am43xx. Patch 1 and 2 make sure the buffers are mem aligned for dma operation. Patch 3-6 add support for enabling and disabling of edma3 clocks on am43xx and dra7xx. Patch 7-9 add dma functionality to ti_qspi driver. Patch 10-11 enable edma3 support on dra7xx and am43xx in respective config files.
Tested on DRA74 EVM: http://pastebin.ubuntu.com/11813977/ Tested on AM437X EVM SK: http://pastebin.ubuntu.com/11813994/
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 (6): ARM: OMAP5: Add functions to enable and disable EDMA3 clocks ARM: AM43XX: Add functions to enable and disable EDMA3 clocks spi: ti_qspi: Use DMA to read from qspi flash dma: ti-edma3: Add BIT(x) macro definition ARM: dra7xx_evm: Enable EDMA3 in SPL to support DMA on qspi ARM: am43xx_evm: Enable EDMA3 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-am33xx/hardware_am43xx.h | 3 + arch/arm/include/asm/arch-omap5/hardware.h | 5 ++ arch/arm/include/asm/omap_common.h | 13 +++ common/cmd_sf.c | 6 +- common/env_sf.c | 11 +-- drivers/dma/ti-edma3.c | 2 + drivers/mtd/spi/sf_ops.c | 8 +- drivers/spi/ti_qspi.c | 93 ++++++++++++++++++++++ include/configs/am43xx_evm.h | 2 + include/configs/dra7xx_evm.h | 2 + include/spi.h | 3 + 17 files changed, 326 insertions(+), 9 deletions(-)