OSDN Git Service

soc: qcom: spm: Implement support for SAWv4.1, SDM630/660 L2 AVS
authorAngeloGioacchino Del Regno <angelogioacchino.delregno@somainline.org>
Thu, 29 Jul 2021 15:56:07 +0000 (17:56 +0200)
committerBjorn Andersson <bjorn.andersson@linaro.org>
Tue, 21 Sep 2021 22:41:48 +0000 (17:41 -0500)
commit13e72c3e22611915f9a71a513b640e064a403e78
tree6f358f4c137c86d465d0f88ca4fa7175ef7a9fea
parentf8881c5d2fcb24b5b10b0d462e5fa0bbe9014af5
soc: qcom: spm: Implement support for SAWv4.1, SDM630/660 L2 AVS

Implement the support for SAW v4.1, used in at least MSM8998,
SDM630, SDM660 and APQ variants and, while at it, also add the
configuration for the SDM630/660 Silver and Gold cluster L2
Adaptive Voltage Scaler: this is also one of the prerequisites
to allow the OSM controller to perform DCVS.

Please note that despite there are various "versions" of these
values downstream, these are the only ones that are perfectly
stable on the entire set of tested devices.

Signed-off-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@somainline.org>
Reviewed-by: Stephan Gerhold <stephan@gerhold.net>
Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
Link: https://lore.kernel.org/r/20210729155609.608159-4-angelogioacchino.delregno@somainline.org
drivers/soc/qcom/spm.c
include/soc/qcom/spm.h