OSDN Git Service

dt-bindings: watchdog: fsl-imx7ulp-wdt: simplify with unevaluatedProperties
authorKrzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Sat, 15 Apr 2023 09:51:10 +0000 (11:51 +0200)
committerWim Van Sebroeck <wim@linux-watchdog.org>
Sat, 22 Apr 2023 14:01:49 +0000 (16:01 +0200)
Allow generic watchdog properties by using unevaluatedProperties: false.

Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Reviewed-by: Guenter Roeck <linux@roeck-us.net>
Reviewed-by: Rob Herring <robh@kernel.org>
Link: https://lore.kernel.org/r/20230415095112.51257-4-krzysztof.kozlowski@linaro.org
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Signed-off-by: Wim Van Sebroeck <wim@linux-watchdog.org>
Documentation/devicetree/bindings/watchdog/fsl-imx7ulp-wdt.yaml

index 8562978..f42cc09 100644 (file)
@@ -30,15 +30,13 @@ properties:
   clocks:
     maxItems: 1
 
-  timeout-sec: true
-
 required:
   - compatible
   - interrupts
   - reg
   - clocks
 
-additionalProperties: false
+unevaluatedProperties: false
 
 examples:
   - |