devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH net-next v3 0/2] net: wwan: Add Qualcomm BAM-DMUX WWAN network driver
@ 2021-11-27 17:31 Stephan Gerhold
  2021-11-27 17:31 ` [PATCH net-next v3 1/2] dt-bindings: net: Add schema for Qualcomm BAM-DMUX Stephan Gerhold
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Stephan Gerhold @ 2021-11-27 17:31 UTC (permalink / raw)
  To: David S. Miller, Jakub Kicinski
  Cc: Loic Poulain, Sergey Ryazanov, Johannes Berg, Bjorn Andersson,
	Andy Gross, Rob Herring, Aleksander Morgado, netdev,
	linux-arm-msm, devicetree, linux-kernel, phone-devel,
	~postmarketos/upstreaming, Jeffrey Hugo, Stephan Gerhold

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

-- 
2.34.1


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2021-11-29 12:32 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-11-27 17:31 [PATCH net-next v3 0/2] net: wwan: Add Qualcomm BAM-DMUX WWAN network driver Stephan Gerhold
2021-11-27 17:31 ` [PATCH net-next v3 1/2] dt-bindings: net: Add schema for Qualcomm BAM-DMUX Stephan Gerhold
2021-11-27 17:31 ` [PATCH net-next v3 2/2] net: wwan: Add Qualcomm BAM-DMUX WWAN network driver Stephan Gerhold
2021-11-29 12:30 ` [PATCH net-next v3 0/2] " patchwork-bot+netdevbpf

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).