mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-11-17 17:24:17 +08:00
858bce9c4c
So far we have been doing all proxy votes by voting for raw voltages/load through the regulator interface. But actually VDDCX and VDDMX represent power domains that should be preferably managed using corner votes through the power domain interface. Looking closer the code was actually never doing the proxy votes correctly: The vddcx regulator is specified as: { "vddcx", .super_turbo = true }, which is supposed to say that we should vote for the maximum corner of the VDDCX power domain. But actually "super_turbo" is unused so all we did so far is to enable the power domain. We did not vote for it to scale to the maximum performance state. Using them through the power domain interface allows voting for the maximum performance state. However, we still need to support using them through the regulator interface for old device trees. The way this is implemented here is that we check if attaching the two power domain succeeds. If yes, we skip the first "num_pd_vregs" regulators in the "vregs" list and only request the remaining ones. Signed-off-by: Stephan Gerhold <stephan@gerhold.net> Link: https://lore.kernel.org/r/20200916104135.25085-9-stephan@gerhold.net Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org> |
||
---|---|---|
.. | ||
da8xx_remoteproc.c | ||
imx_rproc.c | ||
ingenic_rproc.c | ||
Kconfig | ||
keystone_remoteproc.c | ||
Makefile | ||
mtk_common.h | ||
mtk_scp_ipi.c | ||
mtk_scp.c | ||
omap_remoteproc.c | ||
omap_remoteproc.h | ||
qcom_common.c | ||
qcom_common.h | ||
qcom_pil_info.c | ||
qcom_pil_info.h | ||
qcom_q6v5_adsp.c | ||
qcom_q6v5_mss.c | ||
qcom_q6v5_pas.c | ||
qcom_q6v5_wcss.c | ||
qcom_q6v5.c | ||
qcom_q6v5.h | ||
qcom_sysmon.c | ||
qcom_wcnss_iris.c | ||
qcom_wcnss.c | ||
qcom_wcnss.h | ||
remoteproc_cdev.c | ||
remoteproc_core.c | ||
remoteproc_coredump.c | ||
remoteproc_debugfs.c | ||
remoteproc_elf_helpers.h | ||
remoteproc_elf_loader.c | ||
remoteproc_internal.h | ||
remoteproc_sysfs.c | ||
remoteproc_virtio.c | ||
st_remoteproc.c | ||
st_slim_rproc.c | ||
stm32_rproc.c | ||
ti_k3_dsp_remoteproc.c | ||
ti_k3_r5_remoteproc.c | ||
ti_sci_proc.h | ||
wkup_m3_rproc.c |