[PATCH 1/2] ARM: move SPEAr to use common mult/shift calculation code

Linus Walleij linus.ml.walleij at gmail.com
Mon Jul 19 14:19:03 EDT 2010


2010/7/19 shiraz hashim <shiraz.linux.kernel at gmail.com>:

> The timer on spear platforms is 16 bit only (say with min. functional
> freq as 187500 HZ.).
> With these values the resolution of the timer is not much so what
> should be the good value
> of SPEAR_MIN_RANGE.

I've set it to 4 seconds, it will scale properly to assure the system
will get as much resolution as possible while still being able to
sleep for 4 seconds. 187 kHz is quite slow anyway.

> Tested-by: Shiraz Hashim <shiraz.hashim at st.com>

Thanks!

Yours,
Linus Walleij



More information about the linux-arm-kernel mailing list