public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [U-Boot] [PATCH v2 0/6] add dma uclass implementation and adopt ti-edma3 to it
@ 2015-12-23 16:42 Mugunthan V N
  2015-12-23 16:42 ` [U-Boot] [PATCH v2 1/6] dm: implement a DMA uclass Mugunthan V N
                   ` (5 more replies)
  0 siblings, 6 replies; 11+ messages in thread
From: Mugunthan V N @ 2015-12-23 16:42 UTC (permalink / raw)
  To: u-boot

this patch series enables adds support for dma driver model and
to adopt driver model. this has been tested on am437x-sk evms
(logs [1]).
also pushed a branch for testing [2]

[1]: http://pastebin.ubuntu.com/14167595/
[2]: git://git.ti.com/~mugunthanvnm/ti-u-boot/mugunth-ti-u-boot.git dm-dma-v2

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

 configs/am437x_sk_evm_defconfig |  1 +
 drivers/dma/Kconfig             | 22 +++++++++++
 drivers/dma/Makefile            |  2 +
 drivers/dma/dma-uclass.c        | 78 +++++++++++++++++++++++++++++++++++++++
 drivers/dma/ti-edma3.c          | 74 ++++++++++++++++++++++++++++++++++++-
 drivers/mtd/spi/spi_flash.c     |  9 +++++
 drivers/spi/ti_qspi.c           |  2 +-
 include/dm/uclass-id.h          |  1 +
 include/dma.h                   | 81 +++++++++++++++++++++++++++++++++++++++++
 9 files changed, 267 insertions(+), 3 deletions(-)
 create mode 100644 drivers/dma/dma-uclass.c
 create mode 100644 include/dma.h

-- 
2.7.0.rc1.5.gf3adf45

^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2016-01-06  6:30 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-12-23 16:42 [U-Boot] [PATCH v2 0/6] add dma uclass implementation and adopt ti-edma3 to it Mugunthan V N
2015-12-23 16:42 ` [U-Boot] [PATCH v2 1/6] dm: implement a DMA uclass Mugunthan V N
2016-01-06  0:24   ` Simon Glass
2016-01-06  6:30     ` Mugunthan V N
2015-12-23 16:42 ` [U-Boot] [PATCH v2 2/6] dma: Kconfig: Add TI_EDMA3 entry Mugunthan V N
2015-12-23 16:43 ` [U-Boot] [PATCH v2 3/6] sf: spi_flash: use dma to copy data from mmap region if platform supports Mugunthan V N
2015-12-23 16:43 ` [U-Boot] [PATCH v2 4/6] spi: ti_qspi: compile out spi_flash_copy_mmap when CONFIG_DMA is defined Mugunthan V N
2016-01-06  0:24   ` Simon Glass
2015-12-23 16:43 ` [U-Boot] [PATCH v2 5/6] drivers: dma: ti-edma3: convert driver to adopt driver model Mugunthan V N
2016-01-06  0:24   ` Simon Glass
2015-12-23 16:43 ` [U-Boot] [PATCH v2 6/6] defconfig: am437x_sk_evm: enable dma " Mugunthan V N

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox