[openwrt/openwrt] kernel: package mhi wwan ctrl driver

LEDE Commits lede-commits at lists.infradead.org
Tue Apr 5 08:34:52 PDT 2022


xback pushed a commit to openwrt/openwrt.git, branch master:
https://git.openwrt.org/2519190fec9b6e16e307f88e0825f4080c399886

commit 2519190fec9b6e16e307f88e0825f4080c399886
Author: Koen Vandeputte <koen.vandeputte at ncentric.com>
AuthorDate: Tue Apr 5 15:05:02 2022 +0200

    kernel: package mhi wwan ctrl driver
    
    MHI WWAN CTRL allows QCOM-based PCIe modems to expose different modem
    control protocols/ports to userspace, including AT, MBIM, QMI, DIAG
    and FIREHOSE. These protocols can be accessed directly from userspace
    (e.g. AT commands) or via libraries/tools (e.g. libmbim, libqmi, libqcdm)
    
    Signed-off-by: Koen Vandeputte <koen.vandeputte at ncentric.com>
---
 package/kernel/linux/modules/netdevices.mk | 16 ++++++++++++++++
 1 file changed, 16 insertions(+)

diff --git a/package/kernel/linux/modules/netdevices.mk b/package/kernel/linux/modules/netdevices.mk
index 539afff475..d864e4eb38 100644
--- a/package/kernel/linux/modules/netdevices.mk
+++ b/package/kernel/linux/modules/netdevices.mk
@@ -1330,3 +1330,19 @@ define KernelPackage/mhi-net/description
 endef
 
 $(eval $(call KernelPackage,mhi-net))
+
+define KernelPackage/mhi-wwan-ctrl
+  SUBMENU:=$(NETWORK_DEVICES_MENU)
+  TITLE:=MHI WWAN Control
+  DEPENDS:=@LINUX_5_15 @PCI_SUPPORT +kmod-mhi-bus
+  KCONFIG:=CONFIG_MHI_WWAN_CTRL
+  FILES:=$(LINUX_DIR)/drivers/net/mhi_wwan_ctrl.ko
+  AUTOLOAD:=$(call AutoProbe,mhi_wwan_ctrl)
+endef
+
+define KernelPackage/mhi-wwan-ctrl/description
+ Driver for MHI WWAN Control
+ This exposes all modem control ports like AT, MBIM, QMI, DIAG, ..
+endef
+
+$(eval $(call KernelPackage,mhi-wwan-ctrl))




More information about the lede-commits mailing list