OSDN Git Service

arm64: dts: qcom: sa8295p-adp: disallow regulator mode switches
authorJohan Hovold <johan+linaro@kernel.org>
Wed, 3 Aug 2022 12:19:42 +0000 (14:19 +0200)
committerBjorn Andersson <andersson@kernel.org>
Mon, 29 Aug 2022 21:58:16 +0000 (16:58 -0500)
commit2a6164cef63cae77edbd9deef844b1774886fcb7
tree72db2595b5601f66ae0092b0248e5fb25c7373af
parent648ec2f2ddc05346287e308fbc31a6b8117a1edd
arm64: dts: qcom: sa8295p-adp: disallow regulator mode switches

Do not allow the RPMh regulators to switch to low-power mode with an
exception for the UFS regulators (l3c, l6c, l10c and l17c) as UFS
supports an idle mode.

This specifically avoids having regulators be but in low-power mode when
only some consumers specify loads while the actual total load really
warrants high-power mode.

Fixes: 519183af39b2 ("arm64: dts: qcom: add SA8540P and ADP")
Link: https://lore.kernel.org/all/YtkrDcjTGhpaU1e0@hovoldconsulting.com
Signed-off-by: Johan Hovold <johan+linaro@kernel.org>
Reviewed-by: Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org>
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
Link: https://lore.kernel.org/r/20220803121942.30236-4-johan+linaro@kernel.org
arch/arm64/boot/dts/qcom/sa8295p-adp.dts