xref: /openbmc/linux/drivers/net/wwan/Kconfig (revision 5e90abf49c2adfbd6954429c2a1aafdfe9fcab92)
19a44c1ccSLoic Poulain# SPDX-License-Identifier: GPL-2.0-only
29a44c1ccSLoic Poulain#
39a44c1ccSLoic Poulain# Wireless WAN device configuration
49a44c1ccSLoic Poulain#
59a44c1ccSLoic Poulain
689212e16SLoic Poulainmenu "Wireless WAN"
79a44c1ccSLoic Poulain
889212e16SLoic Poulainconfig WWAN
99a44c1ccSLoic Poulain	tristate "WWAN Driver Core"
109a44c1ccSLoic Poulain	help
119a44c1ccSLoic Poulain	  Say Y here if you want to use the WWAN driver core. This driver
129a44c1ccSLoic Poulain	  provides a common framework for WWAN drivers.
139a44c1ccSLoic Poulain
149a44c1ccSLoic Poulain	  To compile this driver as a module, choose M here: the module will be
159a44c1ccSLoic Poulain	  called wwan.
169a44c1ccSLoic Poulain
1789212e16SLoic Poulainif WWAN
1889212e16SLoic Poulain
19f36a111aSSergey Ryazanovconfig WWAN_HWSIM
20f36a111aSSergey Ryazanov	tristate "Simulated WWAN device"
21f36a111aSSergey Ryazanov	help
22f36a111aSSergey Ryazanov	  This driver is a developer testing tool that can be used to test WWAN
23f36a111aSSergey Ryazanov	  framework.
24f36a111aSSergey Ryazanov
25f36a111aSSergey Ryazanov	  To compile this driver as a module, choose M here: the module will be
26f36a111aSSergey Ryazanov	  called wwan_hwsim.  If unsure, say N.
27f36a111aSSergey Ryazanov
28fa588ebaSLoic Poulainconfig MHI_WWAN_CTRL
29fa588ebaSLoic Poulain	tristate "MHI WWAN control driver for QCOM-based PCIe modems"
30fa588ebaSLoic Poulain	depends on MHI_BUS
31fa588ebaSLoic Poulain	help
32fa588ebaSLoic Poulain	  MHI WWAN CTRL allows QCOM-based PCIe modems to expose different modem
33fa588ebaSLoic Poulain	  control protocols/ports to userspace, including AT, MBIM, QMI, DIAG
34fa588ebaSLoic Poulain	  and FIREHOSE. These protocols can be accessed directly from userspace
35fa588ebaSLoic Poulain	  (e.g. AT commands) or via libraries/tools (e.g. libmbim, libqmi,
36fa588ebaSLoic Poulain	  libqcdm...).
37fa588ebaSLoic Poulain
38fa588ebaSLoic Poulain	  To compile this driver as a module, choose M here: the module will be
39fa588ebaSLoic Poulain	  called mhi_wwan_ctrl.
40fa588ebaSLoic Poulain
41*5e90abf4SStephan Gerholdconfig RPMSG_WWAN_CTRL
42*5e90abf4SStephan Gerhold	tristate "RPMSG WWAN control driver"
43*5e90abf4SStephan Gerhold	depends on RPMSG
44*5e90abf4SStephan Gerhold	help
45*5e90abf4SStephan Gerhold	  RPMSG WWAN CTRL allows modems available via RPMSG channels to expose
46*5e90abf4SStephan Gerhold	  different modem protocols/ports to userspace, including AT and QMI.
47*5e90abf4SStephan Gerhold	  These protocols can be accessed directly from userspace
48*5e90abf4SStephan Gerhold	  (e.g. AT commands) or via libraries/tools (e.g. libqmi, libqcdm...).
49*5e90abf4SStephan Gerhold
50*5e90abf4SStephan Gerhold	  This is mainly used for modems integrated into many Qualcomm SoCs,
51*5e90abf4SStephan Gerhold	  e.g. for AT and QMI on Qualcomm MSM8916 or MSM8974. Note that many
52*5e90abf4SStephan Gerhold	  newer Qualcomm SoCs (e.g. SDM845) still provide an AT port through
53*5e90abf4SStephan Gerhold	  this driver but the QMI messages can only be sent through
54*5e90abf4SStephan Gerhold	  QRTR network sockets (CONFIG_QRTR).
55*5e90abf4SStephan Gerhold
56*5e90abf4SStephan Gerhold	  To compile this driver as a module, choose M here: the module will be
57*5e90abf4SStephan Gerhold	  called rpmsg_wwan_ctrl.
58*5e90abf4SStephan Gerhold
59f7af616cSM Chetan Kumarconfig IOSM
60f7af616cSM Chetan Kumar	tristate "IOSM Driver for Intel M.2 WWAN Device"
61f7af616cSM Chetan Kumar	depends on INTEL_IOMMU
62f7af616cSM Chetan Kumar	help
63f7af616cSM Chetan Kumar	  This driver enables Intel M.2 WWAN Device communication.
64f7af616cSM Chetan Kumar
65f7af616cSM Chetan Kumar	  If you have one of those Intel M.2 WWAN Modules and wish to use it in
66f7af616cSM Chetan Kumar	  Linux say Y/M here.
67f7af616cSM Chetan Kumar
68f7af616cSM Chetan Kumar	  If unsure, say N.
69f7af616cSM Chetan Kumar
709a44c1ccSLoic Poulainendif # WWAN
7189212e16SLoic Poulain
7289212e16SLoic Poulainendmenu
73