[PATCH] ARM: imx: replace imx6q_restart() with mxc_restart()

Lothar Waßmann LW at KARO-electronics.de
Tue Oct 29 04:53:32 EDT 2013


Hi,

Shawn Guo wrote:
> On Mon, Oct 28, 2013 at 10:46:02AM -0700, Olof Johansson wrote:
> > By the way, the errata document says that you must write it twice
> > within one 32kHz clock period. You might want to write it three times
> > just in case two of them happen to straddle that period by pure bad
> > luck. I'm guessing it's rare enough that you haven't been able to
> > reproduce it though.
> 
> With CPU running at hundred MHz, two writes in the row should not
> straddle one 32kHz clock period - 31.25 us.
> 
But they still may end up in adjacent periods of the 32MHz
clock. If both writes have to happen within the same period of the
clock, the third write may be necessary to guarantee this.


Lothar Waßmann
-- 
___________________________________________________________

Ka-Ro electronics GmbH | Pascalstraße 22 | D - 52076 Aachen
Phone: +49 2408 1402-0 | Fax: +49 2408 1402-10
Geschäftsführer: Matthias Kaussen
Handelsregistereintrag: Amtsgericht Aachen, HRB 4996

www.karo-electronics.de | info at karo-electronics.de
___________________________________________________________



More information about the linux-arm-kernel mailing list