]> git.baikalelectronics.ru Git - uboot.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)
commite5872c8c255e6bb4351f69118d8d4d59ec95a32e
treefe24884551b4df3df68541e4afd290b231da5016
parentd43406cd5e211b79c59b77dc14362949babf0797
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