[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20210615133229.213064-1-stephan@gerhold.net>
Date: Tue, 15 Jun 2021 15:32:26 +0200
From: Stephan Gerhold <stephan@...hold.net>
To: "David S. Miller" <davem@...emloft.net>,
Jakub Kicinski <kuba@...nel.org>
Cc: Loic Poulain <loic.poulain@...aro.org>,
Bjorn Andersson <bjorn.andersson@...aro.org>,
Aleksander Morgado <aleksander@...ksander.es>,
Sergey Ryazanov <ryazanov.s.a@...il.com>,
Johannes Berg <johannes.berg@...el.com>,
M Chetan Kumar <m.chetan.kumar@...el.com>,
Ohad Ben-Cohen <ohad@...ery.com>,
Mathieu Poirier <mathieu.poirier@...aro.org>,
netdev@...r.kernel.org, linux-remoteproc@...r.kernel.org,
linux-arm-msm@...r.kernel.org, phone-devel@...r.kernel.org,
linux-kernel@...r.kernel.org,
~postmarketos/upstreaming@...ts.sr.ht,
Stephan Gerhold <stephan@...hold.net>
Subject: [PATCH net-next 0/3] 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. :)
Especially patch 3/3 is still up for discussion, perhaps there is a cleaner
way to implement the blocking/non-blocking writes for rpmsg_wwan_ctrl?
Stephan Gerhold (3):
rpmsg: core: Add driver_data for rpmsg_device_id
net: wwan: Add RPMSG WWAN CTRL driver
net: wwan: Allow WWAN drivers to provide blocking tx and poll function
MAINTAINERS | 7 ++
drivers/net/wwan/Kconfig | 18 +++
drivers/net/wwan/Makefile | 1 +
drivers/net/wwan/iosm/iosm_ipc_port.c | 3 +-
drivers/net/wwan/mhi_wwan_ctrl.c | 3 +-
drivers/net/wwan/rpmsg_wwan_ctrl.c | 156 ++++++++++++++++++++++++++
drivers/net/wwan/wwan_core.c | 9 +-
drivers/net/wwan/wwan_hwsim.c | 3 +-
drivers/rpmsg/rpmsg_core.c | 4 +-
include/linux/mod_devicetable.h | 1 +
include/linux/wwan.h | 13 ++-
11 files changed, 207 insertions(+), 11 deletions(-)
create mode 100644 drivers/net/wwan/rpmsg_wwan_ctrl.c
--
2.32.0
Powered by blists - more mailing lists