]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit4e4b013bd2b2d2e21fe4d154489a8251bfff6ba1
tree6f358f4c137c86d465d0f88ca4fa7175ef7a9fea
parentc02c287ecf775e39cdab4757d01ad39dee3645b9
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