* [PATCH v3 0/2] Add partial PM6450 RPMh regulator support
@ 2026-11-26 7:39 SignKirigami
2026-11-26 7:39 ` [PATCH v3 1/2] dt-bindings: regulator: qcom,rpmh: Add PM6450 SignKirigami
2026-11-26 7:39 ` [PATCH v3 2/2] regulator: qcom-rpmh: Add partial PM6450 LDO support SignKirigami
0 siblings, 2 replies; 5+ messages in thread
From: SignKirigami @ 2026-11-26 7:39 UTC (permalink / raw)
To: Liam Girdwood, Mark Brown, Rob Herring, Krzysztof Kozlowski,
Conor Dooley, Bjorn Andersson
Cc: Krzysztof Kozlowski, linux-arm-msm, linux-kernel, devicetree,
SignKirigami
Add the eight PM6450 RPMh LDO resources used by Motorola Portov
(SM7435): LDO5, LDO7, LDO13, LDO16, LDO19, LDO23, LDO24 and LDO25.
This is the board-used subset, not a complete inventory of PM6450
regulators.
Signed-off-by: SignKirigami <prcups@krgm.moe>
---
Changes in v3:
- Clarify that this series adds the eight board-used LDO resources, not
a complete PM6450 regulator table.
- Replace the generic vin supply name with the five PM6450 input-pin
groups used by those LDOs.
- Declare the five matching parent supply properties for the PM6450
regulator controller in the binding.
- Explain that the PMIC5 voltage-model choices follow the board voltage
ranges; load and mode requests are supported by all three models.
- Keep the RPMh resource set unchanged.
- Link to v2: https://patch.msgid.link/20261126-netrani-pm6450-v1-v2-0-2539a2422218@krgm.moe
Changes in v2:
- Keep only the eight PM6450 LDO resources used by Portov.
- Place the PM6450 table after the PM6350 table.
- Use NLDO for the low-voltage rails and PLDO-LV for LDO19 and LDO23.
- Name each LDO's parent supply "vin" and use the standard per-regulator
vin-supply property.
- Keep LDO24 on PLDO while preserving its firmware-selected power-on voltage.
v1: https://patch.msgid.link/20261124-netrani-pm6450-v1-v1-0-1914da758d3d@krgm.moe
---
SignKirigami (2):
dt-bindings: regulator: qcom,rpmh: Add PM6450
regulator: qcom-rpmh: Add partial PM6450 LDO support
.../bindings/regulator/qcom,rpmh-regulator.yaml | 15 +++++++++++++++
drivers/regulator/qcom-rpmh-regulator.c | 16 ++++++++++++++++
2 files changed, 31 insertions(+)
---
base-commit: 6eba525f2c14486c1a8cac2320ab202097212f5c
change-id: 20261124-netrani-pm6450-v1-17ae284974fa
Best regards,
--
SignKirigami <prcups@krgm.moe>
^ permalink raw reply [flat|nested] 5+ messages in thread* [PATCH v3 1/2] dt-bindings: regulator: qcom,rpmh: Add PM6450 2026-11-26 7:39 [PATCH v3 0/2] Add partial PM6450 RPMh regulator support SignKirigami @ 2026-11-26 7:39 ` SignKirigami 2026-11-26 7:49 ` sashiko-bot 2026-11-26 8:12 ` SignKirigami 2026-11-26 7:39 ` [PATCH v3 2/2] regulator: qcom-rpmh: Add partial PM6450 LDO support SignKirigami 1 sibling, 2 replies; 5+ messages in thread From: SignKirigami @ 2026-11-26 7:39 UTC (permalink / raw) To: Liam Girdwood, Mark Brown, Rob Herring, Krzysztof Kozlowski, Conor Dooley, Bjorn Andersson Cc: Krzysztof Kozlowski, linux-arm-msm, linux-kernel, devicetree, SignKirigami Document the PM6450 compatible and the eight RPMh LDO resources used by Motorola Portov (SM7435). Add the parent supply properties for the PM6450 package input groups used by those LDOs. Signed-off-by: SignKirigami <prcups@krgm.moe> --- .../bindings/regulator/qcom,rpmh-regulator.yaml | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/Documentation/devicetree/bindings/regulator/qcom,rpmh-regulator.yaml b/Documentation/devicetree/bindings/regulator/qcom,rpmh-regulator.yaml index 9115885e7985b..c91f01d785174 100644 --- a/Documentation/devicetree/bindings/regulator/qcom,rpmh-regulator.yaml +++ b/Documentation/devicetree/bindings/regulator/qcom,rpmh-regulator.yaml @@ -37,6 +37,7 @@ description: | For PM6150, smps1 - smps5, ldo1 - ldo19 For PM6150L, smps1 - smps8, ldo1 - ldo11, bob For PM6350, smps1 - smps5, ldo1 - ldo22 + For PM6450, ldo5, ldo7, ldo13, ldo16, ldo19, ldo23 - ldo25 For PM660, smps1 - smps6, ldo1 - ldo3, ldo5 - ldo19 For PM660L, smps1 - smps3, smps5, ldo1 - ldo8, bob For PM7325, smps1 - smps8, ldo1 - ldo19 @@ -72,6 +73,7 @@ properties: - qcom,pm6150-rpmh-regulators - qcom,pm6150l-rpmh-regulators - qcom,pm6350-rpmh-regulators + - qcom,pm6450-rpmh-regulators - qcom,pm660-rpmh-regulators - qcom,pm660l-rpmh-regulators - qcom,pm7325-rpmh-regulators @@ -203,6 +205,19 @@ allOf: "^vdd-l([14]|1[1367])-supply$": true "^vdd-s[1-6]-supply$": true + - if: + properties: + compatible: + enum: + - qcom,pm6450-rpmh-regulators + then: + properties: + vdd-l5-l7-l9-l11-supply: true + vdd-l13-supply: true + vdd-l16-supply: true + vdd-l19-l23-supply: true + vdd-l24-l25-l26-l27-l28-supply: true + - if: properties: compatible: -- 2.56.0 ^ permalink raw reply related [flat|nested] 5+ messages in thread
* Re: [PATCH v3 1/2] dt-bindings: regulator: qcom,rpmh: Add PM6450 2026-11-26 7:39 ` [PATCH v3 1/2] dt-bindings: regulator: qcom,rpmh: Add PM6450 SignKirigami @ 2026-11-26 7:49 ` sashiko-bot 2026-11-26 8:12 ` SignKirigami 1 sibling, 0 replies; 5+ messages in thread From: sashiko-bot @ 2026-11-26 7:49 UTC (permalink / raw) To: SignKirigami; +Cc: devicetree, robh, conor+dt Thank you for your contribution! Sashiko AI review found 1 potential issue to consider: - [Medium] dt-bindings: regulator: qcom,rpmh: incomplete PM6450 regulators and supplies -- commit 2a397126512b98f933a759bc14548bc385a59660 Author: SignKirigami <prcups@krgm.moe> dt-bindings: regulator: qcom,rpmh: Add PM6450 This commit adds the qcom,pm6450-rpmh-regulators compatible, lists eight RPMh LDO resources in the description, and adds five parent supply properties for the PM6450 PMIC. > diff --git a/Documentation/devicetree/bindings/regulator/qcom,rpmh-regulator.yaml b/Documentation/devicetree/bindings/regulator/qcom,rpmh-regulator.yaml > index 9115885e7985b..c91f01d785174 100644 > --- a/Documentation/devicetree/bindings/regulator/qcom,rpmh-regulator.yaml > +++ b/Documentation/devicetree/bindings/regulator/qcom,rpmh-regulator.yaml > @@ -37,6 +37,7 @@ description: | > For PM6150, smps1 - smps5, ldo1 - ldo19 > For PM6150L, smps1 - smps8, ldo1 - ldo11, bob > For PM6350, smps1 - smps5, ldo1 - ldo22 > + For PM6450, ldo5, ldo7, ldo13, ldo16, ldo19, ldo23 - ldo25 > For PM660, smps1 - smps6, ldo1 - ldo3, ldo5 - ldo19 > For PM660L, smps1 - smps3, smps5, ldo1 - ldo8, bob > For PM7325, smps1 - smps8, ldo1 - ldo19 > @@ -72,6 +73,7 @@ properties: > - qcom,pm6150-rpmh-regulators > - qcom,pm6150l-rpmh-regulators > - qcom,pm6350-rpmh-regulators > + - qcom,pm6450-rpmh-regulators > - qcom,pm660-rpmh-regulators > - qcom,pm660l-rpmh-regulators > - qcom,pm7325-rpmh-regulators > @@ -203,6 +205,19 @@ allOf: > "^vdd-l([14]|1[1367])-supply$": true > "^vdd-s[1-6]-supply$": true > > + - if: > + properties: > + compatible: > + enum: > + - qcom,pm6450-rpmh-regulators > + then: > + properties: > + vdd-l5-l7-l9-l11-supply: true > + vdd-l13-supply: true > + vdd-l16-supply: true > + vdd-l19-l23-supply: true > + vdd-l24-l25-l26-l27-l28-supply: true > + > - if: > properties: > compatible: [Severity: Medium] Should the qcom,pm6450-rpmh-regulators entry describe all RPMh regulators and package input supplies of the PM6450 PMIC rather than only the subset used on Motorola Portov? Even the grouped supply names added here (vdd-l5-l7-l9-l11-supply and vdd-l24-l25-l26-l27-l28-supply) reference ldo9, ldo11, and ldo26 - ldo28, which are omitted from the description list above alongside the remaining PM6450 LDO and SMPS rails and their input supplies. Because this schema sets unevaluatedProperties: false, omitting the rest of the PM6450 vdd-l*-supply and vdd-s*-supply properties will cause dtbs_check failures for any board DT that wires other PM6450 supplies. -- Sashiko AI review · https://sashiko.dev/#/patchset/20261126-netrani-pm6450-v1-v3-0-2343209bbf4c@krgm.moe?part=1 ^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [PATCH v3 1/2] dt-bindings: regulator: qcom,rpmh: Add PM6450 2026-11-26 7:39 ` [PATCH v3 1/2] dt-bindings: regulator: qcom,rpmh: Add PM6450 SignKirigami 2026-11-26 7:49 ` sashiko-bot @ 2026-11-26 8:12 ` SignKirigami 1 sibling, 0 replies; 5+ messages in thread From: SignKirigami @ 2026-11-26 8:12 UTC (permalink / raw) To: Liam Girdwood, Mark Brown, Rob Herring, Krzysztof Kozlowski, Conor Dooley, Bjorn Andersson Cc: Krzysztof Kozlowski, linux-arm-msm, linux-kernel, devicetree 于 2026年11月26日 GMT+08:00 15:39:11,SignKirigami <prcups@krgm.moe> 写道: >Document the PM6450 compatible and the eight RPMh LDO resources used by >Motorola Portov (SM7435). Add the parent supply properties for the >PM6450 package input groups used by those LDOs. The remaining PM6450 resources are omitted from this initial change because their RPMh types and voltage capabilities have not been fully established. Regards, SignKirigami > >Signed-off-by: SignKirigami <prcups@krgm.moe> >--- > .../bindings/regulator/qcom,rpmh-regulator.yaml | 15 +++++++++++++++ > 1 file changed, 15 insertions(+) > >diff --git a/Documentation/devicetree/bindings/regulator/qcom,rpmh-regulator.yaml b/Documentation/devicetree/bindings/regulator/qcom,rpmh-regulator.yaml >index 9115885e7985b..c91f01d785174 100644 >--- a/Documentation/devicetree/bindings/regulator/qcom,rpmh-regulator.yaml >+++ b/Documentation/devicetree/bindings/regulator/qcom,rpmh-regulator.yaml >@@ -37,6 +37,7 @@ description: | > For PM6150, smps1 - smps5, ldo1 - ldo19 > For PM6150L, smps1 - smps8, ldo1 - ldo11, bob > For PM6350, smps1 - smps5, ldo1 - ldo22 >+ For PM6450, ldo5, ldo7, ldo13, ldo16, ldo19, ldo23 - ldo25 > For PM660, smps1 - smps6, ldo1 - ldo3, ldo5 - ldo19 > For PM660L, smps1 - smps3, smps5, ldo1 - ldo8, bob > For PM7325, smps1 - smps8, ldo1 - ldo19 >@@ -72,6 +73,7 @@ properties: > - qcom,pm6150-rpmh-regulators > - qcom,pm6150l-rpmh-regulators > - qcom,pm6350-rpmh-regulators >+ - qcom,pm6450-rpmh-regulators > - qcom,pm660-rpmh-regulators > - qcom,pm660l-rpmh-regulators > - qcom,pm7325-rpmh-regulators >@@ -203,6 +205,19 @@ allOf: > "^vdd-l([14]|1[1367])-supply$": true > "^vdd-s[1-6]-supply$": true > >+ - if: >+ properties: >+ compatible: >+ enum: >+ - qcom,pm6450-rpmh-regulators >+ then: >+ properties: >+ vdd-l5-l7-l9-l11-supply: true >+ vdd-l13-supply: true >+ vdd-l16-supply: true >+ vdd-l19-l23-supply: true >+ vdd-l24-l25-l26-l27-l28-supply: true >+ > - if: > properties: > compatible: > ^ permalink raw reply [flat|nested] 5+ messages in thread
* [PATCH v3 2/2] regulator: qcom-rpmh: Add partial PM6450 LDO support 2026-11-26 7:39 [PATCH v3 0/2] Add partial PM6450 RPMh regulator support SignKirigami 2026-11-26 7:39 ` [PATCH v3 1/2] dt-bindings: regulator: qcom,rpmh: Add PM6450 SignKirigami @ 2026-11-26 7:39 ` SignKirigami 1 sibling, 0 replies; 5+ messages in thread From: SignKirigami @ 2026-11-26 7:39 UTC (permalink / raw) To: Liam Girdwood, Mark Brown, Rob Herring, Krzysztof Kozlowski, Conor Dooley, Bjorn Andersson Cc: Krzysztof Kozlowski, linux-arm-msm, linux-kernel, devicetree, SignKirigami Add the eight PM6450 RPMh LDO resources used by Portov. Signed-off-by: SignKirigami <prcups@krgm.moe> --- drivers/regulator/qcom-rpmh-regulator.c | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/drivers/regulator/qcom-rpmh-regulator.c b/drivers/regulator/qcom-rpmh-regulator.c index da4764ffa6325..e8571e287a30b 100644 --- a/drivers/regulator/qcom-rpmh-regulator.c +++ b/drivers/regulator/qcom-rpmh-regulator.c @@ -1619,6 +1619,18 @@ static const struct rpmh_vreg_init_data pm6350_vreg_data[] = { RPMH_VREG("ldo22", LDO, 22, &pmic5_nldo, "vdd-l15-l19-l22"), }; +static const struct rpmh_vreg_init_data pm6450_vreg_data[] = { + RPMH_VREG("ldo5", LDO, 5, &pmic5_nldo, "vdd-l5-l7-l9-l11"), + RPMH_VREG("ldo7", LDO, 7, &pmic5_nldo, "vdd-l5-l7-l9-l11"), + RPMH_VREG("ldo13", LDO, 13, &pmic5_nldo, "vdd-l13"), + RPMH_VREG("ldo16", LDO, 16, &pmic5_nldo, "vdd-l16"), + RPMH_VREG("ldo19", LDO, 19, &pmic5_pldo_lv, "vdd-l19-l23"), + RPMH_VREG("ldo23", LDO, 23, &pmic5_pldo_lv, "vdd-l19-l23"), + RPMH_VREG("ldo24", LDO, 24, &pmic5_pldo, "vdd-l24-l25-l26-l27-l28"), + RPMH_VREG("ldo25", LDO, 25, &pmic5_pldo, "vdd-l24-l25-l26-l27-l28"), + {}, +}; + static const struct rpmh_vreg_init_data pmcx0102_vreg_data[] = { RPMH_VREG("smps1", SMPS, 1, &pmic5_ftsmps530, "vdd-s1"), RPMH_VREG("smps2", SMPS, 2, &pmic5_ftsmps530, "vdd-s2"), @@ -2056,6 +2068,10 @@ static const struct of_device_id __maybe_unused rpmh_regulator_match_table[] = { .compatible = "qcom,pm6350-rpmh-regulators", .data = pm6350_vreg_data, }, + { + .compatible = "qcom,pm6450-rpmh-regulators", + .data = pm6450_vreg_data, + }, { .compatible = "qcom,pmc8180-rpmh-regulators", .data = pm8150_vreg_data, -- 2.56.0 ^ permalink raw reply related [flat|nested] 5+ messages in thread
end of thread, other threads:[~2026-11-26 8:12 UTC | newest] Thread overview: 5+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- 2026-11-26 7:39 [PATCH v3 0/2] Add partial PM6450 RPMh regulator support SignKirigami 2026-11-26 7:39 ` [PATCH v3 1/2] dt-bindings: regulator: qcom,rpmh: Add PM6450 SignKirigami 2026-11-26 7:49 ` sashiko-bot 2026-11-26 8:12 ` SignKirigami 2026-11-26 7:39 ` [PATCH v3 2/2] regulator: qcom-rpmh: Add partial PM6450 LDO support SignKirigami
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox