mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH] regulator: qcom-rpmh: Fix index for pmh0101 ldo16
@ 2026-05-06  9:28 Fenglin Wu
  2026-05-06  9:41 ` Konrad Dybcio
  2026-05-06 12:26 ` Mark Brown
  0 siblings, 2 replies; 3+ messages in thread
From: Fenglin Wu @ 2026-05-06  9:28 UTC (permalink / raw)
  To: linux-arm-msm, Liam Girdwood, Mark Brown, Kamal Wadhwa,
	Jishnu Prakash, Dmitry Baryshkov
  Cc: Subbaraman Narayanamurthy, David Collins, linux-kernel, kernel,
	Fenglin Wu

The wrong index is assigned to pmh0101 ldo16, which results incorrect
rpmh resource being used when the regulator device is voted. Fix it.

Fixes: 65efe5404d15 ("regulator: rpmh-regulator: Add RPMH regulator support for Glymur")
Signed-off-by: Fenglin Wu <fenglin.wu@oss.qualcomm.com>
---
 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 6e4cb2871fca..0dcb50bf5c35 100644
--- a/drivers/regulator/qcom-rpmh-regulator.c
+++ b/drivers/regulator/qcom-rpmh-regulator.c
@@ -1512,7 +1512,7 @@ static const struct rpmh_vreg_init_data pmh0101_vreg_data[] = {
 	RPMH_VREG("ldo13",  LDO, 13, &pmic5_pldo530_mvp150,     "vdd-l2-l13-l14"),
 	RPMH_VREG("ldo14",  LDO, 14, &pmic5_pldo530_mvp150,     "vdd-l2-l13-l14"),
 	RPMH_VREG("ldo15",  LDO, 15, &pmic5_nldo530,      "vdd-l15"),
-	RPMH_VREG("ldo16",  LDO, 15, &pmic5_pldo530_mvp600,      "vdd-l5-l16"),
+	RPMH_VREG("ldo16",  LDO, 16, &pmic5_pldo530_mvp600,      "vdd-l5-l16"),
 	RPMH_VREG("ldo17",  LDO, 17, &pmic5_pldo515_mv,   "vdd-l17"),
 	RPMH_VREG("ldo18",  LDO, 18, &pmic5_nldo530,      "vdd-l18"),
 	RPMH_VREG("bob1",   BOB, 1,  &pmic5_bob,          "vdd-bob1"),

---
base-commit: 254f49634ee16a731174d2ae34bc50bd5f45e731
change-id: 20260506-fix_pmh0101_ldo16_index-f28b6075a3bf

Best regards,
--  
Fenglin Wu <fenglin.wu@oss.qualcomm.com>


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

* Re: [PATCH] regulator: qcom-rpmh: Fix index for pmh0101 ldo16
  2026-05-06  9:28 [PATCH] regulator: qcom-rpmh: Fix index for pmh0101 ldo16 Fenglin Wu
@ 2026-05-06  9:41 ` Konrad Dybcio
  2026-05-06 12:26 ` Mark Brown
  1 sibling, 0 replies; 3+ messages in thread
From: Konrad Dybcio @ 2026-05-06  9:41 UTC (permalink / raw)
  To: Fenglin Wu, linux-arm-msm, Liam Girdwood, Mark Brown,
	Kamal Wadhwa, Jishnu Prakash, Dmitry Baryshkov
  Cc: Subbaraman Narayanamurthy, David Collins, linux-kernel, kernel

On 5/6/26 11:28 AM, Fenglin Wu wrote:
> The wrong index is assigned to pmh0101 ldo16, which results incorrect
> rpmh resource being used when the regulator device is voted. Fix it.
> 
> Fixes: 65efe5404d15 ("regulator: rpmh-regulator: Add RPMH regulator support for Glymur")
> Signed-off-by: Fenglin Wu <fenglin.wu@oss.qualcomm.com>
> ---

Reviewed-by: Konrad Dybcio <konrad.dybcio@oss.qualcomm.com>

Konrad

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

* Re: [PATCH] regulator: qcom-rpmh: Fix index for pmh0101 ldo16
  2026-05-06  9:28 [PATCH] regulator: qcom-rpmh: Fix index for pmh0101 ldo16 Fenglin Wu
  2026-05-06  9:41 ` Konrad Dybcio
@ 2026-05-06 12:26 ` Mark Brown
  1 sibling, 0 replies; 3+ messages in thread
From: Mark Brown @ 2026-05-06 12:26 UTC (permalink / raw)
  To: linux-arm-msm, Liam Girdwood, Kamal Wadhwa, Jishnu Prakash,
	Dmitry Baryshkov, Fenglin Wu
  Cc: Subbaraman Narayanamurthy, David Collins, linux-kernel, kernel

On Wed, 06 May 2026 02:28:51 -0700, Fenglin Wu wrote:
> regulator: qcom-rpmh: Fix index for pmh0101 ldo16

Applied to

   https://git.kernel.org/pub/scm/linux/kernel/git/broonie/regulator.git for-7.1

Thanks!

[1/1] regulator: qcom-rpmh: Fix index for pmh0101 ldo16
      https://git.kernel.org/broonie/regulator/c/628497e6d925

All being well this means that it will be integrated into the linux-next
tree (usually sometime in the next 24 hours) and sent to Linus during
the next merge window (or sooner if it is a bug fix), however if
problems are discovered then the patch may be dropped or reverted.

You may get further e-mails resulting from automated or manual testing
and review of the tree, please engage with people reporting problems and
send followup patches addressing any issues that are reported if needed.

If any updates are required or you are submitting further changes they
should be sent as incremental updates against current git, existing
patches will not be replaced.

Please add any relevant lists and maintainers to the CCs when replying
to this mail.

Thanks,
Mark


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

end of thread, other threads:[~2026-05-06 14:08 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-05-06  9:28 [PATCH] regulator: qcom-rpmh: Fix index for pmh0101 ldo16 Fenglin Wu
2026-05-06  9:41 ` Konrad Dybcio
2026-05-06 12:26 ` Mark Brown

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

all inboxes | Powered by JetHome®