kernel: package mhi bus driver
authorKoen Vandeputte <koen.vandeputte@ncentric.com>
Fri, 1 Apr 2022 08:50:25 +0000 (10:50 +0200)
committerKoen Vandeputte <koen.vandeputte@ncentric.com>
Tue, 5 Apr 2022 15:31:04 +0000 (17:31 +0200)
Signed-off-by: Koen Vandeputte <koen.vandeputte@ncentric.com>
package/kernel/linux/modules/other.mk

index f3ad5bd9fedf5c4006cc8a2fb12dc3c45d7202aa..7fef26b5233b14b025d685662a4fe028da0703c2 100644 (file)
@@ -1338,3 +1338,19 @@ define KernelPackage/f71808e-wdt/description
 endef
 
 $(eval $(call KernelPackage,f71808e-wdt))
+
+define KernelPackage/mhi-bus
+  SUBMENU:=$(OTHER_MENU)
+  TITLE:=MHI bus
+  DEPENDS:=@LINUX_5_15
+  KCONFIG:=CONFIG_MHI_BUS \
+           CONFIG_MHI_BUS_DEBUG=y
+  FILES:=$(LINUX_DIR)/drivers/bus/mhi/core/mhi.ko
+  AUTOLOAD:=$(call AutoProbe,mhi)
+endef
+
+define KernelPackage/mhi-bus/description
+  Kernel module for the Qualcomm MHI bus.
+endef
+
+$(eval $(call KernelPackage,mhi-bus))