mirror of
https://github.com/torvalds/linux.git
synced 2026-06-03 20:14:06 +02:00
This patch brings-in support for M.2 7560 Device firmware flashing & coredump collection using devlink. - Driver Registers with Devlink framework. - Register devlink params callback for configuring device params required in flashing or coredump flow. - Implements devlink ops flash_update callback that programs modem firmware. - Creates region & snapshot required for device coredump log collection. On early detection of device in boot rom stage. Driver registers with Devlink framework and establish transport channel for PSI (Primary Signed Image) injection. Once PSI is injected to device, the device execution stage details are read to determine whether device is in flash or exception mode. The collected information is reported to devlink user space application & based on this informationi, application proceeds with either modem firmware flashing or coredump collection. Signed-off-by: M Chetan Kumar <m.chetan.kumar@linux.intel.com> Signed-off-by: David S. Miller <davem@davemloft.net>
86 lines
2.7 KiB
Plaintext
86 lines
2.7 KiB
Plaintext
# SPDX-License-Identifier: GPL-2.0-only
|
|
#
|
|
# Wireless WAN device configuration
|
|
#
|
|
|
|
menu "Wireless WAN"
|
|
|
|
config WWAN
|
|
tristate "WWAN Driver Core"
|
|
help
|
|
Say Y here if you want to use the WWAN driver core. This driver
|
|
provides a common framework for WWAN drivers.
|
|
|
|
To compile this driver as a module, choose M here: the module will be
|
|
called wwan.
|
|
|
|
if WWAN
|
|
|
|
config WWAN_HWSIM
|
|
tristate "Simulated WWAN device"
|
|
help
|
|
This driver is a developer testing tool that can be used to test WWAN
|
|
framework.
|
|
|
|
To compile this driver as a module, choose M here: the module will be
|
|
called wwan_hwsim. If unsure, say N.
|
|
|
|
config MHI_WWAN_CTRL
|
|
tristate "MHI WWAN control driver for QCOM-based PCIe modems"
|
|
depends on MHI_BUS
|
|
help
|
|
MHI WWAN CTRL allows QCOM-based PCIe modems to expose different modem
|
|
control protocols/ports to userspace, including AT, MBIM, QMI, DIAG
|
|
and FIREHOSE. These protocols can be accessed directly from userspace
|
|
(e.g. AT commands) or via libraries/tools (e.g. libmbim, libqmi,
|
|
libqcdm...).
|
|
|
|
To compile this driver as a module, choose M here: the module will be
|
|
called mhi_wwan_ctrl.
|
|
|
|
config MHI_WWAN_MBIM
|
|
tristate "MHI WWAN MBIM network driver for QCOM-based PCIe modems"
|
|
depends on MHI_BUS
|
|
help
|
|
MHI WWAN MBIM is a WWAN network driver for QCOM-based PCIe modems.
|
|
It implements MBIM over MHI, for IP data aggregation and muxing.
|
|
A default wwan0 network interface is created for MBIM data session
|
|
ID 0. Additional links can be created via wwan rtnetlink type.
|
|
|
|
To compile this driver as a module, choose M here: the module will be
|
|
called mhi_wwan_mbim.
|
|
|
|
config RPMSG_WWAN_CTRL
|
|
tristate "RPMSG WWAN control driver"
|
|
depends on RPMSG
|
|
help
|
|
RPMSG WWAN CTRL allows modems available via RPMSG channels to expose
|
|
different modem protocols/ports to userspace, including AT and QMI.
|
|
These protocols can be accessed directly from userspace
|
|
(e.g. AT commands) or via libraries/tools (e.g. libqmi, libqcdm...).
|
|
|
|
This is mainly used for modems integrated into many Qualcomm SoCs,
|
|
e.g. for AT and QMI on Qualcomm MSM8916 or MSM8974. Note that many
|
|
newer Qualcomm SoCs (e.g. SDM845) still provide an AT port through
|
|
this driver but the QMI messages can only be sent through
|
|
QRTR network sockets (CONFIG_QRTR).
|
|
|
|
To compile this driver as a module, choose M here: the module will be
|
|
called rpmsg_wwan_ctrl.
|
|
|
|
config IOSM
|
|
tristate "IOSM Driver for Intel M.2 WWAN Device"
|
|
depends on INTEL_IOMMU
|
|
select NET_DEVLINK
|
|
help
|
|
This driver enables Intel M.2 WWAN Device communication.
|
|
|
|
If you have one of those Intel M.2 WWAN Modules and wish to use it in
|
|
Linux say Y/M here.
|
|
|
|
If unsure, say N.
|
|
|
|
endif # WWAN
|
|
|
|
endmenu
|