mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Nicolas Heemeryck <nicolas.heemeryck@devialet.com>
To: Liam Girdwood <lgirdwood@gmail.com>, Mark Brown <broonie@kernel.org>
Cc: linux-kernel@vger.kernel.org,
	Nicolas Heemeryck <nicolas.heemeryck@devialet.com>
Subject: [PATCH 2/2] bindings: regulator: pca9450: Add LOADSW regulator
Date: Fri, 17 Mar 2023 10:39:11 +0100	[thread overview]
Message-ID: <20230317093911.1254530-3-nicolas.heemeryck@devialet.com> (raw)
In-Reply-To: <20230317093911.1254530-1-nicolas.heemeryck@devialet.com>

Add the binding documentation for the load switch regulator.

Signed-off-by: Nicolas Heemeryck <nicolas.heemeryck@devialet.com>
---
 .../bindings/regulator/nxp,pca9450-regulator.yaml  | 14 ++++++++++++++
 1 file changed, 14 insertions(+)

diff --git a/Documentation/devicetree/bindings/regulator/nxp,pca9450-regulator.yaml b/Documentation/devicetree/bindings/regulator/nxp,pca9450-regulator.yaml
index 835b53302db8..064d57256aff 100644
--- a/Documentation/devicetree/bindings/regulator/nxp,pca9450-regulator.yaml
+++ b/Documentation/devicetree/bindings/regulator/nxp,pca9450-regulator.yaml
@@ -20,6 +20,7 @@ description: |
 #The valid names for PCA9450 regulator nodes are:
 #BUCK1, BUCK2, BUCK3, BUCK4, BUCK5, BUCK6,
 #LDO1, LDO2, LDO3, LDO4, LDO5
+#LOADSW
 #Note: Buck3 removed on PCA9450B and connect with Buck1 on PCA9450C.
 
 properties:
@@ -74,6 +75,14 @@ properties:
 
         unevaluatedProperties: false
 
+        "LOADSW":
+          type: object
+          $ref: regulator.yaml#
+          description:
+            Properties for LOAD SWITCH regulator.
+
+        unevaluatedProperties: false
+
     additionalProperties: false
 
   sd-vsel-gpios:
@@ -190,6 +199,11 @@ examples:
                     regulator-boot-on;
                     regulator-always-on;
                 };
+                loadsw: LOADSW {
+                    regulator-name = "LOADSW";
+                    regulator-boot-on;
+                    regulator-always-on;
+                };
             };
         };
     };
-- 
2.34.1


-- 
- Confidential -

  parent reply	other threads:[~2023-03-17  9:39 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-03-17  9:39 [PATCH 0/2] regulator: pca9450: add " Nicolas Heemeryck
2023-03-17  9:39 ` [PATCH 1/2] regulator: pca9450: Add " Nicolas Heemeryck
2023-03-17  9:39 ` Nicolas Heemeryck [this message]
2023-03-17 11:49   ` [PATCH 2/2] bindings: " Krzysztof Kozlowski

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=20230317093911.1254530-3-nicolas.heemeryck@devialet.com \
    --to=nicolas.heemeryck@devialet.com \
    --cc=broonie@kernel.org \
    --cc=lgirdwood@gmail.com \
    --cc=linux-kernel@vger.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®