Skip to content

Commit

Permalink
regulator: pca9450: Remove restrictions for regulator-name
Browse files Browse the repository at this point in the history
commit b0de7fa upstream.

The device bindings shouldn't put any constraints on the regulator-name
property specified in the generic bindings. This allows using arbitrary
and descriptive names for the regulators.

Suggested-by: Mark Brown <broonie@kernel.org>
Fixes: 7ae9e3a ("dt-bindings: regulator: add pca9450 regulator yaml")
Signed-off-by: Frieder Schrempf <frieder.schrempf@kontron.de>
Link: https://lore.kernel.org/r/20220802064335.8481-1-frieder@fris.de
Signed-off-by: Mark Brown <broonie@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
  • Loading branch information
fschrempf authored and gregkh committed Aug 25, 2022
1 parent 09e512a commit bd1fd0a
Showing 1 changed file with 0 additions and 11 deletions.
Expand Up @@ -47,12 +47,6 @@ properties:
description:
Properties for single LDO regulator.

properties:
regulator-name:
pattern: "^LDO[1-5]$"
description:
should be "LDO1", ..., "LDO5"

unevaluatedProperties: false

"^BUCK[1-6]$":
Expand All @@ -62,11 +56,6 @@ properties:
Properties for single BUCK regulator.

properties:
regulator-name:
pattern: "^BUCK[1-6]$"
description:
should be "BUCK1", ..., "BUCK6"

nxp,dvs-run-voltage:
$ref: "/schemas/types.yaml#/definitions/uint32"
minimum: 600000
Expand Down

0 comments on commit bd1fd0a

Please sign in to comment.