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

Zhi Li lznuaa at gmail.com
Fri Jun 5 09:38:31 PDT 2015


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



More information about the linux-arm-kernel mailing list