linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] dt-bindings: regulator: pca9450: Remove restrictions for regulator-name
@ 2022-08-02  6:43 Frieder Schrempf
  2022-08-02 20:28 ` Mark Brown
  0 siblings, 1 reply; 2+ messages in thread
From: Frieder Schrempf @ 2022-08-02  6:43 UTC (permalink / raw)
  To: devicetree, Krzysztof Kozlowski, Liam Girdwood, linux-kernel,
	Mark Brown, Rob Herring, Robin Gong
  Cc: Frieder Schrempf, Per-Daniel Olsson, Rickard x Andersson, Rob Herring

From: Frieder Schrempf <frieder.schrempf@kontron.de>

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: 7ae9e3a6bf3f ("dt-bindings: regulator: add pca9450 regulator yaml")
Signed-off-by: Frieder Schrempf <frieder.schrempf@kontron.de>
---
 .../bindings/regulator/nxp,pca9450-regulator.yaml     | 11 -----------
 1 file changed, 11 deletions(-)

diff --git a/Documentation/devicetree/bindings/regulator/nxp,pca9450-regulator.yaml b/Documentation/devicetree/bindings/regulator/nxp,pca9450-regulator.yaml
index b539781e39aa..835b53302db8 100644
--- a/Documentation/devicetree/bindings/regulator/nxp,pca9450-regulator.yaml
+++ b/Documentation/devicetree/bindings/regulator/nxp,pca9450-regulator.yaml
@@ -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
-- 
2.37.1

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] dt-bindings: regulator: pca9450: Remove restrictions for regulator-name
  2022-08-02  6:43 [PATCH] dt-bindings: regulator: pca9450: Remove restrictions for regulator-name Frieder Schrempf
@ 2022-08-02 20:28 ` Mark Brown
  0 siblings, 0 replies; 2+ messages in thread
From: Mark Brown @ 2022-08-02 20:28 UTC (permalink / raw)
  To: Rob Herring, Krzysztof Kozlowski, Liam Girdwood,
	Frieder Schrempf, linux-kernel, Robin Gong, devicetree
  Cc: Rob Herring, Per-Daniel Olsson, Frieder Schrempf, Rickard x Andersson

On Tue, 2 Aug 2022 08:43:34 +0200, Frieder Schrempf wrote:
> From: Frieder Schrempf <frieder.schrempf@kontron.de>
> 
> 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.
> 
> 
> [...]

Applied to

   https://git.kernel.org/pub/scm/linux/kernel/git/broonie/regulator.git for-next

Thanks!

[1/1] dt-bindings: regulator: pca9450: Remove restrictions for regulator-name
      commit: b0de7fa706506bf0591037908376351beda8c5d6

All being well this means that it will be integrated into the linux-next
tree (usually sometime in the next 24 hours) and sent to Linus during
the next merge window (or sooner if it is a bug fix), however if
problems are discovered then the patch may be dropped or reverted.

You may get further e-mails resulting from automated or manual testing
and review of the tree, please engage with people reporting problems and
send followup patches addressing any issues that are reported if needed.

If any updates are required or you are submitting further changes they
should be sent as incremental updates against current git, existing
patches will not be replaced.

Please add any relevant lists and maintainers to the CCs when replying
to this mail.

Thanks,
Mark

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2022-08-02 20:28 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-08-02  6:43 [PATCH] dt-bindings: regulator: pca9450: Remove restrictions for regulator-name Frieder Schrempf
2022-08-02 20:28 ` Mark Brown

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).