diff options
author | David S. Miller <davem@davemloft.net> | 2021-06-18 23:13:40 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2021-06-18 23:13:40 +0300 |
commit | 4bea7207a80c8bba3b3eb5b84c407b162968475f (patch) | |
tree | 149cbe7b468334c730c302617fc331876e11e726 /drivers/net/wwan/Kconfig | |
parent | 01bf086b7c836bf5ccb6a92bb98b42ebfc841fc7 (diff) | |
parent | 31c143f712750143abaca396236bbe8707700111 (diff) | |
download | linux-4bea7207a80c8bba3b3eb5b84c407b162968475f.tar.xz |
Merge branch 'RPMSG-WWAN-CTRL-driver'
Stephan Gerhold says:
====================
net: wwan: Add RPMSG WWAN CTRL driver
This patch series adds a WWAN "control" driver for the remote processor
messaging (rpmsg) subsystem. This subsystem allows communicating with
an integrated modem DSP on many Qualcomm SoCs, e.g. MSM8916 or MSM8974.
The driver is a fairly simple glue layer between WWAN and RPMSG
and is mostly based on the existing mhi_wwan_ctrl.c and rpmsg_char.c.
For more information, see commit message in PATCH 2/3.
I already posted a RFC for this a while ago:
https://lore.kernel.org/linux-arm-msm/YLfL9Q+4860uqS8f@gerhold.net/
and now I'm looking for some feedback for the actual changes. :)
Changes in v3:
- PATCH 2/3: Clarify commit message
- PATCH 3/3: Fix build error for cdc-wdm.c, use extra tx_blocking() op instead
v2: https://lore.kernel.org/netdev/20210618075243.42046-1-stephan@gerhold.net/
Changes in v2: Only in PATCH 3/3
- Fix EPOLLOUT being always set even if poll op is defined
- Rename poll() op -> tx_poll() since it should be only used for TX
v1: https://lore.kernel.org/netdev/20210615133229.213064-1-stephan@gerhold.net/
====================
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/wwan/Kconfig')
-rw-r--r-- | drivers/net/wwan/Kconfig | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/drivers/net/wwan/Kconfig b/drivers/net/wwan/Kconfig index 249b3f1ed62b..de9384326bc8 100644 --- a/drivers/net/wwan/Kconfig +++ b/drivers/net/wwan/Kconfig @@ -38,6 +38,24 @@ config MHI_WWAN_CTRL To compile this driver as a module, choose M here: the module will be called mhi_wwan_ctrl. +config RPMSG_WWAN_CTRL + tristate "RPMSG WWAN control driver" + depends on RPMSG + help + RPMSG WWAN CTRL allows modems available via RPMSG channels to expose + different modem protocols/ports to userspace, including AT and QMI. + These protocols can be accessed directly from userspace + (e.g. AT commands) or via libraries/tools (e.g. libqmi, libqcdm...). + + This is mainly used for modems integrated into many Qualcomm SoCs, + e.g. for AT and QMI on Qualcomm MSM8916 or MSM8974. Note that many + newer Qualcomm SoCs (e.g. SDM845) still provide an AT port through + this driver but the QMI messages can only be sent through + QRTR network sockets (CONFIG_QRTR). + + To compile this driver as a module, choose M here: the module will be + called rpmsg_wwan_ctrl. + config IOSM tristate "IOSM Driver for Intel M.2 WWAN Device" depends on INTEL_IOMMU |