Thread (22 messages) flat view 22 messages, 7 authors, 2018-03-17

[PATCH v3 2/7] watchdog: sunxi: allow setting timeout in devicetree

From: Chen-Yu Tsai <hidden>
Date: 2018-02-19 03:01:46
Also in: linux-amlogic, linux-devicetree, linux-mediatek, linux-watchdog, lkml

On Mon, Feb 19, 2018 at 8:06 AM, Rob Herring [off-list ref] wrote:
On Sun, Feb 11, 2018 at 09:08:42PM +0100, Marcus Folkesson wrote:
quoted
watchdog_init_timeout() will allways pick timeout_param since it
defaults to a valid timeout.

By following best practice described in
Documentation/watchdog/watchdog-kernel-api.txt, it also
let us to set timout-sec property in devicetree.

Signed-off-by: Marcus Folkesson <marcus.folkesson@gmail.com>
Reviewed-by: Guenter Roeck <linux@roeck-us.net>
---
 Documentation/devicetree/bindings/watchdog/sunxi-wdt.txt | 4 ++++
 drivers/watchdog/sunxi_wdt.c                             | 2 +-
 2 files changed, 5 insertions(+), 1 deletion(-)
Reviewed-by: Rob Herring <robh@kernel.org>
Reviewed-by: Chen-Yu Tsai <redacted>
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help