]> git.baikalelectronics.ru Git - kernel.git/commit
ARM: vexpress/TC2: add cpu clock support
authorSudeep KarkadaNagesha <sudeep.karkadanagesha@arm.com>
Tue, 29 Oct 2013 12:18:38 +0000 (12:18 +0000)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Tue, 29 Oct 2013 23:48:25 +0000 (00:48 +0100)
commit85de9da0a349442cdccd6e0e12947a3dbbaef27f
tree36215d747d59adeaaa84af0ce19998936a814bf1
parent3928771b276a426e06dbc0e6aaf1b392aee11ad3
ARM: vexpress/TC2: add cpu clock support

On TC2, the cpu clocks are controlled by the external M3 microcontroller
and SPC provides the interface between the CPU and the power controller.

The generic cpufreq drivers use the clock APIs to get the cpu clocks.
This patch add virtual spc clocks for all the cpus to control the cpu
operating frequency via the clock framework.

Signed-off-by: Sudeep KarkadaNagesha <sudeep.karkadanagesha@arm.com>
Acked-by: Nicolas Pitre <nico@linaro.org>
Acked-by: Pawel Moll <Pawel.Moll@arm.com>
Acked-by: Viresh Kumar <viresh.kumar@linaro.org>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
arch/arm/mach-vexpress/spc.c