From: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
To: Abel Vesa <abel.vesa@linaro.org>, Andy Gross <agross@kernel.org>,
Bjorn Andersson <andersson@kernel.org>,
Konrad Dybcio <konrad.dybcio@linaro.org>,
Liam Girdwood <lgirdwood@gmail.com>,
Mark Brown <broonie@kernel.org>, Rob Herring <robh@kernel.org>
Cc: Linux Kernel Mailing List <linux-kernel@vger.kernel.org>,
devicetree@vger.kernel.org, linux-arm-msm@vger.kernel.org
Subject: Re: [PATCH 1/2] regulator: qcom,rpmh: Add compatible for PM8550
Date: Wed, 16 Nov 2022 12:23:21 +0100 [thread overview]
Message-ID: <5c5a77c8-1f67-e423-d4b6-93bf8837cdc9@linaro.org> (raw)
In-Reply-To: <20221116110515.2612515-2-abel.vesa@linaro.org>
On 16/11/2022 12:05, Abel Vesa wrote:
> Add compatible string for PM8550 used in SM8550 boards.
Use subject prefixes matching the subsystem (git log --oneline -- ...).
>
> Signed-off-by: Abel Vesa <abel.vesa@linaro.org>
> ---
> .../regulator/qcom,rpmh-regulator.yaml | 29 +++++++++++++++++--
> 1 file changed, 26 insertions(+), 3 deletions(-)
>
> diff --git a/Documentation/devicetree/bindings/regulator/qcom,rpmh-regulator.yaml b/Documentation/devicetree/bindings/regulator/qcom,rpmh-regulator.yaml
> index 90c3bda31c23..66e6bda923cf 100644
> --- a/Documentation/devicetree/bindings/regulator/qcom,rpmh-regulator.yaml
> +++ b/Documentation/devicetree/bindings/regulator/qcom,rpmh-regulator.yaml
> @@ -47,6 +47,7 @@ description: |
> For PM8350, smps1 - smps12, ldo1 - ldo10
> For PM8350C, smps1 - smps10, ldo1 - ldo13, bob
> For PM8450, smps1 - smps6, ldo1 - ldo4
> + For PM8550, smps1 - smps6, ldo1 - ldo17, bob1 - bob2
> For PM8998, smps1 - smps13, ldo1 - ldo28, lvs1 - lvs2
> For PMI8998, bob
> For PMR735A, smps1 - smps3, ldo1 - ldo7
> @@ -70,6 +71,9 @@ properties:
> - qcom,pm8350-rpmh-regulators
> - qcom,pm8350c-rpmh-regulators
> - qcom,pm8450-rpmh-regulators
> + - qcom,pm8550-rpmh-regulators
> + - qcom,pm8550ve-rpmh-regulators
> + - qcom,pm8550vs-rpmh-regulators
> - qcom,pm8998-rpmh-regulators
> - qcom,pmg1110-rpmh-regulators
> - qcom,pmi8998-rpmh-regulators
> @@ -83,7 +87,7 @@ properties:
> RPMh resource name suffix used for the regulators found
> on this PMIC.
> $ref: /schemas/types.yaml#/definitions/string
> - enum: [a, b, c, d, e, f, h, k]
> + enum: [a, b, c, d, e, f, g, h, k]
>
> qcom,always-wait-for-ack:
> description: |
> @@ -107,7 +111,7 @@ properties:
> regulator-allow-set-load: ["regulator-allowed-modes"]
>
> patternProperties:
> - "^(smps|ldo|lvs)[0-9]+$":
> + "^(smps|ldo|lvs|bob)[0-9]+$":
> type: object
> $ref: "regulator.yaml#"
> description: smps/ldo regulator nodes(s).
> @@ -296,8 +300,27 @@ allOf:
> - qcom,pm8450-rpmh-regulators
> then:
> patternProperties:
> - "^vdd-l[1-4]-supply$": true
> + "^vdd-l[1-9]-supply$": true
Does not look related to this patch - aren't you changing some other
variant?
> "^vdd-s[1-6]-supply$": true
> + "^vdd-bob[1-2]-supply$": true
Does not look related to this patch.
> +
> + - if:
> + properties:
> + compatible:
> + enum:
> + - qcom,pm8550-rpmh-regulators
> + - qcom,pm8550ve-rpmh-regulators
> + - qcom,pm8550vs-rpmh-regulators
> + then:
> + properties:
> + vdd-l2-l13-l14-supply: true
> + vdd-l5-l16-supply: true
> + vdd-l6-l7-supply: true
> + vdd-l8-l9-supply: true
> + patternProperties:
> + "^vdd-l([1-4]|1[0-7])-supply$": true
> + "^vdd-s[1-6]-supply$": true
> + "^vdd-bob[1-2]-supply$": true
>
> - if:
> properties:
Best regards,
Krzysztof
next prev parent reply other threads:[~2022-11-16 11:34 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-11-16 11:05 [PATCH 0/2] regulator: qcom-rpmh: Add support " Abel Vesa
2022-11-16 11:05 ` [PATCH 1/2] regulator: qcom,rpmh: Add compatible " Abel Vesa
2022-11-16 11:23 ` Krzysztof Kozlowski [this message]
2022-11-16 11:05 ` [PATCH 2/2] regulator: qcom-rpmh: Add support for PM8550 regulators Abel Vesa
2022-11-16 11:38 ` Konrad Dybcio
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=5c5a77c8-1f67-e423-d4b6-93bf8837cdc9@linaro.org \
--to=krzysztof.kozlowski@linaro.org \
--cc=abel.vesa@linaro.org \
--cc=agross@kernel.org \
--cc=andersson@kernel.org \
--cc=broonie@kernel.org \
--cc=devicetree@vger.kernel.org \
--cc=konrad.dybcio@linaro.org \
--cc=lgirdwood@gmail.com \
--cc=linux-arm-msm@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=robh@kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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®