[PATCH v2 1/2] watchdog: imx2_wdt: add external reset support via 'ext-reset-output' dt prop
Tim Harvey
tharvey at gateworks.com
Thu Jun 25 16:22:22 PDT 2015
On Fri, Jun 5, 2015 at 9:38 AM, Zhi Li <lznuaa at gmail.com> wrote:
> On Thu, Jun 4, 2015 at 3:15 PM, Tim Harvey <tharvey at gateworks.com> wrote:
>> + /* 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
More information about the linux-arm-kernel
mailing list