[PATCH 1/2] ARM: move SPEAr to use common mult/shift calculation code
shiraz hashim
shiraz.linux.kernel at gmail.com
Mon Jul 19 09:11:03 EDT 2010
Hello Viresh, Linus
On Fri, May 28, 2010 at 11:03 PM, Linus Walleij
<linus.walleij at stericsson.com> wrote:
> Since the infrastructure for determining shift/mult values from a
> clock rate and a minimum programmable rate is now in the kernel,
> lets remove this custom code.
>
> Cc: Viresh KUMAR <viresh.kumar at st.com>
> Signed-off-by: Linus Walleij <linus.walleij at stericsson.com>
> ---
> Viresh: I cannot test this change, but I have compiled it against
> spear600_defconfig. You'd have to test it and Acked-by: it before
> I do anything else with it. Try to think about what a minimum range
> would be for the generic SPEAr platform...
I have applied the patch and tested the same, it works fine on spear platforms.
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.
Tested-by: Shiraz Hashim <shiraz.hashim at st.com>
--
regards
Shiraz Hashim
More information about the linux-arm-kernel
mailing list