Commit 1bb1a117 authored by Alex Elder's avatar Alex Elder Committed by David S. Miller

net: ipa: add IPA v3.1 configuration data

Add support for the MSM8998 SoC, which includes IPA version 3.1.

Originally proposed by AngeloGioacchino Del Regno.

Link: https://lore.kernel.org/netdev/20210211175015.200772-6-angelogioacchino.delregno@somainline.orgSigned-off-by: default avatarAlex Elder <elder@linaro.org>
Acked-by: AngeloGioacchino Del Regno
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent bae70a80
...@@ -10,6 +10,6 @@ ipa-y := ipa_main.o ipa_clock.o ipa_reg.o ipa_mem.o \ ...@@ -10,6 +10,6 @@ ipa-y := ipa_main.o ipa_clock.o ipa_reg.o ipa_mem.o \
ipa_resource.o ipa_qmi.o ipa_qmi_msg.o \ ipa_resource.o ipa_qmi.o ipa_qmi_msg.o \
ipa_sysfs.o ipa_sysfs.o
ipa-y += ipa_data-v3.5.1.o ipa_data-v4.2.o \ ipa-y += ipa_data-v3.1.o ipa_data-v3.5.1.o \
ipa_data-v4.5.o ipa_data-v4.9.o \ ipa_data-v4.2.o ipa_data-v4.5.o \
ipa_data-v4.11.o ipa_data-v4.9.o ipa_data-v4.11.o
This diff is collapsed.
...@@ -300,6 +300,7 @@ struct ipa_data { ...@@ -300,6 +300,7 @@ struct ipa_data {
const struct ipa_clock_data *clock_data; const struct ipa_clock_data *clock_data;
}; };
extern const struct ipa_data ipa_data_v3_1;
extern const struct ipa_data ipa_data_v3_5_1; extern const struct ipa_data ipa_data_v3_5_1;
extern const struct ipa_data ipa_data_v4_2; extern const struct ipa_data ipa_data_v4_2;
extern const struct ipa_data ipa_data_v4_5; extern const struct ipa_data ipa_data_v4_5;
......
...@@ -578,6 +578,10 @@ static int ipa_firmware_load(struct device *dev) ...@@ -578,6 +578,10 @@ static int ipa_firmware_load(struct device *dev)
} }
static const struct of_device_id ipa_match[] = { static const struct of_device_id ipa_match[] = {
{
.compatible = "qcom,msm8998-ipa",
.data = &ipa_data_v3_1,
},
{ {
.compatible = "qcom,sdm845-ipa", .compatible = "qcom,sdm845-ipa",
.data = &ipa_data_v3_5_1, .data = &ipa_data_v3_5_1,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment