[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20220801131554.116795-3-frieder@fris.de>
Date: Mon, 1 Aug 2022 15:15:46 +0200
From: Frieder Schrempf <frieder@...s.de>
To: devicetree@...r.kernel.org,
Krzysztof Kozlowski <krzysztof.kozlowski+dt@...aro.org>,
Liam Girdwood <lgirdwood@...il.com>,
linux-kernel@...r.kernel.org, Mark Brown <broonie@...nel.org>,
Rob Herring <robh+dt@...nel.org>,
Robin Gong <yibin.gong@....com>
Cc: Fabio Estevam <festevam@...il.com>,
linux-arm-kernel@...ts.infradead.org,
Frieder Schrempf <frieder.schrempf@...tron.de>,
Per-Daniel Olsson <perdo@...s.com>,
Rickard x Andersson <rickaran@...s.com>
Subject: [PATCH v2 2/8] dt-bindings: regulator: pca9450: Allow arbitrary regulator names
From: Frieder Schrempf <frieder.schrempf@...tron.de>
Instead of restricting regulator-name to non-descriptive names, allow
to use arbitrary strings. This enables us to use the name of the
voltage rail that is powered by the regulator as some board DTs
already do.
Signed-off-by: Frieder Schrempf <frieder.schrempf@...tron.de>
---
Changes in v2:
* new patch
---
.../bindings/regulator/nxp,pca9450-regulator.yaml | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/Documentation/devicetree/bindings/regulator/nxp,pca9450-regulator.yaml b/Documentation/devicetree/bindings/regulator/nxp,pca9450-regulator.yaml
index b539781e39aa..b1e4fd09928b 100644
--- a/Documentation/devicetree/bindings/regulator/nxp,pca9450-regulator.yaml
+++ b/Documentation/devicetree/bindings/regulator/nxp,pca9450-regulator.yaml
@@ -49,9 +49,9 @@ properties:
properties:
regulator-name:
- pattern: "^LDO[1-5]$"
description:
- should be "LDO1", ..., "LDO5"
+ Should be "LDO1", ..., "LDO5" or whatever the name of the boards
+ voltage rail powered by this regulator is.
unevaluatedProperties: false
@@ -63,9 +63,9 @@ properties:
properties:
regulator-name:
- pattern: "^BUCK[1-6]$"
description:
- should be "BUCK1", ..., "BUCK6"
+ Should be "BUCK1", ..., "BUCK6" or whatever the name of the boards
+ voltage rail powered by this regulator is.
nxp,dvs-run-voltage:
$ref: "/schemas/types.yaml#/definitions/uint32"
--
2.37.1
Powered by blists - more mailing lists