From: Frieder Schrempf <frieder.schrempf@xxxxxxxxxx> 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@xxxxxxxxxx> --- 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