Commit 9e004f97 authored by Bjorn Andersson's avatar Bjorn Andersson

remoteproc: qcom: Rename Hexagon v5 PAS driver

The Hexagon v5 ADSP driver is used for more than only the ADSP and
there's an upcoming non-PAS ADSP PIL for SDM845, so rename the driver to
qcom_q6v5_pas in order to better suite this.

Cc: Rohit kumar <rohitkr@codeaurora.org>
Reviewed-by: default avatarNiklas Cassel <niklas.cassel@linaro.org>
Signed-off-by: default avatarBjorn Andersson <bjorn.andersson@linaro.org>
parent d5269c45
...@@ -84,8 +84,16 @@ config KEYSTONE_REMOTEPROC ...@@ -84,8 +84,16 @@ config KEYSTONE_REMOTEPROC
It's safe to say N here if you're not interested in the Keystone It's safe to say N here if you're not interested in the Keystone
DSPs or just want to use a bare minimum kernel. DSPs or just want to use a bare minimum kernel.
config QCOM_ADSP_PIL config QCOM_RPROC_COMMON
tristate "Qualcomm ADSP Peripheral Image Loader" tristate
config QCOM_Q6V5_COMMON
tristate
depends on ARCH_QCOM
depends on QCOM_SMEM
config QCOM_Q6V5_PAS
tristate "Qualcomm Hexagon v5 Peripheral Authentication Service support"
depends on OF && ARCH_QCOM depends on OF && ARCH_QCOM
depends on QCOM_SMEM depends on QCOM_SMEM
depends on RPMSG_QCOM_SMD || (COMPILE_TEST && RPMSG_QCOM_SMD=n) depends on RPMSG_QCOM_SMD || (COMPILE_TEST && RPMSG_QCOM_SMD=n)
...@@ -98,15 +106,7 @@ config QCOM_ADSP_PIL ...@@ -98,15 +106,7 @@ config QCOM_ADSP_PIL
select QCOM_SCM select QCOM_SCM
help help
Say y here to support the TrustZone based Peripherial Image Loader Say y here to support the TrustZone based Peripherial Image Loader
for the Qualcomm ADSP remote processors. for the Qualcomm Hexagon v5 based remote processors.
config QCOM_RPROC_COMMON
tristate
config QCOM_Q6V5_COMMON
tristate
depends on ARCH_QCOM
depends on QCOM_SMEM
config QCOM_Q6V5_PIL config QCOM_Q6V5_PIL
tristate "Qualcomm Hexagon V5 Peripherial Image Loader" tristate "Qualcomm Hexagon V5 Peripherial Image Loader"
...@@ -120,8 +120,9 @@ config QCOM_Q6V5_PIL ...@@ -120,8 +120,9 @@ config QCOM_Q6V5_PIL
select QCOM_RPROC_COMMON select QCOM_RPROC_COMMON
select QCOM_SCM select QCOM_SCM
help help
Say y here to support the Qualcomm Peripherial Image Loader for the Say y here to support the TrustZone based Peripherial Image Loader
Hexagon V5 based remote processors. for the Qualcomm Hexagon v5 based remote processors. This is commonly
used to control subsystems such as ADSP, Compute and Sensor.
config QCOM_Q6V5_WCSS config QCOM_Q6V5_WCSS
tristate "Qualcomm Hexagon based WCSS Peripheral Image Loader" tristate "Qualcomm Hexagon based WCSS Peripheral Image Loader"
......
...@@ -14,9 +14,9 @@ obj-$(CONFIG_OMAP_REMOTEPROC) += omap_remoteproc.o ...@@ -14,9 +14,9 @@ obj-$(CONFIG_OMAP_REMOTEPROC) += omap_remoteproc.o
obj-$(CONFIG_WKUP_M3_RPROC) += wkup_m3_rproc.o obj-$(CONFIG_WKUP_M3_RPROC) += wkup_m3_rproc.o
obj-$(CONFIG_DA8XX_REMOTEPROC) += da8xx_remoteproc.o obj-$(CONFIG_DA8XX_REMOTEPROC) += da8xx_remoteproc.o
obj-$(CONFIG_KEYSTONE_REMOTEPROC) += keystone_remoteproc.o obj-$(CONFIG_KEYSTONE_REMOTEPROC) += keystone_remoteproc.o
obj-$(CONFIG_QCOM_ADSP_PIL) += qcom_adsp_pil.o
obj-$(CONFIG_QCOM_RPROC_COMMON) += qcom_common.o obj-$(CONFIG_QCOM_RPROC_COMMON) += qcom_common.o
obj-$(CONFIG_QCOM_Q6V5_COMMON) += qcom_q6v5.o obj-$(CONFIG_QCOM_Q6V5_COMMON) += qcom_q6v5.o
obj-$(CONFIG_QCOM_Q6V5_PAS) += qcom_q6v5_pas.o
obj-$(CONFIG_QCOM_Q6V5_PIL) += qcom_q6v5_pil.o obj-$(CONFIG_QCOM_Q6V5_PIL) += qcom_q6v5_pil.o
obj-$(CONFIG_QCOM_Q6V5_WCSS) += qcom_q6v5_wcss.o obj-$(CONFIG_QCOM_Q6V5_WCSS) += qcom_q6v5_wcss.o
obj-$(CONFIG_QCOM_SYSMON) += qcom_sysmon.o obj-$(CONFIG_QCOM_SYSMON) += qcom_sysmon.o
......
...@@ -376,11 +376,11 @@ static struct platform_driver adsp_driver = { ...@@ -376,11 +376,11 @@ static struct platform_driver adsp_driver = {
.probe = adsp_probe, .probe = adsp_probe,
.remove = adsp_remove, .remove = adsp_remove,
.driver = { .driver = {
.name = "qcom_adsp_pil", .name = "qcom_q6v5_pas",
.of_match_table = adsp_of_match, .of_match_table = adsp_of_match,
}, },
}; };
module_platform_driver(adsp_driver); module_platform_driver(adsp_driver);
MODULE_DESCRIPTION("Qualcomm MSM8974/MSM8996 ADSP Peripherial Image Loader"); MODULE_DESCRIPTION("Qualcomm Hexagon v5 Peripheral Authentication Service driver");
MODULE_LICENSE("GPL v2"); MODULE_LICENSE("GPL v2");
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