* [PATCH 1/2] regulator: dt-bindings: Add PM8350x compatibles @ 2020-12-03 7:12 Vinod Koul 2020-12-03 7:12 ` [PATCH 2/2] regulator: qcom-rpmh: Add support for PM8350/PM8350c Vinod Koul ` (2 more replies) 0 siblings, 3 replies; 5+ messages in thread From: Vinod Koul @ 2020-12-03 7:12 UTC (permalink / raw) To: Mark Brown Cc: linux-arm-msm, Bjorn Andersson, Vinod Koul, Andy Gross, Liam Girdwood, Rob Herring, linux-kernel, devicetree Add PM8350 and PM8350C compatibles for these PMICs found in some Qualcomm platforms. Signed-off-by: Vinod Koul <vkoul@kernel.org> --- .../devicetree/bindings/regulator/qcom,rpmh-regulator.txt | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Documentation/devicetree/bindings/regulator/qcom,rpmh-regulator.txt b/Documentation/devicetree/bindings/regulator/qcom,rpmh-regulator.txt index 97c3e0b7611c..0f5f4029d9a2 100644 --- a/Documentation/devicetree/bindings/regulator/qcom,rpmh-regulator.txt +++ b/Documentation/devicetree/bindings/regulator/qcom,rpmh-regulator.txt @@ -26,6 +26,8 @@ Supported regulator node names: PM8009: smps1 - smps2, ldo1 - ldo7 PM8150: smps1 - smps10, ldo1 - ldo18 PM8150L: smps1 - smps8, ldo1 - ldo11, bob, flash, rgb + PM8350: smps1 - smps12, ldo1 - ldo10, + PM8350C: smps1 - smps10, ldo1 - ldo13, bob PM8998: smps1 - smps13, ldo1 - ldo28, lvs1 - lvs2 PMI8998: bob PM6150: smps1 - smps5, ldo1 - ldo19 @@ -43,6 +45,8 @@ First Level Nodes - PMIC "qcom,pm8009-rpmh-regulators" "qcom,pm8150-rpmh-regulators" "qcom,pm8150l-rpmh-regulators" + "qcom,pm8350-rpmh-regulators" + "qcom,pm8350c-rpmh-regulators" "qcom,pm8998-rpmh-regulators" "qcom,pmi8998-rpmh-regulators" "qcom,pm6150-rpmh-regulators" -- 2.26.2 ^ permalink raw reply related [flat|nested] 5+ messages in thread
* [PATCH 2/2] regulator: qcom-rpmh: Add support for PM8350/PM8350c 2020-12-03 7:12 [PATCH 1/2] regulator: dt-bindings: Add PM8350x compatibles Vinod Koul @ 2020-12-03 7:12 ` Vinod Koul 2020-12-03 23:45 ` Bjorn Andersson 2020-12-03 23:33 ` [PATCH 1/2] regulator: dt-bindings: Add PM8350x compatibles Bjorn Andersson 2020-12-04 23:31 ` Mark Brown 2 siblings, 1 reply; 5+ messages in thread From: Vinod Koul @ 2020-12-03 7:12 UTC (permalink / raw) To: Mark Brown Cc: linux-arm-msm, Bjorn Andersson, Vinod Koul, Andy Gross, Liam Girdwood, Rob Herring, linux-kernel, devicetree Add support from RPMH regulators found in PM8350 and PM8350c PMICs Signed-off-by: Vinod Koul <vkoul@kernel.org> --- drivers/regulator/qcom-rpmh-regulator.c | 62 +++++++++++++++++++++++++ 1 file changed, 62 insertions(+) diff --git a/drivers/regulator/qcom-rpmh-regulator.c b/drivers/regulator/qcom-rpmh-regulator.c index d488325499a9..800072b90efd 100644 --- a/drivers/regulator/qcom-rpmh-regulator.c +++ b/drivers/regulator/qcom-rpmh-regulator.c @@ -865,6 +865,60 @@ static const struct rpmh_vreg_init_data pm8150l_vreg_data[] = { {}, }; +static const struct rpmh_vreg_init_data pm8350_vreg_data[] = { + RPMH_VREG("smps1", "smp%s1", &pmic5_ftsmps510, "vdd-s1"), + RPMH_VREG("smps2", "smp%s2", &pmic5_ftsmps510, "vdd-s2"), + RPMH_VREG("smps3", "smp%s3", &pmic5_ftsmps510, "vdd-s3"), + RPMH_VREG("smps4", "smp%s4", &pmic5_ftsmps510, "vdd-s4"), + RPMH_VREG("smps5", "smp%s5", &pmic5_ftsmps510, "vdd-s5"), + RPMH_VREG("smps6", "smp%s6", &pmic5_ftsmps510, "vdd-s6"), + RPMH_VREG("smps7", "smp%s7", &pmic5_ftsmps510, "vdd-s7"), + RPMH_VREG("smps8", "smp%s8", &pmic5_ftsmps510, "vdd-s8"), + RPMH_VREG("smps9", "smp%s9", &pmic5_ftsmps510, "vdd-s9"), + RPMH_VREG("smps10", "smp%s10", &pmic5_hfsmps510, "vdd-s10"), + RPMH_VREG("smps11", "smp%s11", &pmic5_hfsmps510, "vdd-s11"), + RPMH_VREG("smps12", "smp%s12", &pmic5_hfsmps510, "vdd-s12"), + RPMH_VREG("ldo1", "ldo%s1", &pmic5_nldo, "vdd-l1-l4"), + RPMH_VREG("ldo2", "ldo%s2", &pmic5_pldo, "vdd-l2-l7"), + RPMH_VREG("ldo3", "ldo%s3", &pmic5_nldo, "vdd-l3-l5"), + RPMH_VREG("ldo4", "ldo%s4", &pmic5_nldo, "vdd-l1-l4"), + RPMH_VREG("ldo5", "ldo%s5", &pmic5_nldo, "vdd-l3-l5"), + RPMH_VREG("ldo6", "ldo%s6", &pmic5_nldo, "vdd-l6-l9-l10"), + RPMH_VREG("ldo7", "ldo%s7", &pmic5_pldo, "vdd-l2-l7"), + RPMH_VREG("ldo8", "ldo%s8", &pmic5_nldo, "vdd-l8"), + RPMH_VREG("ldo9", "ldo%s9", &pmic5_nldo, "vdd-l6-l9-l10"), + RPMH_VREG("ldo10", "ldo%s10", &pmic5_nldo, "vdd-l6-l9-l10"), + {}, +}; + +static const struct rpmh_vreg_init_data pm8350c_vreg_data[] = { + RPMH_VREG("smps1", "smp%s1", &pmic5_hfsmps510, "vdd-s1"), + RPMH_VREG("smps2", "smp%s2", &pmic5_ftsmps510, "vdd-s2"), + RPMH_VREG("smps3", "smp%s3", &pmic5_ftsmps510, "vdd-s3"), + RPMH_VREG("smps4", "smp%s4", &pmic5_ftsmps510, "vdd-s4"), + RPMH_VREG("smps5", "smp%s5", &pmic5_ftsmps510, "vdd-s5"), + RPMH_VREG("smps6", "smp%s6", &pmic5_ftsmps510, "vdd-s6"), + RPMH_VREG("smps7", "smp%s7", &pmic5_ftsmps510, "vdd-s7"), + RPMH_VREG("smps8", "smp%s8", &pmic5_ftsmps510, "vdd-s8"), + RPMH_VREG("smps9", "smp%s9", &pmic5_ftsmps510, "vdd-s9"), + RPMH_VREG("smps10", "smp%s10", &pmic5_ftsmps510, "vdd-s10"), + RPMH_VREG("ldo1", "ldo%s1", &pmic5_pldo_lv, "vdd-l1-l12"), + RPMH_VREG("ldo2", "ldo%s2", &pmic5_pldo_lv, "vdd-l2-l8"), + RPMH_VREG("ldo3", "ldo%s3", &pmic5_pldo, "vdd-l3-l4-l5-l7-l13"), + RPMH_VREG("ldo4", "ldo%s4", &pmic5_pldo, "vdd-l3-l4-l5-l7-l13"), + RPMH_VREG("ldo5", "ldo%s5", &pmic5_pldo, "vdd-l3-l4-l5-l7-l13"), + RPMH_VREG("ldo6", "ldo%s6", &pmic5_pldo, "vdd-l6-l9-l11"), + RPMH_VREG("ldo7", "ldo%s7", &pmic5_pldo, "vdd-l3-l4-l5-l7-l13"), + RPMH_VREG("ldo8", "ldo%s8", &pmic5_pldo_lv, "vdd-l2-l8"), + RPMH_VREG("ldo9", "ldo%s9", &pmic5_pldo, "vdd-l6-l9-l11"), + RPMH_VREG("ldo10", "ldo%s10", &pmic5_nldo, "vdd-l10"), + RPMH_VREG("ldo11", "ldo%s11", &pmic5_pldo, "vdd-l6-l9-l11"), + RPMH_VREG("ldo12", "ldo%s12", &pmic5_pldo_lv, "vdd-l1-l12"), + RPMH_VREG("ldo13", "ldo%s13", &pmic5_pldo, "vdd-l3-l4-l5-l7-l13"), + RPMH_VREG("bob", "bob%s1", &pmic5_bob, "vdd-bob"), + {}, +}; + static const struct rpmh_vreg_init_data pm8009_vreg_data[] = { RPMH_VREG("smps1", "smp%s1", &pmic5_hfsmps510, "vdd-s1"), RPMH_VREG("smps2", "smp%s2", &pmic5_hfsmps515, "vdd-s2"), @@ -984,6 +1038,14 @@ static const struct of_device_id __maybe_unused rpmh_regulator_match_table[] = { .compatible = "qcom,pm8150l-rpmh-regulators", .data = pm8150l_vreg_data, }, + { + .compatible = "qcom,pm8350-rpmh-regulators", + .data = pm8350_vreg_data, + }, + { + .compatible = "qcom,pm8350c-rpmh-regulators", + .data = pm8350c_vreg_data, + }, { .compatible = "qcom,pm8998-rpmh-regulators", .data = pm8998_vreg_data, -- 2.26.2 ^ permalink raw reply related [flat|nested] 5+ messages in thread
* Re: [PATCH 2/2] regulator: qcom-rpmh: Add support for PM8350/PM8350c 2020-12-03 7:12 ` [PATCH 2/2] regulator: qcom-rpmh: Add support for PM8350/PM8350c Vinod Koul @ 2020-12-03 23:45 ` Bjorn Andersson 0 siblings, 0 replies; 5+ messages in thread From: Bjorn Andersson @ 2020-12-03 23:45 UTC (permalink / raw) To: Vinod Koul Cc: Mark Brown, linux-arm-msm, Andy Gross, Liam Girdwood, Rob Herring, linux-kernel, devicetree On Thu 03 Dec 01:12 CST 2020, Vinod Koul wrote: > Add support from RPMH regulators found in PM8350 and PM8350c PMICs > Reviewed-by: Bjorn Andersson <bjorn.andersson@linaro.org> > Signed-off-by: Vinod Koul <vkoul@kernel.org> > --- > drivers/regulator/qcom-rpmh-regulator.c | 62 +++++++++++++++++++++++++ > 1 file changed, 62 insertions(+) > > diff --git a/drivers/regulator/qcom-rpmh-regulator.c b/drivers/regulator/qcom-rpmh-regulator.c > index d488325499a9..800072b90efd 100644 > --- a/drivers/regulator/qcom-rpmh-regulator.c > +++ b/drivers/regulator/qcom-rpmh-regulator.c > @@ -865,6 +865,60 @@ static const struct rpmh_vreg_init_data pm8150l_vreg_data[] = { > {}, > }; > > +static const struct rpmh_vreg_init_data pm8350_vreg_data[] = { > + RPMH_VREG("smps1", "smp%s1", &pmic5_ftsmps510, "vdd-s1"), > + RPMH_VREG("smps2", "smp%s2", &pmic5_ftsmps510, "vdd-s2"), > + RPMH_VREG("smps3", "smp%s3", &pmic5_ftsmps510, "vdd-s3"), > + RPMH_VREG("smps4", "smp%s4", &pmic5_ftsmps510, "vdd-s4"), > + RPMH_VREG("smps5", "smp%s5", &pmic5_ftsmps510, "vdd-s5"), > + RPMH_VREG("smps6", "smp%s6", &pmic5_ftsmps510, "vdd-s6"), > + RPMH_VREG("smps7", "smp%s7", &pmic5_ftsmps510, "vdd-s7"), > + RPMH_VREG("smps8", "smp%s8", &pmic5_ftsmps510, "vdd-s8"), > + RPMH_VREG("smps9", "smp%s9", &pmic5_ftsmps510, "vdd-s9"), > + RPMH_VREG("smps10", "smp%s10", &pmic5_hfsmps510, "vdd-s10"), > + RPMH_VREG("smps11", "smp%s11", &pmic5_hfsmps510, "vdd-s11"), > + RPMH_VREG("smps12", "smp%s12", &pmic5_hfsmps510, "vdd-s12"), > + RPMH_VREG("ldo1", "ldo%s1", &pmic5_nldo, "vdd-l1-l4"), > + RPMH_VREG("ldo2", "ldo%s2", &pmic5_pldo, "vdd-l2-l7"), > + RPMH_VREG("ldo3", "ldo%s3", &pmic5_nldo, "vdd-l3-l5"), > + RPMH_VREG("ldo4", "ldo%s4", &pmic5_nldo, "vdd-l1-l4"), > + RPMH_VREG("ldo5", "ldo%s5", &pmic5_nldo, "vdd-l3-l5"), > + RPMH_VREG("ldo6", "ldo%s6", &pmic5_nldo, "vdd-l6-l9-l10"), > + RPMH_VREG("ldo7", "ldo%s7", &pmic5_pldo, "vdd-l2-l7"), > + RPMH_VREG("ldo8", "ldo%s8", &pmic5_nldo, "vdd-l8"), > + RPMH_VREG("ldo9", "ldo%s9", &pmic5_nldo, "vdd-l6-l9-l10"), > + RPMH_VREG("ldo10", "ldo%s10", &pmic5_nldo, "vdd-l6-l9-l10"), > + {}, > +}; > + > +static const struct rpmh_vreg_init_data pm8350c_vreg_data[] = { > + RPMH_VREG("smps1", "smp%s1", &pmic5_hfsmps510, "vdd-s1"), > + RPMH_VREG("smps2", "smp%s2", &pmic5_ftsmps510, "vdd-s2"), > + RPMH_VREG("smps3", "smp%s3", &pmic5_ftsmps510, "vdd-s3"), > + RPMH_VREG("smps4", "smp%s4", &pmic5_ftsmps510, "vdd-s4"), > + RPMH_VREG("smps5", "smp%s5", &pmic5_ftsmps510, "vdd-s5"), > + RPMH_VREG("smps6", "smp%s6", &pmic5_ftsmps510, "vdd-s6"), > + RPMH_VREG("smps7", "smp%s7", &pmic5_ftsmps510, "vdd-s7"), > + RPMH_VREG("smps8", "smp%s8", &pmic5_ftsmps510, "vdd-s8"), > + RPMH_VREG("smps9", "smp%s9", &pmic5_ftsmps510, "vdd-s9"), > + RPMH_VREG("smps10", "smp%s10", &pmic5_ftsmps510, "vdd-s10"), > + RPMH_VREG("ldo1", "ldo%s1", &pmic5_pldo_lv, "vdd-l1-l12"), > + RPMH_VREG("ldo2", "ldo%s2", &pmic5_pldo_lv, "vdd-l2-l8"), > + RPMH_VREG("ldo3", "ldo%s3", &pmic5_pldo, "vdd-l3-l4-l5-l7-l13"), > + RPMH_VREG("ldo4", "ldo%s4", &pmic5_pldo, "vdd-l3-l4-l5-l7-l13"), > + RPMH_VREG("ldo5", "ldo%s5", &pmic5_pldo, "vdd-l3-l4-l5-l7-l13"), > + RPMH_VREG("ldo6", "ldo%s6", &pmic5_pldo, "vdd-l6-l9-l11"), > + RPMH_VREG("ldo7", "ldo%s7", &pmic5_pldo, "vdd-l3-l4-l5-l7-l13"), > + RPMH_VREG("ldo8", "ldo%s8", &pmic5_pldo_lv, "vdd-l2-l8"), > + RPMH_VREG("ldo9", "ldo%s9", &pmic5_pldo, "vdd-l6-l9-l11"), > + RPMH_VREG("ldo10", "ldo%s10", &pmic5_nldo, "vdd-l10"), > + RPMH_VREG("ldo11", "ldo%s11", &pmic5_pldo, "vdd-l6-l9-l11"), > + RPMH_VREG("ldo12", "ldo%s12", &pmic5_pldo_lv, "vdd-l1-l12"), > + RPMH_VREG("ldo13", "ldo%s13", &pmic5_pldo, "vdd-l3-l4-l5-l7-l13"), > + RPMH_VREG("bob", "bob%s1", &pmic5_bob, "vdd-bob"), > + {}, > +}; > + > static const struct rpmh_vreg_init_data pm8009_vreg_data[] = { > RPMH_VREG("smps1", "smp%s1", &pmic5_hfsmps510, "vdd-s1"), > RPMH_VREG("smps2", "smp%s2", &pmic5_hfsmps515, "vdd-s2"), > @@ -984,6 +1038,14 @@ static const struct of_device_id __maybe_unused rpmh_regulator_match_table[] = { > .compatible = "qcom,pm8150l-rpmh-regulators", > .data = pm8150l_vreg_data, > }, > + { > + .compatible = "qcom,pm8350-rpmh-regulators", > + .data = pm8350_vreg_data, > + }, > + { > + .compatible = "qcom,pm8350c-rpmh-regulators", > + .data = pm8350c_vreg_data, > + }, > { > .compatible = "qcom,pm8998-rpmh-regulators", > .data = pm8998_vreg_data, > -- > 2.26.2 > ^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [PATCH 1/2] regulator: dt-bindings: Add PM8350x compatibles 2020-12-03 7:12 [PATCH 1/2] regulator: dt-bindings: Add PM8350x compatibles Vinod Koul 2020-12-03 7:12 ` [PATCH 2/2] regulator: qcom-rpmh: Add support for PM8350/PM8350c Vinod Koul @ 2020-12-03 23:33 ` Bjorn Andersson 2020-12-04 23:31 ` Mark Brown 2 siblings, 0 replies; 5+ messages in thread From: Bjorn Andersson @ 2020-12-03 23:33 UTC (permalink / raw) To: Vinod Koul Cc: Mark Brown, linux-arm-msm, Andy Gross, Liam Girdwood, Rob Herring, linux-kernel, devicetree On Thu 03 Dec 01:12 CST 2020, Vinod Koul wrote: > Add PM8350 and PM8350C compatibles for these PMICs found in some > Qualcomm platforms. > Reviewed-by: Bjorn Andersson <bjorn.andersson@linaro.org> > Signed-off-by: Vinod Koul <vkoul@kernel.org> > --- > .../devicetree/bindings/regulator/qcom,rpmh-regulator.txt | 4 ++++ > 1 file changed, 4 insertions(+) > > diff --git a/Documentation/devicetree/bindings/regulator/qcom,rpmh-regulator.txt b/Documentation/devicetree/bindings/regulator/qcom,rpmh-regulator.txt > index 97c3e0b7611c..0f5f4029d9a2 100644 > --- a/Documentation/devicetree/bindings/regulator/qcom,rpmh-regulator.txt > +++ b/Documentation/devicetree/bindings/regulator/qcom,rpmh-regulator.txt > @@ -26,6 +26,8 @@ Supported regulator node names: > PM8009: smps1 - smps2, ldo1 - ldo7 > PM8150: smps1 - smps10, ldo1 - ldo18 > PM8150L: smps1 - smps8, ldo1 - ldo11, bob, flash, rgb > + PM8350: smps1 - smps12, ldo1 - ldo10, > + PM8350C: smps1 - smps10, ldo1 - ldo13, bob > PM8998: smps1 - smps13, ldo1 - ldo28, lvs1 - lvs2 > PMI8998: bob > PM6150: smps1 - smps5, ldo1 - ldo19 > @@ -43,6 +45,8 @@ First Level Nodes - PMIC > "qcom,pm8009-rpmh-regulators" > "qcom,pm8150-rpmh-regulators" > "qcom,pm8150l-rpmh-regulators" > + "qcom,pm8350-rpmh-regulators" > + "qcom,pm8350c-rpmh-regulators" > "qcom,pm8998-rpmh-regulators" > "qcom,pmi8998-rpmh-regulators" > "qcom,pm6150-rpmh-regulators" > -- > 2.26.2 > ^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [PATCH 1/2] regulator: dt-bindings: Add PM8350x compatibles 2020-12-03 7:12 [PATCH 1/2] regulator: dt-bindings: Add PM8350x compatibles Vinod Koul 2020-12-03 7:12 ` [PATCH 2/2] regulator: qcom-rpmh: Add support for PM8350/PM8350c Vinod Koul 2020-12-03 23:33 ` [PATCH 1/2] regulator: dt-bindings: Add PM8350x compatibles Bjorn Andersson @ 2020-12-04 23:31 ` Mark Brown 2 siblings, 0 replies; 5+ messages in thread From: Mark Brown @ 2020-12-04 23:31 UTC (permalink / raw) To: Vinod Koul Cc: linux-kernel, Liam Girdwood, Bjorn Andersson, Andy Gross, devicetree, linux-arm-msm, Rob Herring On Thu, 3 Dec 2020 12:42:43 +0530, Vinod Koul wrote: > Add PM8350 and PM8350C compatibles for these PMICs found in some > Qualcomm platforms. Applied to https://git.kernel.org/pub/scm/linux/kernel/git/broonie/regulator.git for-next Thanks! [1/2] regulator: dt-bindings: Add PM8350x compatibles commit: ff7f380d21d0e530c3501a007cec68da6dd4d650 [2/2] regulator: qcom-rpmh: Add support for PM8350/PM8350c commit: bebb2c6d5ca23d6b7556d39564212b619e068562 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-12-04 23:32 UTC | newest] Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed) -- links below jump to the message on this page -- 2020-12-03 7:12 [PATCH 1/2] regulator: dt-bindings: Add PM8350x compatibles Vinod Koul 2020-12-03 7:12 ` [PATCH 2/2] regulator: qcom-rpmh: Add support for PM8350/PM8350c Vinod Koul 2020-12-03 23:45 ` Bjorn Andersson 2020-12-03 23:33 ` [PATCH 1/2] regulator: dt-bindings: Add PM8350x compatibles Bjorn Andersson 2020-12-04 23:31 ` 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).