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