Re: [PATCH 5/7] watchdog: mtk: allow setting timeout in devicetree

2018-02-09 Thread Guenter Roeck
On Fri, Feb 09, 2018 at 08:27:22PM +0100, Marcus Folkesson wrote: > 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 prope

[PATCH 5/7] watchdog: mtk: allow setting timeout in devicetree

2018-02-09 Thread Marcus Folkesson
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 --- Documentation/device