
22 Feb
2018
22 Feb
'18
5:18 p.m.
On 21 February 2018 at 09:10, Álvaro Fernández Rojas noltari@gmail.com wrote:
This adds channels support for dma controllers that have multiple channels which can transfer data to/from different devices (enet, usb...).
Signed-off-by: Álvaro Fernández Rojas noltari@gmail.com
v3: Introduce changes reported by Simon Glass:
- Improve dma-uclass.h documentation.
- Switch to live tree API.
drivers/dma/Kconfig | 7 ++ drivers/dma/dma-uclass.c | 188 +++++++++++++++++++++++++++++++++++++++++++++-- include/dma-uclass.h | 78 ++++++++++++++++++++ include/dma.h | 174 ++++++++++++++++++++++++++++++++++++++++++- 4 files changed, 439 insertions(+), 8 deletions(-)
Reviewed-by: Simon Glass sjg@chromium.org
Re moving the code into ofdata_to_platdata(), I suppose what you have here is OK.
Regards, Simon