[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20231004-reg-smd-unused-v1-0-5d682493d555@kernkonzept.com>
Date: Wed, 04 Oct 2023 16:17:16 +0200
From: Stephan Gerhold <stephan.gerhold@...nkonzept.com>
To: Mark Brown <broonie@...nel.org>
Cc: Liam Girdwood <lgirdwood@...il.com>,
Andy Gross <agross@...nel.org>,
Bjorn Andersson <andersson@...nel.org>,
Konrad Dybcio <konrad.dybcio@...aro.org>,
linux-kernel@...r.kernel.org, linux-arm-msm@...r.kernel.org,
Stephan Gerhold <stephan@...hold.net>,
Stephan Gerhold <stephan.gerhold@...nkonzept.com>
Subject: [PATCH RFC 0/2] regulator: qcom_smd: Disable unused regulators
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@...nkonzept.com>
---
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@...nkonzept.com>
Kernkonzept GmbH at Dresden, Germany, HRB 31129, CEO Dr.-Ing. Michael Hohmuth
Powered by blists - more mailing lists