[PATCH v1] watchdog: imx2: fix hang-up on boot for i.MX21, i.MX27 and i.MX31 SoCs

Magnus Lilja lilja.magnus at gmail.com
Sun Dec 11 00:58:33 PST 2016


Hi

Excellent!

On 11 December 2016 at 02:06, Vladimir Zapolskiy <vz at mleia.com> wrote:
> Power down counter enable/disable bit switch is located in WMCR
> register, but watchdog controllers found on legacy i.MX21, i.MX27 and
> i.MX31 SoCs don't have this register. As a result of writing data to
> the non-existing register on driver probe the SoC hangs up, to fix the
> problem add more OF compatible strings and on this basis get
> information about availability of the WMCR register.
>
> Fixes: 5fe65ce7ccbb ("watchdog: imx2_wdt: Disable power down counter on boot")
> Signed-off-by: Vladimir Zapolskiy <vz at mleia.com>
> ---

Tested-by: Magnus Lilja <lilja.magnus at gmail.com>

(Tested on i.MX31 without device tree)

/Magnus



More information about the linux-arm-kernel mailing list