]> git.karo-electronics.de Git - karo-tx-linux.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)
commit4d910d5bb56c870e5a737b71d4130ec38dc4faea
tree36215d747d59adeaaa84af0ce19998936a814bf1
parentf7cd2d835e0f17cde2e5cead92be0099d7e92a7c
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