* [PATCH] dt-bindings: gpio: mvebu: Fix "unevaluatedProperties" to be false
@ 2024-02-02 22:23 Rob Herring
2024-02-05 8:29 ` Bartosz Golaszewski
0 siblings, 1 reply; 2+ messages in thread
From: Rob Herring @ 2024-02-02 22:23 UTC (permalink / raw)
To: Uwe Kleine-König, Linus Walleij, Bartosz Golaszewski,
Krzysztof Kozlowski, Conor Dooley, Thomas Petazzoni, Andrew Lunn
Cc: linux-pwm, linux-gpio, devicetree, linux-kernel
Schemas need "unevaluatedProperties" or "additionalProperties" to be
false in order to disallow undefined properties. Only common or
otherwise incomplete schemas should allow undefined properties.
Signed-off-by: Rob Herring <robh@kernel.org>
---
Documentation/devicetree/bindings/gpio/gpio-mvebu.yaml | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/Documentation/devicetree/bindings/gpio/gpio-mvebu.yaml b/Documentation/devicetree/bindings/gpio/gpio-mvebu.yaml
index f1bd1e6b2e1f..33d4e4716516 100644
--- a/Documentation/devicetree/bindings/gpio/gpio-mvebu.yaml
+++ b/Documentation/devicetree/bindings/gpio/gpio-mvebu.yaml
@@ -115,7 +115,7 @@ allOf:
required:
- reg
-unevaluatedProperties: true
+unevaluatedProperties: false
examples:
- |
--
2.43.0
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] dt-bindings: gpio: mvebu: Fix "unevaluatedProperties" to be false
2024-02-02 22:23 [PATCH] dt-bindings: gpio: mvebu: Fix "unevaluatedProperties" to be false Rob Herring
@ 2024-02-05 8:29 ` Bartosz Golaszewski
0 siblings, 0 replies; 2+ messages in thread
From: Bartosz Golaszewski @ 2024-02-05 8:29 UTC (permalink / raw)
To: Rob Herring
Cc: Uwe Kleine-König, Linus Walleij, Krzysztof Kozlowski,
Conor Dooley, Thomas Petazzoni, Andrew Lunn, linux-pwm,
linux-gpio, devicetree, linux-kernel
On Fri, Feb 2, 2024 at 11:24 PM Rob Herring <robh@kernel.org> wrote:
>
> Schemas need "unevaluatedProperties" or "additionalProperties" to be
> false in order to disallow undefined properties. Only common or
> otherwise incomplete schemas should allow undefined properties.
>
> Signed-off-by: Rob Herring <robh@kernel.org>
> ---
> Documentation/devicetree/bindings/gpio/gpio-mvebu.yaml | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/Documentation/devicetree/bindings/gpio/gpio-mvebu.yaml b/Documentation/devicetree/bindings/gpio/gpio-mvebu.yaml
> index f1bd1e6b2e1f..33d4e4716516 100644
> --- a/Documentation/devicetree/bindings/gpio/gpio-mvebu.yaml
> +++ b/Documentation/devicetree/bindings/gpio/gpio-mvebu.yaml
> @@ -115,7 +115,7 @@ allOf:
> required:
> - reg
>
> -unevaluatedProperties: true
> +unevaluatedProperties: false
>
> examples:
> - |
> --
> 2.43.0
>
Applied, thanks!
Bart
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2024-02-05 8:30 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-02-02 22:23 [PATCH] dt-bindings: gpio: mvebu: Fix "unevaluatedProperties" to be false Rob Herring
2024-02-05 8:29 ` Bartosz Golaszewski
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).