commit | c94a85746f7bdc13035acdf88c130d7b6fa41bde | [log] [tgz] |
---|---|---|
author | Magnus Damm <damm@igel.co.jp> | Mon May 25 08:10:28 2009 +0000 |
committer | Paul Mundt <lethal@linux-sh.org> | Tue May 26 17:08:39 2009 +0900 |
tree | 8aff35100dcb0a62c82452357ea267f92376dc7a | |
parent | c9904dd15922f349b5f06839e34b1723d4a75940 [diff] |
sh: add shared clock framework frequency table code Add SuperH-specific clock framework helper functions: - clk_rate_table_build() - build cpufreq table from divisors/multipliers - clk_rate_table_round() - use cpufreq table to find matching frequency Signed-off-by: Magnus Damm <damm@igel.co.jp> Signed-off-by: Paul Mundt <lethal@linux-sh.org>