summaryrefslogtreecommitdiff
path: root/drivers/remoteproc/qcom_q6v5.h
diff options
context:
space:
mode:
authorBjorn Andersson <bjorn.andersson@linaro.org>2022-02-25 06:32:24 +0300
committerBjorn Andersson <bjorn.andersson@linaro.org>2022-03-11 23:22:03 +0300
commit8d9be5c6bdcda9e29597d3fbb24d1f6699da4616 (patch)
tree4b06305a03b56665379866d92e4d361c36526f1d /drivers/remoteproc/qcom_q6v5.h
parent80d691854ffbf99c8a88584703e0141b31e63205 (diff)
downloadlinux-8d9be5c6bdcda9e29597d3fbb24d1f6699da4616.tar.xz
remoteproc: qcom: q6v5: Add interconnect path proxy vote
Many remoteproc instances requires that Linux casts a proxy vote for an interconnect path during boot, until they can do it themselves. Add support for voting for a single path. As this is a shared problem between both PAS and MSS drivers, the path is acquired and votes casted from the common helper code. Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org> Reviewed-by: Georgi Djakov <djakov@kernel.org> Link: https://lore.kernel.org/r/20220225033224.2238425-1-bjorn.andersson@linaro.org
Diffstat (limited to 'drivers/remoteproc/qcom_q6v5.h')
-rw-r--r--drivers/remoteproc/qcom_q6v5.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/remoteproc/qcom_q6v5.h b/drivers/remoteproc/qcom_q6v5.h
index f35e04471ed7..5a859c41896e 100644
--- a/drivers/remoteproc/qcom_q6v5.h
+++ b/drivers/remoteproc/qcom_q6v5.h
@@ -7,6 +7,7 @@
#include <linux/completion.h>
#include <linux/soc/qcom/qcom_aoss.h>
+struct icc_path;
struct rproc;
struct qcom_smem_state;
struct qcom_sysmon;
@@ -18,6 +19,8 @@ struct qcom_q6v5 {
struct qcom_smem_state *state;
struct qmp *qmp;
+ struct icc_path *path;
+
unsigned stop_bit;
int wdog_irq;