At the moment unused regulators managed by the RPM firmware on Qualcomm platforms stay on forever if they are already on during boot. This is because we have no way of checking if they are really on or not. Fix this by sending an explicit disable request for all unused regulators managed by the qcom_smd-regulator driver. I'm sending this as RFC mainly for the change in the regulator core. There is also a slight chance of breakage for incomplete device trees that mistakenly rely on having unused regulators always-on. Signed-off-by: Stephan Gerhold <stephan.gerhold@xxxxxxxxxxxxxxx> --- Stephan Gerhold (2): regulator: core: Disable unused regulators with unknown status regulator: qcom_smd: Disable unused regulators drivers/regulator/core.c | 9 +++++++-- drivers/regulator/qcom_smd-regulator.c | 5 +++-- 2 files changed, 10 insertions(+), 4 deletions(-) --- base-commit: f9a1d31874c383f58bb4f89bfe79b764682cd026 change-id: 20231004-reg-smd-unused-95bcf0d586fb Best regards, -- Stephan Gerhold <stephan.gerhold@xxxxxxxxxxxxxxx> Kernkonzept GmbH at Dresden, Germany, HRB 31129, CEO Dr.-Ing. Michael Hohmuth