aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKrzysztof Kozlowski <[email protected]>2023-04-15 11:51:12 +0200
committerWim Van Sebroeck <[email protected]>2023-04-22 16:01:50 +0200
commit495cbe36ee795dc06abccfb251e4384c6a26dc48 (patch)
tree7300677df0c95fe946208d5774918cc1db952e32
parent20f43c943d06f628f832658238581fdeb29f7f92 (diff)
dt-bindings: watchdog: realtek,otto-wdt: simplify requiring interrupt-names
Required properties should be listed in "required:" block. Since interrupts are already there, the dependency of interrupt-names on the interrupts can be simplified. Signed-off-by: Krzysztof Kozlowski <[email protected]> Acked-by: Sander Vanheule <[email protected]> Reviewed-by: Rob Herring <[email protected]> Reviewed-by: Guenter Roeck <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Guenter Roeck <[email protected]> Signed-off-by: Wim Van Sebroeck <[email protected]>
-rw-r--r--Documentation/devicetree/bindings/watchdog/realtek,otto-wdt.yaml4
1 files changed, 1 insertions, 3 deletions
diff --git a/Documentation/devicetree/bindings/watchdog/realtek,otto-wdt.yaml b/Documentation/devicetree/bindings/watchdog/realtek,otto-wdt.yaml
index 099245fe7b10..1f5390a67cdb 100644
--- a/Documentation/devicetree/bindings/watchdog/realtek,otto-wdt.yaml
+++ b/Documentation/devicetree/bindings/watchdog/realtek,otto-wdt.yaml
@@ -67,12 +67,10 @@ required:
- reg
- clocks
- interrupts
+ - interrupt-names
unevaluatedProperties: false
-dependencies:
- interrupts: [ interrupt-names ]
-
examples:
- |
watchdog: watchdog@3150 {