remoteproc: qcom: Add SLPI rproc support to load and boot slpi proc.

This patch add slpi remoteproc support in existing adsp rproc driver.

Signed-off-by: Avaneesh Kumar Dwivedi <[email protected]>
[bjorn: documented aggre2 and px-supply]
Signed-off-by: Bjorn Andersson <[email protected]>
This commit is contained in:
Avaneesh Kumar Dwivedi 2017-01-30 20:33:08 +05:30 • committed by Bjorn Andersson
commit 90a068ed3f
2 changed files with 47 additions and 4 deletions

View file

@ -1,5 +1,5 @@
/*
* Qualcomm ADSP Peripheral Image Loader for MSM8974 and MSM8996
* Qualcomm ADSP/SLPI Peripheral Image Loader for MSM8974 and MSM8996
*
* Copyright (C) 2016 Linaro Ltd
* Copyright (C) 2014 Sony Mobile Communications AB
@ -459,9 +459,17 @@ static const struct adsp_data adsp_resource_init = {
.has_aggre2_clk = false,
};
static const struct adsp_data slpi_resource_init = {
.crash_reason_smem = 424,
.firmware_name = "slpi.mdt",
.pas_id = 12,
.has_aggre2_clk = true,
};
static const struct of_device_id adsp_of_match[] = {
{ .compatible = "qcom,msm8974-adsp-pil", .data = &adsp_resource_init},
{ .compatible = "qcom,msm8996-adsp-pil", .data = &adsp_resource_init},
{ .compatible = "qcom,msm8996-slpi-pil", .data = &slpi_resource_init},
{ },
};
MODULE_DEVICE_TABLE(of, adsp_of_match);