Commit 00e06dfd authored by Mani Sadhasivam's avatar Mani 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 5509c9a8
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment