]> git.proxmox.com Git - mirror_ubuntu-hirsute-kernel.git/commit - drivers/cpufreq/sh-cpufreq.c
sh: cpufreq: Support CPU clock frequency table.
authorPaul Mundt <lethal@linux-sh.org>
Fri, 27 Jan 2012 11:18:24 +0000 (20:18 +0900)
committerPaul Mundt <lethal@linux-sh.org>
Fri, 27 Jan 2012 11:18:24 +0000 (20:18 +0900)
commit1bcfc723c8688a257df920999a43bcc2e59d5908
treeed9684aed2267f06f05217c4f96978644a82ea6f
parentecbef17adbbbe89eb6b3e4d4e5b756d63041319c
sh: cpufreq: Support CPU clock frequency table.

This adds support for the frequency table provided by the clock framework
under the struct clk definition (if available). In cases where no table
is generated or otherwise supported, we fall back on coarse grained
scaling via clock framework rounding, as before.

Signed-off-by: Paul Mundt <lethal@linux-sh.org>
arch/sh/kernel/cpufreq.c