OSDN Git Service

net: wwan: iosm: add rpc interface for xmm modems
authorShane Parslow <shaneparslow808@gmail.com>
Sat, 29 Oct 2022 09:03:56 +0000 (02:03 -0700)
committerDavid S. Miller <davem@davemloft.net>
Wed, 2 Nov 2022 11:51:03 +0000 (11:51 +0000)
commitd08b0f8f46e45a274fc8c9a5bc92cb9da70d9887
tree3764332328b6e3b310b96cd6da88a8874ae09870
parent3349e4a48acb0923fa98d2beac82a833a76116cb
net: wwan: iosm: add rpc interface for xmm modems

Add a new iosm wwan port that connects to the modem rpc interface. This
interface provides a configuration channel, and in the case of the 7360, is
the only way to configure the modem (as it does not support mbim).

The new interface is compatible with existing software, such as
open_xdatachannel.py from the xmm7360-pci project [1].

[1] https://github.com/xmm7360/xmm7360-pci

Signed-off-by: Shane Parslow <shaneparslow808@gmail.com>
Reviewed-by: Loic Poulain <loic.poulain@linaro.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/wwan/iosm/iosm_ipc_chnl_cfg.c
drivers/net/wwan/wwan_core.c
include/linux/wwan.h