]> www.infradead.org Git - users/hch/misc.git/commit
net: wwan: t7xx: Add fastboot WWAN port
authorJinjian Song <jinjian.song@fibocom.com>
Mon, 5 Feb 2024 10:22:30 +0000 (18:22 +0800)
committerDavid S. Miller <davem@davemloft.net>
Fri, 9 Feb 2024 12:07:48 +0000 (12:07 +0000)
commit2dac6381c3da50d4b2525fd0514e41e8041ad974
tree827a7808fcb9fb3cc5999f31f473c8687f2207a6
parentd27553c14f06f4db61cb9ddaf88e8d4df91d740c
net: wwan: t7xx: Add fastboot WWAN port

On early detection of wwan device in fastboot mode, driver sets
up CLDMA0 HW tx/rx queues for raw data transfer and then create
fastboot port to userspace.

Application can use this port to flash firmware and collect
core dump by fastboot protocol commands.
E.g., flash firmware through fastboot port:
 - "download:%08x": write data to memory with the download size.
 - "flash:%s": write the previously downloaded image to the named partition.
 - "reboot": reboot the device.

Link: https://android.googlesource.com/platform/system/core/+/refs/heads/main/fastboot/README.md
Signed-off-by: Jinjian Song <jinjian.song@fibocom.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Documentation/networking/device_drivers/wwan/t7xx.rst
drivers/net/wwan/t7xx/t7xx_port_proxy.c
drivers/net/wwan/t7xx/t7xx_port_wwan.c
drivers/net/wwan/t7xx/t7xx_state_monitor.c