linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] regulator: qcom-rpmh: Fix PMR735a S3 regulator spec
@ 2022-11-10 21:07 Konrad Dybcio
  2022-11-14 16:07 ` Konrad Dybcio
  2022-11-16 13:32 ` Mark Brown
  0 siblings, 2 replies; 3+ messages in thread
From: Konrad Dybcio @ 2022-11-10 21:07 UTC (permalink / raw)
  To: linux-arm-msm, andersson, agross
  Cc: marijn.suijten, Konrad Dybcio, Liam Girdwood, Mark Brown,
	Matthias Kaehlcke, satya priya, linux-kernel

PMR735a has a wider range than previously defined. Fix it.

Fixes: c4e5aa3dbee5 ("regulator: qcom-rpmh: Add PM7325/PMR735A regulator support")
Signed-off-by: Konrad Dybcio <konrad.dybcio@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 4158ff126a67..f90bcdeecea5 100644
--- a/drivers/regulator/qcom-rpmh-regulator.c
+++ b/drivers/regulator/qcom-rpmh-regulator.c
@@ -1187,7 +1187,7 @@ static const struct rpmh_vreg_init_data pm7325_vreg_data[] = {
 static const struct rpmh_vreg_init_data pmr735a_vreg_data[] = {
 	RPMH_VREG("smps1",  "smp%s1",  &pmic5_ftsmps520, "vdd-s1"),
 	RPMH_VREG("smps2",  "smp%s2",  &pmic5_ftsmps520, "vdd-s2"),
-	RPMH_VREG("smps3",  "smp%s3",  &pmic5_hfsmps510, "vdd-s3"),
+	RPMH_VREG("smps3",  "smp%s3",  &pmic5_hfsmps515, "vdd-s3"),
 	RPMH_VREG("ldo1",   "ldo%s1",  &pmic5_nldo,      "vdd-l1-l2"),
 	RPMH_VREG("ldo2",   "ldo%s2",  &pmic5_nldo,      "vdd-l1-l2"),
 	RPMH_VREG("ldo3",   "ldo%s3",  &pmic5_nldo,      "vdd-l3"),
-- 
2.38.1


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

* Re: [PATCH] regulator: qcom-rpmh: Fix PMR735a S3 regulator spec
  2022-11-10 21:07 [PATCH] regulator: qcom-rpmh: Fix PMR735a S3 regulator spec Konrad Dybcio
@ 2022-11-14 16:07 ` Konrad Dybcio
  2022-11-16 13:32 ` Mark Brown
  1 sibling, 0 replies; 3+ messages in thread
From: Konrad Dybcio @ 2022-11-14 16:07 UTC (permalink / raw)
  To: linux-arm-msm, andersson, agross
  Cc: marijn.suijten, Liam Girdwood, Mark Brown, Matthias Kaehlcke,
	satya priya, linux-kernel


On 10/11/2022 22:07, Konrad Dybcio wrote:
> PMR735a has a wider range than previously defined. Fix it.
>
> Fixes: c4e5aa3dbee5 ("regulator: qcom-rpmh: Add PM7325/PMR735A regulator support")
> Signed-off-by: Konrad Dybcio <konrad.dybcio@linaro.org>
> ---

Leaving this in to avoid confusion:


Please note this is different to the recently merged patch (that one was
for the SMD regulator driver).


Konrad

>   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 4158ff126a67..f90bcdeecea5 100644
> --- a/drivers/regulator/qcom-rpmh-regulator.c
> +++ b/drivers/regulator/qcom-rpmh-regulator.c
> @@ -1187,7 +1187,7 @@ static const struct rpmh_vreg_init_data pm7325_vreg_data[] = {
>   static const struct rpmh_vreg_init_data pmr735a_vreg_data[] = {
>   	RPMH_VREG("smps1",  "smp%s1",  &pmic5_ftsmps520, "vdd-s1"),
>   	RPMH_VREG("smps2",  "smp%s2",  &pmic5_ftsmps520, "vdd-s2"),
> -	RPMH_VREG("smps3",  "smp%s3",  &pmic5_hfsmps510, "vdd-s3"),
> +	RPMH_VREG("smps3",  "smp%s3",  &pmic5_hfsmps515, "vdd-s3"),
>   	RPMH_VREG("ldo1",   "ldo%s1",  &pmic5_nldo,      "vdd-l1-l2"),
>   	RPMH_VREG("ldo2",   "ldo%s2",  &pmic5_nldo,      "vdd-l1-l2"),
>   	RPMH_VREG("ldo3",   "ldo%s3",  &pmic5_nldo,      "vdd-l3"),

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

* Re: [PATCH] regulator: qcom-rpmh: Fix PMR735a S3 regulator spec
  2022-11-10 21:07 [PATCH] regulator: qcom-rpmh: Fix PMR735a S3 regulator spec Konrad Dybcio
  2022-11-14 16:07 ` Konrad Dybcio
@ 2022-11-16 13:32 ` Mark Brown
  1 sibling, 0 replies; 3+ messages in thread
From: Mark Brown @ 2022-11-16 13:32 UTC (permalink / raw)
  To: linux-arm-msm, Konrad Dybcio, andersson, agross
  Cc: linux-kernel, satya priya, Liam Girdwood, Matthias Kaehlcke,
	marijn.suijten

On Thu, 10 Nov 2022 22:07:05 +0100, Konrad Dybcio wrote:
> PMR735a has a wider range than previously defined. Fix it.
> 
> 

Applied to

   broonie/regulator.git for-next

Thanks!

[1/1] regulator: qcom-rpmh: Fix PMR735a S3 regulator spec
      commit: dd801b2265c81bf0c8b0b4b8f7c1e7bfed078403

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:[~2022-11-16 13:32 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-11-10 21:07 [PATCH] regulator: qcom-rpmh: Fix PMR735a S3 regulator spec Konrad Dybcio
2022-11-14 16:07 ` Konrad Dybcio
2022-11-16 13:32 ` Mark Brown

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).