From: Krzysztof Kozlowski Date: Fri, 20 Sep 2019 16:21:23 +0000 (+0200) Subject: dt-bindings: watchdog: Add missing clocks requirement in Samsung SoC watchdog X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=6fd64049cfe1eb07570726c423afec8aa1cb082b;p=linux.git 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 Reviewed-by: Rob Herring Signed-off-by: Rob Herring --- diff --git a/Documentation/devicetree/bindings/watchdog/samsung-wdt.yaml b/Documentation/devicetree/bindings/watchdog/samsung-wdt.yaml index 5a3a3cec8e209..2fa40d8864b22 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