devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] dt-bindings: regulator: da9121: Use additionalProperties
@ 2020-11-09  8:54 Vincent Whitchurch
  2020-11-09 17:09 ` Mark Brown
  2020-11-09 19:47 ` Mark Brown
  0 siblings, 2 replies; 3+ messages in thread
From: Vincent Whitchurch @ 2020-11-09  8:54 UTC (permalink / raw)
  To: Liam Girdwood, Mark Brown, Rob Herring, Vincent Whitchurch
  Cc: kernel, linux-kernel, devicetree

There's no $ref at the top level so use additionalProperties instead of
unevaluatedProperties.

This fixes the following warning with the latest dtschema:

 Documentation/devicetree/bindings/regulator/dlg,da9121.yaml:
 'additionalProperties' is a required property

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

diff --git a/Documentation/devicetree/bindings/regulator/dlg,da9121.yaml b/Documentation/devicetree/bindings/regulator/dlg,da9121.yaml
index cde0d82dd201..2ece46ee1a59 100644
--- a/Documentation/devicetree/bindings/regulator/dlg,da9121.yaml
+++ b/Documentation/devicetree/bindings/regulator/dlg,da9121.yaml
@@ -22,7 +22,7 @@ properties:
     $ref: "regulator.yaml#"
     type: object
 
-unevaluatedProperties: false
+additionalProperties: false
 
 required:
   - compatible
-- 
2.28.0


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

* Re: [PATCH] dt-bindings: regulator: da9121: Use additionalProperties
  2020-11-09  8:54 [PATCH] dt-bindings: regulator: da9121: Use additionalProperties Vincent Whitchurch
@ 2020-11-09 17:09 ` Mark Brown
  2020-11-09 19:47 ` Mark Brown
  1 sibling, 0 replies; 3+ messages in thread
From: Mark Brown @ 2020-11-09 17:09 UTC (permalink / raw)
  To: Vincent Whitchurch
  Cc: Liam Girdwood, Rob Herring, kernel, linux-kernel, devicetree

[-- Attachment #1: Type: text/plain, Size: 498 bytes --]

On Mon, Nov 09, 2020 at 09:54:37AM +0100, Vincent Whitchurch wrote:
> There's no $ref at the top level so use additionalProperties instead of
> unevaluatedProperties.

Please submit patches using subject lines reflecting the style for the
subsystem, this makes it easier for people to identify relevant patches.
Look at what existing commits in the area you're changing are doing and
make sure your subject lines visually resemble what they're doing.
There's no need to resubmit to fix this alone.

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 488 bytes --]

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

* Re: [PATCH] dt-bindings: regulator: da9121: Use additionalProperties
  2020-11-09  8:54 [PATCH] dt-bindings: regulator: da9121: Use additionalProperties Vincent Whitchurch
  2020-11-09 17:09 ` Mark Brown
@ 2020-11-09 19:47 ` Mark Brown
  1 sibling, 0 replies; 3+ messages in thread
From: Mark Brown @ 2020-11-09 19:47 UTC (permalink / raw)
  To: Rob Herring, Liam Girdwood, Vincent Whitchurch
  Cc: devicetree, kernel, linux-kernel

On Mon, 9 Nov 2020 09:54:37 +0100, Vincent Whitchurch wrote:
> There's no $ref at the top level so use additionalProperties instead of
> unevaluatedProperties.
> 
> This fixes the following warning with the latest dtschema:
> 
>  Documentation/devicetree/bindings/regulator/dlg,da9121.yaml:
>  'additionalProperties' is a required property

Applied to

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

Thanks!

[1/1] regulator: da9121: Use additionalProperties
      commit: 285654130d5c1bed000be6b94cd43b5110d16090

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] 3+ messages in thread

end of thread, other threads:[~2020-11-09 19:48 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-11-09  8:54 [PATCH] dt-bindings: regulator: da9121: Use additionalProperties Vincent Whitchurch
2020-11-09 17:09 ` Mark Brown
2020-11-09 19:47 ` 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).