2022-07-19 10:08:26 -05:00
|
|
|
# SPDX-License-Identifier: GPL-2.0
|
|
|
|
|
#
|
|
|
|
|
# Makefile for the Qualcomm IPA driver.
|
|
|
|
|
|
2023-11-22 17:09:08 -06:00
|
|
|
IPA_REG_VERSIONS := 3.1 3.5.1 4.2 4.5 4.7 4.9 4.11 5.0 5.5
|
2022-07-19 10:08:26 -05:00
|
|
|
|
2023-02-10 13:36:50 -06:00
|
|
|
# Some IPA versions can reuse another set of GSI register definitions.
|
2023-03-21 13:26:43 -05:00
|
|
|
GSI_REG_VERSIONS := 3.1 3.5.1 4.0 4.5 4.9 4.11 5.0
|
2023-03-21 13:26:42 -05:00
|
|
|
|
2026-04-10 09:40:08 +02:00
|
|
|
IPA_DATA_VERSIONS := 3.1 3.5.1 4.2 4.5 4.7 4.9 4.11 5.0 5.2 5.5
|
2023-02-10 13:36:50 -06:00
|
|
|
|
2020-03-05 22:28:29 -06:00
|
|
|
obj-$(CONFIG_QCOM_IPA) += ipa.o
|
|
|
|
|
|
2021-08-20 11:01:29 -05:00
|
|
|
ipa-y := ipa_main.o ipa_power.o ipa_reg.o ipa_mem.o \
|
2023-02-10 13:36:48 -06: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-05 22:28:29 -06:00
|
|
|
ipa_endpoint.o ipa_cmd.o ipa_modem.o \
|
2021-06-11 15:39:40 -05:00
|
|
|
ipa_resource.o ipa_qmi.o ipa_qmi_msg.o \
|
|
|
|
|
ipa_sysfs.o
|
2020-03-05 22:28:29 -06:00
|
|
|
|
2023-03-21 13:26:42 -05:00
|
|
|
ipa-y += $(IPA_REG_VERSIONS:%=reg/ipa_reg-v%.o)
|
2023-02-10 13:36:50 -06:00
|
|
|
|
2023-03-21 13:26:42 -05:00
|
|
|
ipa-y += $(GSI_REG_VERSIONS:%=reg/gsi_reg-v%.o)
|
2022-09-26 17:09:19 -05:00
|
|
|
|
2023-03-21 13:26:42 -05:00
|
|
|
ipa-y += $(IPA_DATA_VERSIONS:%=data/ipa_data-v%.o)
|