dt-bindings: watchdog: Add missing clocks requirement in Samsung SoC watchdog
authorKrzysztof Kozlowski <krzk@kernel.org>
Fri, 20 Sep 2019 16:21:23 +0000 (18:21 +0200)
committerRob Herring <robh@kernel.org>
Fri, 4 Oct 2019 16:22:59 +0000 (11:22 -0500)
The Samsung SoC watchdog driver always required providing a clock
(either through platform data or from DT).  However when bindings were
added in commit 9487a9cc7140 ("watchdog: s3c2410: Add support for device
tree based probe"), they missed the requirement of clock.

Signed-off-by: Krzysztof Kozlowski <krzk@kernel.org>
Reviewed-by: Rob Herring <robh@kernel.org>
Signed-off-by: Rob Herring <robh@kernel.org>
Documentation/devicetree/bindings/watchdog/samsung-wdt.yaml

index 5a3a3cec8e209fee6d3b0e9a2c4a3ac03a8d2f68..2fa40d8864b2242670485cb21b05318a3353ef95 100644 (file)
@@ -26,6 +26,13 @@ properties:
   reg:
     maxItems: 1
 
+  clocks:
+    maxItems: 1
+
+  clock-names:
+    items:
+      - const: watchdog
+
   interrupts:
     maxItems: 1
 
@@ -37,6 +44,8 @@ properties:
 
 required:
   - compatible
+  - clocks
+  - clock-names
   - interrupts
   - reg