06 Feb, 2020

1 commit


09 Dec, 2019

1 commit

  • Sometimes, there would be a need to exchange data between DMA provider
    and DMA client which are very specific to DMA driver of the SoC/platform
    and are not generic enough to be put into struct dma. Therefore, introduce
    dma_get_cfg() interface to get DMA provider specific data from client
    device. Clients can use unique configuration ID flags to get different
    configuration data from DMA driver.

    Signed-off-by: Vignesh Raghavendra
    Acked-by: Joe Hershberger
    Reviewed-by: Grygorii Strashko

    Vignesh Raghavendra
     

07 Dec, 2018

2 commits

  • This adds channels support for dma controllers that have multiple channels
    which can transfer data to/from different devices (enet, usb...).

    DMA channle API:
    dma_get_by_index()
    dma_get_by_name()
    dma_request()
    dma_free()
    dma_enable()
    dma_disable()
    dma_prepare_rcv_buf()
    dma_receive()
    dma_send()

    Reviewed-by: Tom Rini
    Signed-off-by: Álvaro Fernández Rojas
    [grygorii.strashko@ti.com: drop unused dma_get_by_index_platdata(),
    add metadata to send/receive ops, add dma_prepare_rcv_buf(),
    minor clean up]
    Signed-off-by: Grygorii Strashko
    Reviewed-by: Simon Glass

    Álvaro Fernández Rojas
     
  • Move dma_ops to a separate header file, following other uclass
    implementations. While doing so, this patch also improves dma_ops
    documentation.

    Reviewed-by: Tom Rini
    Reviewed-by: Simon Glass
    Signed-off-by: Álvaro Fernández Rojas
    Signed-off-by: Grygorii Strashko

    Álvaro Fernández Rojas