[PATCH] dt-bindings: watchdog: uniphier: Use unevaluatedProperties

Kunihiko Hayashi posted 1 patch 4 years, 2 months ago
.../devicetree/bindings/watchdog/socionext,uniphier-wdt.yaml    | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
[PATCH] dt-bindings: watchdog: uniphier: Use unevaluatedProperties
Posted by Kunihiko Hayashi 4 years, 2 months ago
This refers common bindings, so this is preferred for
unevaluatedProperties instead of additionalProperties.

Signed-off-by: Kunihiko Hayashi <hayashi.kunihiko@socionext.com>
---
 .../devicetree/bindings/watchdog/socionext,uniphier-wdt.yaml    | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/Documentation/devicetree/bindings/watchdog/socionext,uniphier-wdt.yaml b/Documentation/devicetree/bindings/watchdog/socionext,uniphier-wdt.yaml
index a059d16cb4f2..90698cfa8f94 100644
--- a/Documentation/devicetree/bindings/watchdog/socionext,uniphier-wdt.yaml
+++ b/Documentation/devicetree/bindings/watchdog/socionext,uniphier-wdt.yaml
@@ -19,7 +19,7 @@ properties:
 required:
   - compatible
 
-additionalProperties: false
+unevaluatedProperties: false
 
 examples:
   - |
-- 
2.25.1
Re: [PATCH] dt-bindings: watchdog: uniphier: Use unevaluatedProperties
Posted by Guenter Roeck 4 years, 1 month ago
On 4/7/22 00:46, Kunihiko Hayashi wrote:
> This refers common bindings, so this is preferred for
> unevaluatedProperties instead of additionalProperties.
> 
> Signed-off-by: Kunihiko Hayashi <hayashi.kunihiko@socionext.com>

Reviewed-by: Guenter Roeck <linux@roeck-us.net>

> ---
>   .../devicetree/bindings/watchdog/socionext,uniphier-wdt.yaml    | 2 +-
>   1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/Documentation/devicetree/bindings/watchdog/socionext,uniphier-wdt.yaml b/Documentation/devicetree/bindings/watchdog/socionext,uniphier-wdt.yaml
> index a059d16cb4f2..90698cfa8f94 100644
> --- a/Documentation/devicetree/bindings/watchdog/socionext,uniphier-wdt.yaml
> +++ b/Documentation/devicetree/bindings/watchdog/socionext,uniphier-wdt.yaml
> @@ -19,7 +19,7 @@ properties:
>   required:
>     - compatible
>   
> -additionalProperties: false
> +unevaluatedProperties: false
>   
>   examples:
>     - |
Re: [PATCH] dt-bindings: watchdog: uniphier: Use unevaluatedProperties
Posted by Rob Herring 4 years, 2 months ago
On Thu, 07 Apr 2022 16:46:46 +0900, Kunihiko Hayashi wrote:
> This refers common bindings, so this is preferred for
> unevaluatedProperties instead of additionalProperties.
> 
> Signed-off-by: Kunihiko Hayashi <hayashi.kunihiko@socionext.com>
> ---
>  .../devicetree/bindings/watchdog/socionext,uniphier-wdt.yaml    | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 

Reviewed-by: Rob Herring <robh@kernel.org>