Skip to content

Commit

Permalink
dt-bindings: watchdog: sun4i: Add the watchdog interrupts
Browse files Browse the repository at this point in the history
The Allwinner watchdog has an interrupt, either shared or dedicated
depending on the SoC, that has been described in some DT, but not all of
them.

The binding is also completely missing that description. Let's add that
property to be consistent.

Signed-off-by: Maxime Ripard <maxime.ripard@bootlin.com>
Reviewed-by: Rob Herring <robh@kernel.org>
Reviewed-by: Guenter Roeck <linux@roeck-us.net>
Link: https://lore.kernel.org/r/20190821143835.7294-3-mripard@kernel.org
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Signed-off-by: Wim Van Sebroeck <wim@linux-watchdog.org>
  • Loading branch information
Maxime Ripard authored and Wim Van Sebroeck committed Sep 17, 2019
1 parent 2de4de2 commit f285e78
Showing 1 changed file with 5 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -31,9 +31,13 @@ properties:
reg:
maxItems: 1

interrupts:
maxItems: 1

required:
- compatible
- reg
- interrupts

unevaluatedProperties: false

Expand All @@ -42,6 +46,7 @@ examples:
wdt: watchdog@1c20c90 {
compatible = "allwinner,sun4i-a10-wdt";
reg = <0x01c20c90 0x10>;
interrupts = <24>;
timeout-sec = <10>;
};
Expand Down

0 comments on commit f285e78

Please sign in to comment.