Commit 3c6c8443 authored by Mrinmay Sarkar's avatar Mrinmay Sarkar Committed by Bjorn Helgaas

PCI: epf-mhi: Enable HDMA for SA8775P SoC

SA8775P SoC supports Hyper DMA (HDMA) DMA Engine present in the DWC IP. So,
enable it in the EPF driver so that the DMA Engine APIs can be used for data
transfer.

[mani: reworded commit message]
Link: https://lore.kernel.org/linux-pci/20240318-dw-hdma-v5-5-f04c5cdde760@linaro.orgSigned-off-by: default avatarMrinmay Sarkar <quic_msarkar@quicinc.com>
Signed-off-by: default avatarManivannan Sadhasivam <manivannan.sadhasivam@linaro.org>
Signed-off-by: default avatarKrzysztof Wilczyński <kwilczynski@kernel.org>
Signed-off-by: default avatarBjorn Helgaas <bhelgaas@google.com>
Reviewed-by: default avatarFrank Li <frank.li@nxp.com>
Reviewed-by: default avatarSiddharth Vadapalli <s-vadapalli@ti.com>
parent c94391ba
...@@ -137,6 +137,7 @@ static const struct pci_epf_mhi_ep_info sa8775p_info = { ...@@ -137,6 +137,7 @@ static const struct pci_epf_mhi_ep_info sa8775p_info = {
.epf_flags = PCI_BASE_ADDRESS_MEM_TYPE_32, .epf_flags = PCI_BASE_ADDRESS_MEM_TYPE_32,
.msi_count = 32, .msi_count = 32,
.mru = 0x8000, .mru = 0x8000,
.flags = MHI_EPF_USE_DMA,
}; };
struct pci_epf_mhi { struct pci_epf_mhi {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment