remoteproc: qcom: q6v5: Add interconnect path proxy vote
authorBjorn Andersson <bjorn.andersson@linaro.org>
Fri, 25 Feb 2022 03:32:24 +0000 (19:32 -0800)
committerBjorn Andersson <bjorn.andersson@linaro.org>
Fri, 11 Mar 2022 20:22:03 +0000 (14:22 -0600)
commit8d9be5c6bdcda9e29597d3fbb24d1f6699da4616
tree4b06305a03b56665379866d92e4d361c36526f1d
parent80d691854ffbf99c8a88584703e0141b31e63205
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
drivers/remoteproc/qcom_q6v5.c
drivers/remoteproc/qcom_q6v5.h