remoteproc: qcom: Initialize and enable proxy and active regulators.
authorAvaneesh Kumar Dwivedi <akdwived@codeaurora.org>
Fri, 30 Dec 2016 13:54:02 +0000 (19:24 +0530)
committerBjorn Andersson <bjorn.andersson@linaro.org>
Wed, 18 Jan 2017 18:46:50 +0000 (10:46 -0800)
commit19f902b53b47327e87daecacf0aea450b990f33e
treec4ad1213b6d658c3faf151066b8ad5e7cde81b3a
parent39b2410bdcdbc2f7a96cde9966d8eabe861e6d3c
remoteproc: qcom: Initialize and enable proxy and active regulators.

Certain regulators need voting by rproc on behalf of hexagon only during
restart operation but certain regulator need to be voted till hexagon
is up, these regulators are identified as proxy and active regulators
respectively. This patch provide interface to initialize, enable and
disable proxy and active regulators separately.

Signed-off-by: Avaneesh Kumar Dwivedi <akdwived@codeaurora.org>
[bjorn: dropped disable of proxy regulators from stop]
Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
drivers/remoteproc/qcom_q6v5_pil.c