mbox series

[net-next,v3,0/2] net: wwan: Add Qualcomm BAM-DMUX WWAN network driver

Message ID 20211127173108.3992-1-stephan@gerhold.net
Headers show
Series net: wwan: Add Qualcomm BAM-DMUX WWAN network driver | expand

Message

Stephan Gerhold Nov. 27, 2021, 5:31 p.m. UTC
The BAM Data Multiplexer provides access to the network data channels
of modems integrated into many older Qualcomm SoCs, e.g. Qualcomm MSM8916
or MSM8974. This series adds a driver that allows using it.

All the changes in this patch series are based on a quite complicated
driver from Qualcomm [1]. The driver has been used in postmarketOS [2]
on various smartphones/tablets based on Qualcomm MSM8916 and MSM8974
for more than a year now with no reported problems. It works out of
the box with open-source WWAN userspace such as ModemManager.

[1]: https://source.codeaurora.org/quic/la/kernel/msm-3.10/tree/drivers/soc/qcom/bam_dmux.c?h=LA.BR.1.2.9.1-02310-8x16.0
[2]: https://postmarketos.org/

---
Changes in v3:
  - Clarify DT schema based on discussion
  - Drop bam_dma/dmaengine patches since they already landed in 5.16
  - Rebase on net-next
  - Simplify cover letter and commit messages

Changes in v2:
  - Rename "qcom,remote-power-collapse" -> "qcom,powered-remotely"
  - Rebase on net-next and fix conflicts
  - Rename network interfaces from "rmnet%d" -> "wwan%d"
  - Fix wrong file name in MAINTAINERS entry

Stephan Gerhold (2):
  dt-bindings: net: Add schema for Qualcomm BAM-DMUX
  net: wwan: Add Qualcomm BAM-DMUX WWAN network driver

 .../bindings/net/qcom,bam-dmux.yaml           |  92 ++
 MAINTAINERS                                   |   8 +
 drivers/net/wwan/Kconfig                      |  13 +
 drivers/net/wwan/Makefile                     |   1 +
 drivers/net/wwan/qcom_bam_dmux.c              | 907 ++++++++++++++++++
 5 files changed, 1021 insertions(+)
 create mode 100644 Documentation/devicetree/bindings/net/qcom,bam-dmux.yaml
 create mode 100644 drivers/net/wwan/qcom_bam_dmux.c

Comments

patchwork-bot+netdevbpf@kernel.org Nov. 29, 2021, 12:30 p.m. UTC | #1
Hello:

This series was applied to netdev/net-next.git (master)
by David S. Miller <davem@davemloft.net>:

On Sat, 27 Nov 2021 18:31:06 +0100 you wrote:
> The BAM Data Multiplexer provides access to the network data channels
> of modems integrated into many older Qualcomm SoCs, e.g. Qualcomm MSM8916
> or MSM8974. This series adds a driver that allows using it.
> 
> All the changes in this patch series are based on a quite complicated
> driver from Qualcomm [1]. The driver has been used in postmarketOS [2]
> on various smartphones/tablets based on Qualcomm MSM8916 and MSM8974
> for more than a year now with no reported problems. It works out of
> the box with open-source WWAN userspace such as ModemManager.
> 
> [...]

Here is the summary with links:
  - [net-next,v3,1/2] dt-bindings: net: Add schema for Qualcomm BAM-DMUX
    https://git.kernel.org/netdev/net-next/c/f3aee7c900ed
  - [net-next,v3,2/2] net: wwan: Add Qualcomm BAM-DMUX WWAN network driver
    https://git.kernel.org/netdev/net-next/c/21a0ffd9b38c

You are awesome, thank you!