Commit 3f54b2fd authored by Manivannan Sadhasivam's avatar Manivannan Sadhasivam Committed by Dmitry Baryshkov
Browse files

bus: mhi: ep: Introduce transfer_{to/from}_host APIs



In preparation for adding DMA support, let's introduce separate APIs for
copying the MHI buffers between the host and endpoint. The MHI controller
drivers can use the DMA operations on these APIs if supported and use iATU
for rest of the read/write operations using {read_from/write_to}_host APIs.

Signed-off-by: default avatarManivannan Sadhasivam <manivannan.sadhasivam@linaro.org>
parent 9a06e462
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment