[PATCH v1] watchdog: imx2: fix hang-up on boot for i.MX21, i.MX27 and i.MX31 SoCs
From: Uwe Kleine-König <hidden>
Date: 2016-12-29 22:04:45
Also in:
linux-watchdog
From: Uwe Kleine-König <hidden>
Date: 2016-12-29 22:04:45
Also in:
linux-watchdog
On Wed, Dec 28, 2016 at 09:39:51PM -0200, Fabio Estevam wrote:
On Wed, Dec 28, 2016 at 7:46 PM, Uwe Kleine-K?nig [off-list ref] wrote:quoted
Right, so they would fall back to the i.MX21 type and not profit from Markus' change until either the dtb is updated or the third commit is added. I'll try to contact Markus to ask if he remembers more details.There is no profit from Markus' change for mx21/mx27/mx31.
Ack. If you teach the driver now about i.MX35 and only make use of the WMCR register on this one, the possible breakage is that this register isn't written to on the i.MX35 type until the dtb is updated.
As Vladimir explained in his commit log these SoCs do not have the WMCR register, which causes a hang on these SoCs when we try to write to it.
So this should be fixed by adding support for i.MX35. Best regards Uwe -- Pengutronix e.K. | Uwe Kleine-K?nig | Industrial Linux Solutions | http://www.pengutronix.de/ |