[net-next v5 0/4] net: wwan: t7xx: Add fastboot interface
From: Jinjian Song <hidden>
Date: 2024-01-22 09:10:09
From: Jinjian Song <redacted>
Add support for t7xx WWAN device firmware flashing & coredump collection
using fastboot interface.
Using fastboot protocol command through /dev/wwan0fastboot0 WWAN port to
support firmware flashing and coredump collection, userspace get device
mode from /sys/bus/pci/devices/${bdf}/t7xx_mode.
Jinjian Song (4):
wwan: core: Add WWAN fastboot port type
net: wwan: t7xx: Add sysfs attribute for device state machine
net: wwan: t7xx: Infrastructure for early port configuration
net: wwan: t7xx: Add fastboot WWAN port
.../networking/device_drivers/wwan/t7xx.rst | 42 +++++
drivers/net/wwan/t7xx/Makefile | 1 +
drivers/net/wwan/t7xx/t7xx_hif_cldma.c | 47 ++++--
drivers/net/wwan/t7xx/t7xx_hif_cldma.h | 18 +-
drivers/net/wwan/t7xx/t7xx_modem_ops.c | 10 +-
drivers/net/wwan/t7xx/t7xx_modem_ops.h | 1 +
drivers/net/wwan/t7xx/t7xx_pci.c | 98 ++++++++++-
drivers/net/wwan/t7xx/t7xx_pci.h | 14 +-
drivers/net/wwan/t7xx/t7xx_port.h | 4 +
drivers/net/wwan/t7xx/t7xx_port_fastboot.c | 155 ++++++++++++++++++
drivers/net/wwan/t7xx/t7xx_port_proxy.c | 108 ++++++++++--
drivers/net/wwan/t7xx/t7xx_port_proxy.h | 12 ++
drivers/net/wwan/t7xx/t7xx_port_wwan.c | 5 +-
drivers/net/wwan/t7xx/t7xx_reg.h | 24 ++-
drivers/net/wwan/t7xx/t7xx_state_monitor.c | 128 +++++++++++++--
drivers/net/wwan/t7xx/t7xx_state_monitor.h | 1 +
drivers/net/wwan/wwan_core.c | 4 +
include/linux/wwan.h | 2 +
18 files changed, 613 insertions(+), 61 deletions(-)
create mode 100644 drivers/net/wwan/t7xx/t7xx_port_fastboot.c
--
2.34.1