OSDN Git Service

arm64: dts: qcom: sc8280xp-crd: disallow regulator mode switches
authorJohan Hovold <johan+linaro@kernel.org>
Wed, 3 Aug 2022 12:19:40 +0000 (14:19 +0200)
committerBjorn Andersson <andersson@kernel.org>
Mon, 29 Aug 2022 21:58:16 +0000 (16:58 -0500)
commit412737a60c846a6adb7f7571905c200da036815e
treeccacc1af57f5ed28915dfec7227f1181d653bb44
parentd9a1e922730389afc425f2250de361b7f07acdbc
arm64: dts: qcom: sc8280xp-crd: disallow regulator mode switches

Do not allow the RPMh regulators to switch to low-power mode with an
exception for the UFS regulators (l7c and l3d) 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: ccd3517faf18 ("arm64: dts: qcom: sc8280xp: Add reference device")
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-2-johan+linaro@kernel.org
arch/arm64/boot/dts/qcom/sc8280xp-crd.dts