[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20230418145051.4192963-1-Naresh.Solanki@9elements.com>
Date: Tue, 18 Apr 2023 16:50:50 +0200
From: Naresh Solanki <naresh.solanki@...ements.com>
To: Liam Girdwood <lgirdwood@...il.com>,
Mark Brown <broonie@...nel.org>,
Rob Herring <robh+dt@...nel.org>,
Krzysztof Kozlowski <krzysztof.kozlowski+dt@...aro.org>,
Zev Weiss <zev@...ilderbeest.net>
Cc: Naresh Solanki <Naresh.Solanki@...ements.com>,
linux-kernel@...r.kernel.org, devicetree@...r.kernel.org
Subject: [PATCH 1/2] dt-bindings: regulator: Add dt property
Add DT property regulator-supplies.
This enables us to couple one or more regulator output to gether. This
is use in case of Single connector having 2 or more supplies.
Signed-off-by: Naresh Solanki <Naresh.Solanki@...ements.com>
---
.../bindings/regulator/regulator-output.yaml | 12 +++++++++---
1 file changed, 9 insertions(+), 3 deletions(-)
diff --git a/Documentation/devicetree/bindings/regulator/regulator-output.yaml b/Documentation/devicetree/bindings/regulator/regulator-output.yaml
index 078b37a1a71a..17f683d3c1f3 100644
--- a/Documentation/devicetree/bindings/regulator/regulator-output.yaml
+++ b/Documentation/devicetree/bindings/regulator/regulator-output.yaml
@@ -21,13 +21,19 @@ properties:
compatible:
const: regulator-output
- vout-supply:
+ regulator-supplies:
description:
- Phandle of the regulator supplying the output.
+ Specifies the name of the output supply provided by the regulator.
+ Defaults to "vout".
+ default: "vout"
+
+patternProperties:
+ ".*-supply":
+ description:
+ Specified the phandle for various supplies
required:
- compatible
- - vout-supply
additionalProperties: false
base-commit: c55470f8b0616b0adb758077dbae9b19c5aac005
--
2.39.1
Powered by blists - more mailing lists