mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Stephan Gerhold <stephan@gerhold.net>
To: Mark Brown <broonie@kernel.org>
Cc: Andy Gross <agross@kernel.org>,
	Bjorn Andersson <andersson@kernel.org>,
	Konrad Dybcio <konrad.dybcio@linaro.org>,
	Liam Girdwood <lgirdwood@gmail.com>,
	Rob Herring <robh+dt@kernel.org>,
	Krzysztof Kozlowski <krzysztof.kozlowski+dt@linaro.org>,
	Conor Dooley <conor+dt@kernel.org>,
	Robert Marko <robimarko@gmail.com>,
	linux-arm-msm@vger.kernel.org, linux-kernel@vger.kernel.org,
	devicetree@vger.kernel.org, Stephan Gerhold <stephan@gerhold.net>
Subject: [PATCH 3/6] dt-bindings: regulator: qcom,spmi: Document PM8019
Date: Tue, 12 Sep 2023 09:49:51 +0200	[thread overview]
Message-ID: <20230912-spmi-pm8909-v1-3-ba4b3bfaf87d@gerhold.net> (raw)
In-Reply-To: <20230912-spmi-pm8909-v1-0-ba4b3bfaf87d@gerhold.net>

Document the qcom,pm8019-regulators compatible together with the
necessary supply properties to allow interfacing via the hardware
regulator registers directly via SPMI. This is mainly intended for
debugging since the regulators are typically controlled via the RPM
firmware (qcom,rpm-pm8019-regulators compatible).

Signed-off-by: Stephan Gerhold <stephan@gerhold.net>
---
 .../bindings/regulator/qcom,spmi-regulator.yaml      | 20 ++++++++++++++++++++
 1 file changed, 20 insertions(+)

diff --git a/Documentation/devicetree/bindings/regulator/qcom,spmi-regulator.yaml b/Documentation/devicetree/bindings/regulator/qcom,spmi-regulator.yaml
index 765c31246cc7..fe6898a89ea1 100644
--- a/Documentation/devicetree/bindings/regulator/qcom,spmi-regulator.yaml
+++ b/Documentation/devicetree/bindings/regulator/qcom,spmi-regulator.yaml
@@ -17,6 +17,7 @@ properties:
       - qcom,pm660l-regulators
       - qcom,pm8004-regulators
       - qcom,pm8005-regulators
+      - qcom,pm8019-regulators
       - qcom,pm8226-regulators
       - qcom,pm8841-regulators
       - qcom,pm8909-regulators
@@ -177,6 +178,25 @@ allOf:
       patternProperties:
         "^vdd_s[1-4]-supply$": true
 
+  - if:
+      properties:
+        compatible:
+          contains:
+            enum:
+              - qcom,pm8019-regulators
+    then:
+      properties:
+        vdd_l1-supply: true
+        vdd_l2_l3-supply: true
+        vdd_l4_l5_l6-supply: true
+        vdd_l7_l8_l11-supply: true
+        vdd_l9-supply: true
+        vdd_l10-supply: true
+        vdd_l12-supply: true
+        vdd_l13_l14-supply: true
+      patternProperties:
+        "^vdd_s[1-4]-supply$": true
+
   - if:
       properties:
         compatible:

-- 
2.42.0


  parent reply	other threads:[~2023-09-12  7:50 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-09-12  7:49 [PATCH 0/6] regulator: qcom_spmi: Add PM8909, PM8019 and PMA8084 Stephan Gerhold
2023-09-12  7:49 ` [PATCH 1/6] dt-bindings: regulator: qcom,spmi: Document PM8909 Stephan Gerhold
2023-09-12 17:52   ` Rob Herring
2023-09-12  7:49 ` [PATCH 2/6] regulator: qcom_spmi: Add PM8909 regulators Stephan Gerhold
2023-09-12  7:49 ` Stephan Gerhold [this message]
2023-09-12 17:53   ` [PATCH 3/6] dt-bindings: regulator: qcom,spmi: Document PM8019 Rob Herring
2023-09-12  7:49 ` [PATCH 4/6] regulator: qcom_spmi: Add PM8019 regulators Stephan Gerhold
2023-09-12  7:49 ` [PATCH 5/6] dt-bindings: regulator: qcom,spmi: Document PMA8084 Stephan Gerhold
2023-09-12 17:53   ` Rob Herring
2023-09-12  7:49 ` [PATCH 6/6] regulator: qcom_spmi: Add PMA8084 regulators Stephan Gerhold
2023-09-27  8:58 ` [PATCH 0/6] regulator: qcom_spmi: Add PM8909, PM8019 and PMA8084 Mark Brown

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=20230912-spmi-pm8909-v1-3-ba4b3bfaf87d@gerhold.net \
    --to=stephan@gerhold.net \
    --cc=agross@kernel.org \
    --cc=andersson@kernel.org \
    --cc=broonie@kernel.org \
    --cc=conor+dt@kernel.org \
    --cc=devicetree@vger.kernel.org \
    --cc=konrad.dybcio@linaro.org \
    --cc=krzysztof.kozlowski+dt@linaro.org \
    --cc=lgirdwood@gmail.com \
    --cc=linux-arm-msm@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=robh+dt@kernel.org \
    --cc=robimarko@gmail.com \
    /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®