linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] regulator: tps62864: Fix bindings for SW property
@ 2022-02-11 13:24 Vincent Whitchurch
  2022-02-14 14:56 ` Mark Brown
  0 siblings, 1 reply; 2+ messages in thread
From: Vincent Whitchurch @ 2022-02-11 13:24 UTC (permalink / raw)
  To: lgirdwood, broonie
  Cc: kernel, devicetree, linux-kernel, robh+dt, Vincent Whitchurch,
	Rob Herring

The property is not a pattern, so it should use 'properties' instead of
'patternProperties'.  Also, unevaluatedProperties should be set to false
like in the other regulator bindings.

Reported-by: Rob Herring <robh@kernel.org>
Signed-off-by: Vincent Whitchurch <vincent.whitchurch@axis.com>
---
 Documentation/devicetree/bindings/regulator/ti,tps62864.yaml | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/Documentation/devicetree/bindings/regulator/ti,tps62864.yaml b/Documentation/devicetree/bindings/regulator/ti,tps62864.yaml
index e3d739a37ab0..0f29c75f42ea 100644
--- a/Documentation/devicetree/bindings/regulator/ti,tps62864.yaml
+++ b/Documentation/devicetree/bindings/regulator/ti,tps62864.yaml
@@ -23,10 +23,11 @@ properties:
   regulators:
     type: object
 
-    patternProperties:
+    properties:
       "SW":
         type: object
         $ref: regulator.yaml#
+        unevaluatedProperties: false
 
     additionalProperties: false
 
-- 
2.34.1


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

* Re: [PATCH] regulator: tps62864: Fix bindings for SW property
  2022-02-11 13:24 [PATCH] regulator: tps62864: Fix bindings for SW property Vincent Whitchurch
@ 2022-02-14 14:56 ` Mark Brown
  0 siblings, 0 replies; 2+ messages in thread
From: Mark Brown @ 2022-02-14 14:56 UTC (permalink / raw)
  To: Vincent Whitchurch, lgirdwood
  Cc: kernel, robh+dt, Rob Herring, linux-kernel, devicetree

On Fri, 11 Feb 2022 14:24:49 +0100, Vincent Whitchurch wrote:
> The property is not a pattern, so it should use 'properties' instead of
> 'patternProperties'.  Also, unevaluatedProperties should be set to false
> like in the other regulator bindings.
> 
> 

Applied to

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

Thanks!

[1/1] regulator: tps62864: Fix bindings for SW property
      commit: a94e5cd8457fb46866459562ef6c53f9dcc375f7

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-02-14 14:56 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-02-11 13:24 [PATCH] regulator: tps62864: Fix bindings for SW property Vincent Whitchurch
2022-02-14 14:56 ` 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).