summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKrzysztof Kozlowski <krzk@kernel.org>2019-09-20 19:21:23 +0300
committerRob Herring <robh@kernel.org>2019-10-04 19:22:59 +0300
commit6fd64049cfe1eb07570726c423afec8aa1cb082b (patch)
treeae2d8f1ce3f6a68647c56fbaee96e3491fc36415
parent79df4a9b547ffa7de73d8fc29a7b2c2e372cccb7 (diff)
downloadlinux-6fd64049cfe1eb07570726c423afec8aa1cb082b.tar.xz
dt-bindings: watchdog: Add missing clocks requirement in Samsung SoC watchdog
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>
-rw-r--r--Documentation/devicetree/bindings/watchdog/samsung-wdt.yaml9
1 files changed, 9 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/watchdog/samsung-wdt.yaml b/Documentation/devicetree/bindings/watchdog/samsung-wdt.yaml
index 5a3a3cec8e20..2fa40d8864b2 100644
--- a/Documentation/devicetree/bindings/watchdog/samsung-wdt.yaml
+++ b/Documentation/devicetree/bindings/watchdog/samsung-wdt.yaml
@@ -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