Skip to content

Commit 1bf5f25

Browse files
Mani-Sadhasivambjorn-helgaas
authored andcommitted
PCI: endpoint: Add PCI Endpoint function driver for MHI bus
Add PCI Endpoint driver for the Qualcomm MHI (Modem Host Interface) bus. The driver implements the MHI function over PCI in the endpoint device such as SDX55 modem. The MHI endpoint function driver acts as a controller driver for the MHI Endpoint stack and carries out all PCI related functionality. Link: https://lore.kernel.org/r/20230602114756.36586-9-manivannan.sadhasivam@linaro.org Signed-off-by: Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org> Signed-off-by: Lorenzo Pieralisi <lpieralisi@kernel.org> Signed-off-by: Bjorn Helgaas <bhelgaas@google.com> Reviewed-by: Kishon Vijay Abraham I <kishon@kernel.org> Reviewed-by: Damien Le Moal <dlemoal@kernel.org>
1 parent 8f05cd3 commit 1bf5f25

File tree

3 files changed

+469
-0
lines changed

3 files changed

+469
-0
lines changed

drivers/pci/endpoint/functions/Kconfig

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,3 +37,13 @@ config PCI_EPF_VNTB
3737
between PCI Root Port and PCIe Endpoint.
3838

3939
If in doubt, say "N" to disable Endpoint NTB driver.
40+
41+
config PCI_EPF_MHI
42+
tristate "PCI Endpoint driver for MHI bus"
43+
depends on PCI_ENDPOINT && MHI_BUS_EP
44+
help
45+
Enable this configuration option to enable the PCI Endpoint
46+
driver for Modem Host Interface (MHI) bus in Qualcomm Endpoint
47+
devices such as SDX55.
48+
49+
If in doubt, say "N" to disable Endpoint driver for MHI bus.

drivers/pci/endpoint/functions/Makefile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,3 +6,4 @@
66
obj-$(CONFIG_PCI_EPF_TEST) += pci-epf-test.o
77
obj-$(CONFIG_PCI_EPF_NTB) += pci-epf-ntb.o
88
obj-$(CONFIG_PCI_EPF_VNTB) += pci-epf-vntb.o
9+
obj-$(CONFIG_PCI_EPF_MHI) += pci-epf-mhi.o

0 commit comments

Comments
 (0)