All of lore.kernel.org
 help / color / mirror / Atom feed
From: Iskren Chernev <iskren.chernev@gmail.com>
To: Bjorn Andersson <bjorn.andersson@linaro.org>,
	Mark Brown <broonie@kernel.org>
Cc: Adam Skladowski <a39.skl@gmail.com>,
	Andy Gross <agross@kernel.org>,
	Konrad Dybcio <konrad.dybcio@somainline.org>,
	Krzysztof Kozlowski <krzysztof.kozlowski+dt@linaro.org>,
	Liam Girdwood <lgirdwood@gmail.com>,
	Rob Herring <robh+dt@kernel.org>,
	Robert Marko <robimarko@gmail.com>,
	devicetree@vger.kernel.org, linux-arm-msm@vger.kernel.org,
	linux-kernel@vger.kernel.org, phone-devel@vger.kernel.org,
	~postmarketos/upstreaming@lists.sr.ht,
	Iskren Chernev <iskren.chernev@gmail.com>
Subject: [PATCH v2 1/5] dt-bindings: regulator: Document the PM6125 SPMI PMIC
Date: Tue, 26 Jul 2022 21:11:29 +0300	[thread overview]
Message-ID: <20220726181133.3262695-2-iskren.chernev@gmail.com> (raw)
In-Reply-To: <20220726181133.3262695-1-iskren.chernev@gmail.com>

Add support for pm6125 compatible string and add relevant supplies in QCom SPMI
regulator documentation.

Signed-off-by: Iskren Chernev <iskren.chernev@gmail.com>
Signed-off-by: Adam Skladowski <a39.skl@gmail.com>
---
 .../regulator/qcom,spmi-regulator.yaml        | 19 +++++++++++++++++++
 1 file changed, 19 insertions(+)

diff --git a/Documentation/devicetree/bindings/regulator/qcom,spmi-regulator.yaml b/Documentation/devicetree/bindings/regulator/qcom,spmi-regulator.yaml
index 8b7c4af4b551..d8f18b441484 100644
--- a/Documentation/devicetree/bindings/regulator/qcom,spmi-regulator.yaml
+++ b/Documentation/devicetree/bindings/regulator/qcom,spmi-regulator.yaml
@@ -12,6 +12,7 @@ maintainers:
 properties:
   compatible:
     enum:
+      - qcom,pm6125-regulators
       - qcom,pm660-regulators
       - qcom,pm660l-regulators
       - qcom,pm8004-regulators
@@ -106,6 +107,24 @@ required:
   - compatible

 allOf:
+  - if:
+      properties:
+        compatible:
+          contains:
+            enum:
+              - qcom,pm6125-regulators
+    then:
+      properties:
+        vdd_l1_l7_l17_l18-supply: true
+        vdd_l2_l3_l4-supply: true
+        vdd_l5_l15_l19_l20_l21_l22-supply: true
+        vdd_l6_l8-supply: true
+        vdd_l9_l11-supply: true
+        vdd_l10_l13_l14-supply: true
+        vdd_l12_l16-supply: true
+        vdd_l23_l24-supply: true
+      patternProperties:
+        "^vdd_s[1-8]-supply$": true
   - if:
       properties:
         compatible:
--
2.37.1


  reply	other threads:[~2022-07-26 18:11 UTC|newest]

Thread overview: 21+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-07-26 18:11 [PATCH v2 0/5] PM6125 regulator support Iskren Chernev
2022-07-26 18:11 ` Iskren Chernev [this message]
2022-07-26 20:36   ` [PATCH v2 1/5] dt-bindings: regulator: Document the PM6125 SPMI PMIC Dmitry Baryshkov
2022-07-27  7:49     ` Iskren Chernev
2022-07-27  8:34       ` Dmitry Baryshkov
2022-07-26 18:11 ` [PATCH v2 2/5] dt-bindings: regulator: Document the PM6125 RPM regulators Iskren Chernev
2022-07-27  7:26   ` Krzysztof Kozlowski
2022-07-27 10:32     ` Iskren Chernev
2022-07-27 12:04       ` Krzysztof Kozlowski
2022-07-26 18:11 ` [PATCH v2 3/5] regulator: qcom_spmi: Add support for new regulator types Iskren Chernev
2022-07-27 11:57   ` Mark Brown
2022-07-27 23:14     ` Iskren Chernev
2022-07-28 11:11       ` Mark Brown
2022-07-28 20:59         ` Iskren Chernev
2022-07-29 12:04           ` Mark Brown
2022-07-29 21:07             ` Jorge Ramirez-Ortiz, Gmail
2022-07-26 18:11 ` [PATCH v2 4/5] regulator: qcom_spmi: Add PM6125 PMIC support Iskren Chernev
2022-07-26 20:41   ` Dmitry Baryshkov
2022-07-27 11:59   ` Mark Brown
2022-07-26 18:11 ` [PATCH v2 5/5] regulator: qcom_smd: Add PM6125 regulators support Iskren Chernev
2022-07-26 20:42   ` Dmitry Baryshkov

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=20220726181133.3262695-2-iskren.chernev@gmail.com \
    --to=iskren.chernev@gmail.com \
    --cc=a39.skl@gmail.com \
    --cc=agross@kernel.org \
    --cc=bjorn.andersson@linaro.org \
    --cc=broonie@kernel.org \
    --cc=devicetree@vger.kernel.org \
    --cc=konrad.dybcio@somainline.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=phone-devel@vger.kernel.org \
    --cc=robh+dt@kernel.org \
    --cc=robimarko@gmail.com \
    --cc=~postmarketos/upstreaming@lists.sr.ht \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.