watchdog: imx2_wdt: allow setting timeout in devicetree
authorMarcus Folkesson <marcus.folkesson@gmail.com>
Thu, 8 Feb 2018 13:11:08 +0000 (14:11 +0100)
committerWim Van Sebroeck <wim@linux-watchdog.org>
Sat, 3 Mar 2018 16:04:12 +0000 (17:04 +0100)
commit2b77f0083a7c2e57ecc38d82b11213dc51f733c8
tree52b660d5355799b9a7d4515279e10a38847296e6
parent2b3d89b402b085b08498e896c65267a145bed486
watchdog: imx2_wdt: allow setting timeout in devicetree

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>
Reviewed-by: Rob Herring <robh@kernel.org>
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Signed-off-by: Wim Van Sebroeck <wim@iguana.be>
Documentation/devicetree/bindings/watchdog/fsl-imx-wdt.txt
drivers/watchdog/imx2_wdt.c