kernel: package mhi pci driver
authorKoen Vandeputte <koen.vandeputte@ncentric.com>
Tue, 5 Apr 2022 12:53:01 +0000 (14:53 +0200)
committerKoen Vandeputte <koen.vandeputte@ncentric.com>
Tue, 5 Apr 2022 15:31:04 +0000 (17:31 +0200)
This driver provides MHI PCI controller driver for devices
such as Qualcomm SDX55 based PCIe modems

Signed-off-by: Koen Vandeputte <koen.vandeputte@ncentric.com>
package/kernel/linux/modules/other.mk

index 7fef26b5233b14b025d685662a4fe028da0703c2..c8fea034c4683a2b3069a2238d896b4342e590e6 100644 (file)
@@ -1354,3 +1354,18 @@ define KernelPackage/mhi-bus/description
 endef
 
 $(eval $(call KernelPackage,mhi-bus))
+
+define KernelPackage/mhi-pci-generic
+  SUBMENU:=$(OTHER_MENU)
+  TITLE:=MHI PCI controller driver
+  DEPENDS:=@LINUX_5_15 +kmod-mhi-bus
+  KCONFIG:=CONFIG_MHI_BUS_PCI_GENERIC
+  FILES:=$(LINUX_DIR)/drivers/bus/mhi/mhi_pci_generic.ko
+  AUTOLOAD:=$(call AutoProbe,mhi_pci_generic)
+endef
+
+define KernelPackage/mhi-pci-generic/description
+  Kernel module for the MHI PCI controller driver.
+endef
+
+$(eval $(call KernelPackage,mhi-pci-generic))