mbox series

[net-next,v8,0/4] net: wwan: t7xx: Add fastboot interface

Message ID MEYP282MB2697B2E0997F8A7455C0E031BB422@MEYP282MB2697.AUSP282.PROD.OUTLOOK.COM (mailing list archive)
Headers show
Series net: wwan: t7xx: Add fastboot interface | expand

Message

Jinjian Song Feb. 2, 2024, 2:52 p.m. UTC
From: Jinjian Song <jinjian.song@fibocom.com>

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   |  46 ++++++
 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              | 103 ++++++++++++-
 drivers/net/wwan/t7xx/t7xx_pci.h              |  14 +-
 drivers/net/wwan/t7xx/t7xx_port.h             |   4 +
 drivers/net/wwan/t7xx/t7xx_port_proxy.c       | 108 ++++++++++++--
 drivers/net/wwan/t7xx/t7xx_port_proxy.h       |  10 ++
 drivers/net/wwan/t7xx/t7xx_port_wwan.c        | 115 +++++++++++----
 drivers/net/wwan/t7xx/t7xx_reg.h              |  24 +++-
 drivers/net/wwan/t7xx/t7xx_state_monitor.c    | 136 +++++++++++++++---
 drivers/net/wwan/t7xx/t7xx_state_monitor.h    |   1 +
 drivers/net/wwan/wwan_core.c                  |   4 +
 include/linux/wwan.h                          |   2 +
 16 files changed, 553 insertions(+), 90 deletions(-)