mirror of https://gitee.com/openkylin/linux.git
remoteproc: qcom: pas: Add modem support for SDX55
Add remoteproc support for Hexagon modem found on the Qualcomm SDX55 platform. Signed-off-by: Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org> Link: https://lore.kernel.org/r/20210408171211.92141-1-manivannan.sadhasivam@linaro.org Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
This commit is contained in:
parent
7a64a5c2e0
commit
3fdba9d27c
|
@ -785,6 +785,22 @@ static const struct adsp_data wcss_resource_init = {
|
||||||
.ssctl_id = 0x12,
|
.ssctl_id = 0x12,
|
||||||
};
|
};
|
||||||
|
|
||||||
|
static const struct adsp_data sdx55_mpss_resource = {
|
||||||
|
.crash_reason_smem = 421,
|
||||||
|
.firmware_name = "modem.mdt",
|
||||||
|
.pas_id = 4,
|
||||||
|
.has_aggre2_clk = false,
|
||||||
|
.auto_boot = true,
|
||||||
|
.proxy_pd_names = (char*[]){
|
||||||
|
"cx",
|
||||||
|
"mss",
|
||||||
|
NULL
|
||||||
|
},
|
||||||
|
.ssr_name = "mpss",
|
||||||
|
.sysmon_name = "modem",
|
||||||
|
.ssctl_id = 0x22,
|
||||||
|
};
|
||||||
|
|
||||||
static const struct of_device_id adsp_of_match[] = {
|
static const struct of_device_id adsp_of_match[] = {
|
||||||
{ .compatible = "qcom,msm8974-adsp-pil", .data = &adsp_resource_init},
|
{ .compatible = "qcom,msm8974-adsp-pil", .data = &adsp_resource_init},
|
||||||
{ .compatible = "qcom,msm8996-adsp-pil", .data = &adsp_resource_init},
|
{ .compatible = "qcom,msm8996-adsp-pil", .data = &adsp_resource_init},
|
||||||
|
@ -797,6 +813,7 @@ static const struct of_device_id adsp_of_match[] = {
|
||||||
{ .compatible = "qcom,sc7180-mpss-pas", .data = &mpss_resource_init},
|
{ .compatible = "qcom,sc7180-mpss-pas", .data = &mpss_resource_init},
|
||||||
{ .compatible = "qcom,sdm845-adsp-pas", .data = &adsp_resource_init},
|
{ .compatible = "qcom,sdm845-adsp-pas", .data = &adsp_resource_init},
|
||||||
{ .compatible = "qcom,sdm845-cdsp-pas", .data = &cdsp_resource_init},
|
{ .compatible = "qcom,sdm845-cdsp-pas", .data = &cdsp_resource_init},
|
||||||
|
{ .compatible = "qcom,sdx55-mpss-pas", .data = &sdx55_mpss_resource},
|
||||||
{ .compatible = "qcom,sm8150-adsp-pas", .data = &sm8150_adsp_resource},
|
{ .compatible = "qcom,sm8150-adsp-pas", .data = &sm8150_adsp_resource},
|
||||||
{ .compatible = "qcom,sm8150-cdsp-pas", .data = &sm8150_cdsp_resource},
|
{ .compatible = "qcom,sm8150-cdsp-pas", .data = &sm8150_cdsp_resource},
|
||||||
{ .compatible = "qcom,sm8150-mpss-pas", .data = &mpss_resource_init},
|
{ .compatible = "qcom,sm8150-mpss-pas", .data = &mpss_resource_init},
|
||||||
|
|
Loading…
Reference in New Issue