* [PATCH 1/2] regulator: dt-bindings: Add PMX55 compatibles
@ 2020-11-26 9:30 Vinod Koul
2020-11-26 9:30 ` [PATCH 2/2] regulator: qcom-rpmh: Add support for SDX55 Vinod Koul
` (2 more replies)
0 siblings, 3 replies; 5+ messages in thread
From: Vinod Koul @ 2020-11-26 9:30 UTC (permalink / raw)
To: Mark Brown
Cc: linux-arm-msm, Bjorn Andersson, Vinod Koul, Andy Gross,
Liam Girdwood, Rob Herring, Manivannan Sadhasivam, linux-kernel,
devicetree
Add PMX55 compatibles for PMIC found in SDX55 platform
Signed-off-by: Vinod Koul <vkoul@kernel.org>
---
.../devicetree/bindings/regulator/qcom,rpmh-regulator.txt | 2 ++
1 file changed, 2 insertions(+)
diff --git a/Documentation/devicetree/bindings/regulator/qcom,rpmh-regulator.txt b/Documentation/devicetree/bindings/regulator/qcom,rpmh-regulator.txt
index 97c3e0b7611c..bae558b87686 100644
--- a/Documentation/devicetree/bindings/regulator/qcom,rpmh-regulator.txt
+++ b/Documentation/devicetree/bindings/regulator/qcom,rpmh-regulator.txt
@@ -30,6 +30,7 @@ Supported regulator node names:
PMI8998: bob
PM6150: smps1 - smps5, ldo1 - ldo19
PM6150L: smps1 - smps8, ldo1 - ldo11, bob
+ PMX55: smps1 - smps7, ldo1 - ldo16
========================
First Level Nodes - PMIC
@@ -47,6 +48,7 @@ First Level Nodes - PMIC
"qcom,pmi8998-rpmh-regulators"
"qcom,pm6150-rpmh-regulators"
"qcom,pm6150l-rpmh-regulators"
+ "qcom,pmx55-rpmh-regulators"
- qcom,pmic-id
Usage: required
--
2.26.2
^ permalink raw reply related [flat|nested] 5+ messages in thread* [PATCH 2/2] regulator: qcom-rpmh: Add support for SDX55 2020-11-26 9:30 [PATCH 1/2] regulator: dt-bindings: Add PMX55 compatibles Vinod Koul @ 2020-11-26 9:30 ` Vinod Koul 2020-11-26 17:35 ` Bjorn Andersson 2020-11-26 17:35 ` [PATCH 1/2] regulator: dt-bindings: Add PMX55 compatibles Bjorn Andersson 2020-11-26 20:06 ` Mark Brown 2 siblings, 1 reply; 5+ messages in thread From: Vinod Koul @ 2020-11-26 9:30 UTC (permalink / raw) To: Mark Brown Cc: linux-arm-msm, Bjorn Andersson, Vinod Koul, Andy Gross, Liam Girdwood, Rob Herring, Manivannan Sadhasivam, linux-kernel, devicetree Add support from RPMH regulators found in SDX55 platform Signed-off-by: Vinod Koul <vkoul@kernel.org> --- drivers/regulator/qcom-rpmh-regulator.c | 31 +++++++++++++++++++++++++ 1 file changed, 31 insertions(+) diff --git a/drivers/regulator/qcom-rpmh-regulator.c b/drivers/regulator/qcom-rpmh-regulator.c index d488325499a9..e673d48b31a1 100644 --- a/drivers/regulator/qcom-rpmh-regulator.c +++ b/drivers/regulator/qcom-rpmh-regulator.c @@ -930,6 +930,33 @@ static const struct rpmh_vreg_init_data pm6150l_vreg_data[] = { {}, }; +static const struct rpmh_vreg_init_data pmx55_vreg_data[] = { + RPMH_VREG("smps1", "smp%s1", &pmic5_ftsmps510, "vdd-s1"), + RPMH_VREG("smps2", "smp%s2", &pmic5_hfsmps510, "vdd-s2"), + RPMH_VREG("smps3", "smp%s3", &pmic5_hfsmps510, "vdd-s3"), + RPMH_VREG("smps4", "smp%s4", &pmic5_hfsmps510, "vdd-s4"), + RPMH_VREG("smps5", "smp%s5", &pmic5_hfsmps510, "vdd-s5"), + RPMH_VREG("smps6", "smp%s6", &pmic5_ftsmps510, "vdd-s6"), + RPMH_VREG("smps7", "smp%s7", &pmic5_hfsmps510, "vdd-s7"), + 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-l9"), + RPMH_VREG("ldo4", "ldo%s4", &pmic5_nldo, "vdd-l4-l12"), + RPMH_VREG("ldo5", "ldo%s5", &pmic5_pldo, "vdd-l5-l6"), + RPMH_VREG("ldo6", "ldo%s6", &pmic5_pldo, "vdd-l5-l6"), + RPMH_VREG("ldo7", "ldo%s7", &pmic5_nldo, "vdd-l7-l8"), + RPMH_VREG("ldo8", "ldo%s8", &pmic5_nldo, "vdd-l7-l8"), + RPMH_VREG("ldo9", "ldo%s9", &pmic5_nldo, "vdd-l3-l9"), + RPMH_VREG("ldo10", "ldo%s10", &pmic5_pldo, "vdd-l10-l11-l13"), + RPMH_VREG("ldo11", "ldo%s11", &pmic5_pldo, "vdd-l10-l11-l13"), + RPMH_VREG("ldo12", "ldo%s12", &pmic5_nldo, "vdd-l4-l12"), + RPMH_VREG("ldo13", "ldo%s13", &pmic5_pldo, "vdd-l10-l11-l13"), + RPMH_VREG("ldo14", "ldo%s14", &pmic5_nldo, "vdd-l14"), + RPMH_VREG("ldo15", "ldo%s15", &pmic5_nldo, "vdd-l15"), + RPMH_VREG("ldo16", "ldo%s16", &pmic5_pldo, "vdd-l16"), + {}, +}; + static int rpmh_regulator_probe(struct platform_device *pdev) { struct device *dev = &pdev->dev; @@ -1000,6 +1027,10 @@ static const struct of_device_id __maybe_unused rpmh_regulator_match_table[] = { .compatible = "qcom,pm6150l-rpmh-regulators", .data = pm6150l_vreg_data, }, + { + .compatible = "qcom,pmx55-rpmh-regulators", + .data = pmx55_vreg_data, + }, {} }; MODULE_DEVICE_TABLE(of, rpmh_regulator_match_table); -- 2.26.2 ^ permalink raw reply related [flat|nested] 5+ messages in thread
* Re: [PATCH 2/2] regulator: qcom-rpmh: Add support for SDX55 2020-11-26 9:30 ` [PATCH 2/2] regulator: qcom-rpmh: Add support for SDX55 Vinod Koul @ 2020-11-26 17:35 ` Bjorn Andersson 0 siblings, 0 replies; 5+ messages in thread From: Bjorn Andersson @ 2020-11-26 17:35 UTC (permalink / raw) To: Vinod Koul Cc: Mark Brown, linux-arm-msm, Andy Gross, Liam Girdwood, Rob Herring, Manivannan Sadhasivam, linux-kernel, devicetree On Thu 26 Nov 03:30 CST 2020, Vinod Koul wrote: > Add support from RPMH regulators found in SDX55 platform > > Signed-off-by: Vinod Koul <vkoul@kernel.org> Acked-by: Bjorn Andersson <bjorn.andersson@linaro.org> > --- > drivers/regulator/qcom-rpmh-regulator.c | 31 +++++++++++++++++++++++++ > 1 file changed, 31 insertions(+) > > diff --git a/drivers/regulator/qcom-rpmh-regulator.c b/drivers/regulator/qcom-rpmh-regulator.c > index d488325499a9..e673d48b31a1 100644 > --- a/drivers/regulator/qcom-rpmh-regulator.c > +++ b/drivers/regulator/qcom-rpmh-regulator.c > @@ -930,6 +930,33 @@ static const struct rpmh_vreg_init_data pm6150l_vreg_data[] = { > {}, > }; > > +static const struct rpmh_vreg_init_data pmx55_vreg_data[] = { > + RPMH_VREG("smps1", "smp%s1", &pmic5_ftsmps510, "vdd-s1"), > + RPMH_VREG("smps2", "smp%s2", &pmic5_hfsmps510, "vdd-s2"), > + RPMH_VREG("smps3", "smp%s3", &pmic5_hfsmps510, "vdd-s3"), > + RPMH_VREG("smps4", "smp%s4", &pmic5_hfsmps510, "vdd-s4"), > + RPMH_VREG("smps5", "smp%s5", &pmic5_hfsmps510, "vdd-s5"), > + RPMH_VREG("smps6", "smp%s6", &pmic5_ftsmps510, "vdd-s6"), > + RPMH_VREG("smps7", "smp%s7", &pmic5_hfsmps510, "vdd-s7"), > + 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-l9"), > + RPMH_VREG("ldo4", "ldo%s4", &pmic5_nldo, "vdd-l4-l12"), > + RPMH_VREG("ldo5", "ldo%s5", &pmic5_pldo, "vdd-l5-l6"), > + RPMH_VREG("ldo6", "ldo%s6", &pmic5_pldo, "vdd-l5-l6"), > + RPMH_VREG("ldo7", "ldo%s7", &pmic5_nldo, "vdd-l7-l8"), > + RPMH_VREG("ldo8", "ldo%s8", &pmic5_nldo, "vdd-l7-l8"), > + RPMH_VREG("ldo9", "ldo%s9", &pmic5_nldo, "vdd-l3-l9"), > + RPMH_VREG("ldo10", "ldo%s10", &pmic5_pldo, "vdd-l10-l11-l13"), > + RPMH_VREG("ldo11", "ldo%s11", &pmic5_pldo, "vdd-l10-l11-l13"), > + RPMH_VREG("ldo12", "ldo%s12", &pmic5_nldo, "vdd-l4-l12"), > + RPMH_VREG("ldo13", "ldo%s13", &pmic5_pldo, "vdd-l10-l11-l13"), > + RPMH_VREG("ldo14", "ldo%s14", &pmic5_nldo, "vdd-l14"), > + RPMH_VREG("ldo15", "ldo%s15", &pmic5_nldo, "vdd-l15"), > + RPMH_VREG("ldo16", "ldo%s16", &pmic5_pldo, "vdd-l16"), > + {}, > +}; > + > static int rpmh_regulator_probe(struct platform_device *pdev) > { > struct device *dev = &pdev->dev; > @@ -1000,6 +1027,10 @@ static const struct of_device_id __maybe_unused rpmh_regulator_match_table[] = { > .compatible = "qcom,pm6150l-rpmh-regulators", > .data = pm6150l_vreg_data, > }, > + { > + .compatible = "qcom,pmx55-rpmh-regulators", > + .data = pmx55_vreg_data, > + }, > {} > }; > MODULE_DEVICE_TABLE(of, rpmh_regulator_match_table); > -- > 2.26.2 > ^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [PATCH 1/2] regulator: dt-bindings: Add PMX55 compatibles 2020-11-26 9:30 [PATCH 1/2] regulator: dt-bindings: Add PMX55 compatibles Vinod Koul 2020-11-26 9:30 ` [PATCH 2/2] regulator: qcom-rpmh: Add support for SDX55 Vinod Koul @ 2020-11-26 17:35 ` Bjorn Andersson 2020-11-26 20:06 ` Mark Brown 2 siblings, 0 replies; 5+ messages in thread From: Bjorn Andersson @ 2020-11-26 17:35 UTC (permalink / raw) To: Vinod Koul Cc: Mark Brown, linux-arm-msm, Andy Gross, Liam Girdwood, Rob Herring, Manivannan Sadhasivam, linux-kernel, devicetree On Thu 26 Nov 03:30 CST 2020, Vinod Koul wrote: > Add PMX55 compatibles for PMIC found in SDX55 platform > > Signed-off-by: Vinod Koul <vkoul@kernel.org> Reviewed-by: Bjorn Andersson <bjorn.andersson@linaro.org> > --- > .../devicetree/bindings/regulator/qcom,rpmh-regulator.txt | 2 ++ > 1 file changed, 2 insertions(+) > > diff --git a/Documentation/devicetree/bindings/regulator/qcom,rpmh-regulator.txt b/Documentation/devicetree/bindings/regulator/qcom,rpmh-regulator.txt > index 97c3e0b7611c..bae558b87686 100644 > --- a/Documentation/devicetree/bindings/regulator/qcom,rpmh-regulator.txt > +++ b/Documentation/devicetree/bindings/regulator/qcom,rpmh-regulator.txt > @@ -30,6 +30,7 @@ Supported regulator node names: > PMI8998: bob > PM6150: smps1 - smps5, ldo1 - ldo19 > PM6150L: smps1 - smps8, ldo1 - ldo11, bob > + PMX55: smps1 - smps7, ldo1 - ldo16 > > ======================== > First Level Nodes - PMIC > @@ -47,6 +48,7 @@ First Level Nodes - PMIC > "qcom,pmi8998-rpmh-regulators" > "qcom,pm6150-rpmh-regulators" > "qcom,pm6150l-rpmh-regulators" > + "qcom,pmx55-rpmh-regulators" > > - qcom,pmic-id > Usage: required > -- > 2.26.2 > ^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [PATCH 1/2] regulator: dt-bindings: Add PMX55 compatibles 2020-11-26 9:30 [PATCH 1/2] regulator: dt-bindings: Add PMX55 compatibles Vinod Koul 2020-11-26 9:30 ` [PATCH 2/2] regulator: qcom-rpmh: Add support for SDX55 Vinod Koul 2020-11-26 17:35 ` [PATCH 1/2] regulator: dt-bindings: Add PMX55 compatibles Bjorn Andersson @ 2020-11-26 20:06 ` Mark Brown 2 siblings, 0 replies; 5+ messages in thread From: Mark Brown @ 2020-11-26 20:06 UTC (permalink / raw) To: Vinod Koul Cc: linux-kernel, linux-arm-msm, Manivannan Sadhasivam, Liam Girdwood, Bjorn Andersson, Andy Gross, Rob Herring, devicetree On Thu, 26 Nov 2020 15:00:17 +0530, Vinod Koul wrote: > Add PMX55 compatibles for PMIC found in SDX55 platform Applied to https://git.kernel.org/pub/scm/linux/kernel/git/broonie/regulator.git for-next Thanks! [1/2] regulator: dt-bindings: Add PMX55 compatibles commit: 1008521b9b4f85d80ac1d80391ac39055c89f736 [2/2] regulator: qcom-rpmh: Add support for SDX55 commit: 36dd70ceb4d955e6cd3ecd18e78169141aaa23b7 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] 5+ messages in thread
end of thread, other threads:[~2020-11-26 20:07 UTC | newest] Thread overview: 5+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- 2020-11-26 9:30 [PATCH 1/2] regulator: dt-bindings: Add PMX55 compatibles Vinod Koul 2020-11-26 9:30 ` [PATCH 2/2] regulator: qcom-rpmh: Add support for SDX55 Vinod Koul 2020-11-26 17:35 ` Bjorn Andersson 2020-11-26 17:35 ` [PATCH 1/2] regulator: dt-bindings: Add PMX55 compatibles Bjorn Andersson 2020-11-26 20:06 ` 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).