Unverified Commit b0de7fa7 authored by Frieder Schrempf's avatar Frieder Schrempf Committed by Mark Brown
Browse files

regulator: pca9450: Remove restrictions for regulator-name



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: default avatarMark Brown <broonie@kernel.org>
Fixes: 7ae9e3a6 ("dt-bindings: regulator: add pca9450 regulator yaml")
Signed-off-by: default avatarFrieder Schrempf <frieder.schrempf@kontron.de>
Link: https://lore.kernel.org/r/20220802064335.8481-1-frieder@fris.de


Signed-off-by: default avatarMark Brown <broonie@kernel.org>
parent efc93392
Loading
Loading
Loading
Loading
+0 −11
Original line number Diff line number Diff line
@@ -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]$":
@@ -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