[PATCH 0/3] arm64: dts: qcom: sc8280xp: disallow regulator mode switches

From: Johan Hovold
Date: Wed Aug 03 2022 - 08:26:27 EST


A recent change in a USB/DP PHY driver that started specifying regulator
loads caused the regulators that were also shared with the PCIe and USB
PHYs to be put in low-power mode, something which broke PCIe and USB on
sa8295p-adp.

As was discussed in the following thread:

https://lore.kernel.org/all/YtkrDcjTGhpaU1e0@xxxxxxxxxxxxxxxxxxxx

regulators should generally not be allowed to switch to low-power mode
unless some of the consumers can actually support an idle mode.

This series disables mode-switching for all regulators on sc8280xp-crd,
sc8280xp-lenovo-thinkpad-x13s and sa8295p-adp except for the ones used
by the UFS controllers which do support an idle mode.

Johan


Johan Hovold (3):
arm64: dts: qcom: sc8280xp-crd: disallow regulator mode switches
arm64: dts: qcom: sc8280xp-lenovo-thinkpad-x13s: disallow regulator
mode switches
arm64: dts: qcom: sa8295p-adp: disallow regulator mode switches

arch/arm64/boot/dts/qcom/sa8295p-adp.dts | 11 -----------
arch/arm64/boot/dts/qcom/sc8280xp-crd.dts | 9 ---------
.../boot/dts/qcom/sc8280xp-lenovo-thinkpad-x13s.dts | 10 ----------
3 files changed, 30 deletions(-)

--
2.35.1