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

Rob Herring robh at kernel.org
Sun Feb 18 16:08:35 PST 2018


On Sun, Feb 11, 2018 at 09:08:45PM +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 property in devicetree.

Same problems in this one.

> 
> Signed-off-by: Marcus Folkesson <marcus.folkesson at gmail.com>
> Reviewed-by: Guenter Roeck <linux at roeck-us.net>
> ---
>  Documentation/devicetree/bindings/watchdog/mtk-wdt.txt | 4 ++++
>  drivers/watchdog/mtk_wdt.c                             | 2 +-
>  2 files changed, 5 insertions(+), 1 deletion(-)



More information about the Linux-mediatek mailing list