The Linux Kernel Mailing List
 help / color / mirror / Atom feed
* [PATCH] regulator: qcom-rpmh: Fix pm8010 pmic5_pldo502ln minimum voltage
@ 2024-02-14 12:16 Bryan O'Donoghue
  2024-02-14 13:22 ` Abel Vesa
  2024-02-14 13:25 ` Mark Brown
  0 siblings, 2 replies; 13+ messages in thread
From: Bryan O'Donoghue @ 2024-02-14 12:16 UTC (permalink / raw)
  To: bryan.odonoghue, andersson, konrad.dybcio, lgirdwood, broonie,
	quic_fenglinw, quic_collinsd
  Cc: linux-arm-msm, linux-kernel, bryan.odonoghue

The relevant documents and the dtsi specify the minimum value at 1.808v not
1.8v.

Prior to this fix we get the following error on boot:
[    1.353540] vrej_l3m_1p8: failed to get the current voltage: -ENOTRECOVERABLE
[    1.353544] qcom-rpmh-regulator 17500000.rsc:regulators-9: ldo3: devm_regulator_register() failed, ret=-131
[    1.353546] qcom-rpmh-regulator: probe of 17500000.rsc:regulators-9 failed with error -131

Fixes: 2544631faa7f ("regulator: qcom-rpmh: add support for pm8010 regulators")
Signed-off-by: Bryan O'Donoghue <bryan.odonoghue@linaro.org>
---
 drivers/regulator/qcom-rpmh-regulator.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/regulator/qcom-rpmh-regulator.c b/drivers/regulator/qcom-rpmh-regulator.c
index 80e304711345b..767a17fe0d51b 100644
--- a/drivers/regulator/qcom-rpmh-regulator.c
+++ b/drivers/regulator/qcom-rpmh-regulator.c
@@ -757,7 +757,7 @@ static const struct rpmh_vreg_hw_data pmic5_pldo502ln = {
 	.regulator_type = VRM,
 	.ops = &rpmh_regulator_vrm_ops,
 	.voltage_ranges = (struct linear_range[]) {
-		REGULATOR_LINEAR_RANGE(1800000, 0,  2,  200000),
+		REGULATOR_LINEAR_RANGE(1808000, 0,  2,  200000),
 		REGULATOR_LINEAR_RANGE(2608000, 3,  28, 16000),
 		REGULATOR_LINEAR_RANGE(3104000, 29, 30, 96000),
 		REGULATOR_LINEAR_RANGE(3312000, 31, 31, 0),
-- 
2.43.0


^ permalink raw reply related	[flat|nested] 13+ messages in thread

end of thread, other threads:[~2024-02-21  9:58 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-02-14 12:16 [PATCH] regulator: qcom-rpmh: Fix pm8010 pmic5_pldo502ln minimum voltage Bryan O'Donoghue
2024-02-14 13:22 ` Abel Vesa
2024-02-14 13:25 ` Mark Brown
2024-02-14 14:07   ` Bryan O'Donoghue
2024-02-14 14:13     ` Mark Brown
2024-02-14 14:44       ` Bryan O'Donoghue
2024-02-14 14:52         ` Mark Brown
2024-02-14 22:47           ` Bryan O'Donoghue
2024-02-14 22:48             ` Bryan O'Donoghue
2024-02-19  3:06             ` Fenglin Wu
2024-02-20  8:20               ` Bryan O'Donoghue
2024-02-21  9:11                 ` Fenglin Wu
2024-02-21  9:58                   ` Bryan O'Donoghue

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox