-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
soc: qcom: ipa: support build of IPA code
Add build and Kconfig support for the Qualcomm IPA driver. Signed-off-by: Alex Elder <elder@linaro.org> Signed-off-by: David S. Miller <davem@davemloft.net>
- Loading branch information
Alex Elder
authored and
David S. Miller
committed
Mar 9, 2020
1 parent
530f921
commit 08120d2
Showing
4 changed files
with
34 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
config QCOM_IPA | ||
tristate "Qualcomm IPA support" | ||
depends on ARCH_QCOM && 64BIT && NET | ||
select QCOM_QMI_HELPERS | ||
select QCOM_MDT_LOADER | ||
default QCOM_Q6V5_COMMON | ||
help | ||
Choose Y or M here to include support for the Qualcomm | ||
IP Accelerator (IPA), a hardware block present in some | ||
Qualcomm SoCs. The IPA is a programmable protocol processor | ||
that is capable of generic hardware handling of IP packets, | ||
including routing, filtering, and NAT. Currently the IPA | ||
driver supports only basic transport of network traffic | ||
between the AP and modem, on the Qualcomm SDM845 SoC. | ||
|
||
Note that if selected, the selection type must match that | ||
of QCOM_Q6V5_COMMON (Y or M). | ||
|
||
If unsure, say N. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
# Un-comment the next line if you want to validate configuration data | ||
#ccflags-y += -DIPA_VALIDATE | ||
|
||
obj-$(CONFIG_QCOM_IPA) += ipa.o | ||
|
||
ipa-y := ipa_main.o ipa_clock.o ipa_reg.o ipa_mem.o \ | ||
ipa_table.o ipa_interrupt.o gsi.o gsi_trans.o \ | ||
ipa_gsi.o ipa_smp2p.o ipa_uc.o \ | ||
ipa_endpoint.o ipa_cmd.o ipa_modem.o \ | ||
ipa_qmi.o ipa_qmi_msg.o | ||
|
||
ipa-y += ipa_data-sdm845.o ipa_data-sc7180.o |