From mboxrd@z Thu Jan 1 00:00:00 1970 From: robh@kernel.org (Rob Herring) Date: Sun, 18 Feb 2018 18:06:19 -0600 Subject: [PATCH v3 2/7] watchdog: sunxi: allow setting timeout in devicetree In-Reply-To: <20180211200847.25000-2-marcus.folkesson@gmail.com> References: <20180211200847.25000-1-marcus.folkesson@gmail.com> <20180211200847.25000-2-marcus.folkesson@gmail.com> Message-ID: <20180219000619.4pjftflhcew5zav6@rob-hp-laptop> To: linus-amlogic@lists.infradead.org List-Id: linus-amlogic.lists.infradead.org On Sun, Feb 11, 2018 at 09:08:42PM +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. > > Signed-off-by: Marcus Folkesson > Reviewed-by: Guenter Roeck > --- > 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