2022-07-19 23:08:26 +08:00
|
|
|
# SPDX-License-Identifier: GPL-2.0
|
|
|
|
#
|
|
|
|
# Makefile for the Qualcomm IPA driver.
|
|
|
|
|
2023-03-22 02:26:42 +08:00
|
|
|
IPA_REG_VERSIONS := 3.1 3.5.1 4.2 4.5 4.7 4.9 4.11 5.0
|
2022-07-19 23:08:26 +08:00
|
|
|
|
2023-02-11 03:36:50 +08:00
|
|
|
# Some IPA versions can reuse another set of GSI register definitions.
|
2023-03-22 02:26:43 +08:00
|
|
|
GSI_REG_VERSIONS := 3.1 3.5.1 4.0 4.5 4.9 4.11 5.0
|
2023-03-22 02:26:42 +08:00
|
|
|
|
2023-03-22 02:26:44 +08:00
|
|
|
IPA_DATA_VERSIONS := 3.1 3.5.1 4.2 4.5 4.7 4.9 4.11 5.0
|
2023-02-11 03:36:50 +08:00
|
|
|
|
2020-03-06 12:28:29 +08:00
|
|
|
obj-$(CONFIG_QCOM_IPA) += ipa.o
|
|
|
|
|
2021-08-21 00:01:29 +08:00
|
|
|
ipa-y := ipa_main.o ipa_power.o ipa_reg.o ipa_mem.o \
|
2023-02-11 03:36:48 +08:00
|
|
|
ipa_table.o ipa_interrupt.o gsi.o gsi_reg.o \
|
|
|
|
gsi_trans.o ipa_gsi.o ipa_smp2p.o ipa_uc.o \
|
2020-03-06 12:28:29 +08:00
|
|
|
ipa_endpoint.o ipa_cmd.o ipa_modem.o \
|
2021-06-12 04:39:40 +08:00
|
|
|
ipa_resource.o ipa_qmi.o ipa_qmi_msg.o \
|
|
|
|
ipa_sysfs.o
|
2020-03-06 12:28:29 +08:00
|
|
|
|
2023-03-22 02:26:42 +08:00
|
|
|
ipa-y += $(IPA_REG_VERSIONS:%=reg/ipa_reg-v%.o)
|
2023-02-11 03:36:50 +08:00
|
|
|
|
2023-03-22 02:26:42 +08:00
|
|
|
ipa-y += $(GSI_REG_VERSIONS:%=reg/gsi_reg-v%.o)
|
2022-09-27 06:09:19 +08:00
|
|
|
|
2023-03-22 02:26:42 +08:00
|
|
|
ipa-y += $(IPA_DATA_VERSIONS:%=data/ipa_data-v%.o)
|