
On 15 February 2016 at 18:43, Jagan Teki jteki@openedev.com wrote:
On 15 February 2016 at 15:31, Mugunthan V N mugunthanvnm@ti.com wrote:
This patch series enables adds support for dma driver model and to adopt driver model. This has been tested on am437x-sk evm (logs [1]). also pushed a branch for testing [2]
[2]: git://git.ti.com/~mugunthanvnm/ti-u-boot/mugunth-ti-u-boot.git dma-v4
changes from v3->v4:
- Moved *_priv updation from .ofdata_to_platdata to .probe
changes from v2->v3:
- Simplified device find from uclass_find_first_device() and device_probe() to uclass_first_device() so that all dma devices auto probes.
- Changed ENODEV to EPROTONOSUPPORT which is appropriate here
- Added documentation for return values
changes from initial->v2:
- changed config_dm_dma to config_dma.
- removed un-wanted enums.
- added dma_get_device().
- removed post_bind in uclass driver and added device_probe in dma_get_device()
Mugunthan V N (6): dm: implement a DMA uclass dma: Kconfig: Add TI_EDMA3 entry sf: spi_flash: use dma to copy data from mmap region if platform supports spi: ti_qspi: compile out spi_flash_copy_mmap when CONFIG_DMA is defined drivers: dma: ti-edma3: convert driver to adopt driver model defconfig: am437x_sk_evm: enable dma driver model
Reviewed-by: Jagan Teki jteki@openedev.com
Applied to u-boot-spi/master