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/20240318-dw-hdma-v5-5-f04c5cdde760@linaro.org Signed-off-by: Mrinmay Sarkar <quic_msarkar@quicinc.com> Signed-off-by: Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org> Signed-off-by: Krzysztof Wilczyński <kwilczynski@kernel.org> Signed-off-by: Bjorn Helgaas <bhelgaas@google.com> Reviewed-by: Frank Li <frank.li@nxp.com> Reviewed-by: Siddharth Vadapalli <s-vadapalli@ti.com>
1 parent c94391b commit 3c6c844

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

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)