Thread (23 messages) 23 messages, 6 authors, 2015-10-30
STALE3876d

[PATCH v2 1/2] watchdog: imx2_wdt: add external reset support via 'ext-reset-output' dt prop

From: tharvey@gateworks.com (Tim Harvey)
Date: 2015-06-25 23:22:22

On Fri, Jun 5, 2015 at 9:38 AM, Zhi Li [off-list ref] wrote:
On Thu, Jun 4, 2015 at 3:15 PM, Tim Harvey [off-list ref] wrote:
quoted
+       /* Generate internal chip-level reset if WDOG times out */
+       if (!wdev->ext_reset)
+               val &= ~IMX2_WDT_WCR_WRE;
+       /* Or if external-reset assert WDOG_B reset only on time-out */
+       else
+               val |= IMX2_WDT_WCR_WRE;
I think you can always enable IMX2_WDT_WCR_WRE.
So needn't ext_reset.

If you don't config WDOG_B pin mux,  WDOG_B do nothing.

best regards
Frank Li
Frank,

No - If you generate both an IMX6 internal reset and an external
reset, the external reset signal is released immediately after the
IMX6 goes into reset which may be too quick for whatever hardware you
have that routed to.

Tim
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help