linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* i.MX53 restart via watchdog does not work
@ 2016-04-15 16:17 Stanislav Meduna
  2016-04-19 15:39 ` Fabio Estevam
  0 siblings, 1 reply; 7+ messages in thread
From: Stanislav Meduna @ 2016-04-15 16:17 UTC (permalink / raw)
  To: linux-arm-kernel

Hi,

I am using an TQMa53 board, which expects to be resetted
by watchdog circuit. In older kernels ths was done in
by mxc_restart defined in arch/arm/mach-imx/system.c
and initialized and wired in mach-imx53.c.

Current kernels however do not use this and the mach-imx53.c
does not set .restart. I am getting
  imx2-wdt 53f98000.wdog: Device shutdown: Expect reboot!
  reboot: Restarting system
and the system just hangs there.

What is the correct way to accomplish this? I can of course
try to merge the old code back, but I expect there is
a reason why it was removed. Is writing the restart function
where I get and enable the clock, get an I/O mapping and
write the watchdog registers the correct approach?
Or should this be controlled by the device tree? Are there
maybe some patches flying (I was not able to google
anything relevant)?

Thanks
-- 
                                Stano

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2016-06-23 15:14 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-04-15 16:17 i.MX53 restart via watchdog does not work Stanislav Meduna
2016-04-19 15:39 ` Fabio Estevam
2016-04-19 15:54   ` Stanislav Meduna
2016-04-19 18:18     ` Fabio Estevam
2016-04-19 18:28       ` Stanislav Meduna
2016-04-19 18:43         ` Fabio Estevam
2016-06-23 15:14           ` Martin Fuzzey

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).