]> git.dujemihanovic.xyz Git - u-boot.git/commit
watchdog: imx: Add DT ext-reset handling
authorRobert Hancock <hancock@sedsystems.ca>
Tue, 6 Aug 2019 17:05:29 +0000 (11:05 -0600)
committerStefano Babic <sbabic@denx.de>
Sun, 3 Nov 2019 16:04:16 +0000 (17:04 +0100)
commitceea0c145d0c38badfcfc5443138e94ab094dc4a
treefe24884551b4df3df68541e4afd290b231da5016
parent6b4339d312b716a8a01d244110ee76b7bc92b2c2
watchdog: imx: Add DT ext-reset handling

The Linux imx2_wdt driver uses a fsl,ext-reset-output boolean in the
device tree to specify whether the board design should use the external
reset instead of the internal reset. Use this boolean to determine which
mode to use rather than using external reset unconditionally.

For the legacy non-DM mode, the external reset is always used in order
to maintain the previous behavior.

Signed-off-by: Robert Hancock <hancock@sedsystems.ca>
drivers/watchdog/imx_watchdog.c