From: Paul Mundt Date: Wed, 13 May 2009 11:28:15 +0000 (+0900) Subject: sh: clkfwk: rate table construction and rounding for SH7785. X-Git-Tag: v2.6.31-rc1~392^2~41^2~9 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=cc96eace48fdf0f8925a74c6c1f7ffa512e458d2;p=pandora-kernel.git sh: clkfwk: rate table construction and rounding for SH7785. This adds support for constructing a rate table by looking at potential divisors for a specified clock. Each FQRMR clock is given its own table. Presently each table is rebuilt when the parent propagates down a new rate, so some more logic needs to be added to do this more intelligently. Additionally, a fairly generic round_rate() implementation is then layered on top of it, which subsequently provides us with cpufreq support. Signed-off-by: Paul Mundt --- Reading git-diff-tree failed