bus: mhi: Add MHI PCI support for WWAN modems
Subsystems (2)
PATCH v2 1/1 bus: mhi: Add MHI PCI support for WWAN modems
This is a generic MHI-over-PCI controller driver for MHI only devices such as QCOM modems. For now it supports registering of Qualcomm SDX55 based PCIe modules. The MHI channels have been extracted from mhi downstream driver.
This driver is for MHI-only devices which have all functionnalities exposed through MHI channels and accessed by the corresponding MHI device drivers (no out-of-band communication).
Signed-off-by Loic Poulain <[email protected]>
---
v2: - remove useless delay.h include
- remove over-logging on error
- remove controller subdir
- rename to mhi_pci_modem.c
- Fix mhi_pci_probe exit path on error
- expand module description
- drop module version
drivers/bus/mhi/Kconfig | 8 + drivers/bus/mhi/Makefile | 2 + drivers/bus/mhi/mhi_pci_modem.c | 313 ++++++++++++++++++++++++++++++++++++++++ 3 files changed, 323 insertions(+) create mode 100644 drivers/bus/mhi/mhi_pci_modem.c
drivers/bus/mhi/Kconfig +8 -0
@@ -20,3 +20,11 @@ config MHI_BUS_DEBUG Enable debugfs support for use with the MHI transport. Allows reading and/or modifying some values within the MHI controller for debug and test purposes. + +config MHI_BUS_PCI_MODEM + tristate "MHI WWAN modem PCI controller driver" + depends on MHI_BUS + depends on PCI + help + This driver provides PCI controller driver for MHI WWAN modem + devices such as Qualcomm SDX55 based PCIe modems.
drivers/bus/mhi/Makefile +2 -0
@@ -1,2 +1,4 @@ # core layer obj-y += core/ + +obj-$(CONFIG_MHI_BUS_PCI_MODEM) := mhi_pci_modem.o
drivers/bus/mhi/mhi_pci_modem.c new file +313 -0
313 lines not on this page · raw message
Signature · 1 line
2.7.4