Skip to content

Commit 3c6c844

Browse files
Mrinmay Sarkarbjorn-helgaas
authored andcommitted
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/[email protected] Signed-off-by: Mrinmay Sarkar <[email protected]> Signed-off-by: Manivannan Sadhasivam <[email protected]> Signed-off-by: Krzysztof Wilczyński <[email protected]> Signed-off-by: Bjorn Helgaas <[email protected]> Reviewed-by: Frank Li <[email protected]> Reviewed-by: Siddharth Vadapalli <[email protected]>
1 parent c94391b commit 3c6c844

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

drivers/pci/endpoint/functions/pci-epf-mhi.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -137,6 +137,7 @@ static const struct pci_epf_mhi_ep_info sa8775p_info = {
137137
.epf_flags = PCI_BASE_ADDRESS_MEM_TYPE_32,
138138
.msi_count = 32,
139139
.mru = 0x8000,
140+
.flags = MHI_EPF_USE_DMA,
140141
};
141142

142143
struct pci_epf_mhi {

0 commit comments

Comments
 (0)