aboutsummaryrefslogtreecommitdiffstats
path: root/Documentation/devicetree/bindings/watchdog
diff options
context:
space:
mode:
authorKrzysztof Kozlowski <krzk@kernel.org>2019-09-20 18:21:23 +0200
committerRob Herring <robh@kernel.org>2019-10-04 11:22:59 -0500
commit6fd64049cfe1eb07570726c423afec8aa1cb082b (patch)
treeae2d8f1ce3f6a68647c56fbaee96e3491fc36415 /Documentation/devicetree/bindings/watchdog
parentdt-bindings: watchdog: Convert Samsung SoC watchdog bindings to json-schema (diff)
downloadlinux-dev-6fd64049cfe1eb07570726c423afec8aa1cb082b.tar.xz
linux-dev-6fd64049cfe1eb07570726c423afec8aa1cb082b.zip
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>
Diffstat (limited to 'Documentation/devicetree/bindings/watchdog')
-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