clk: scpi: add support for cpufreq virtual device
authorSudeep Holla <sudeep.holla@arm.com>
Mon, 30 Mar 2015 09:59:52 +0000 (10:59 +0100)
committerSudeep Holla <sudeep.holla@arm.com>
Mon, 28 Sep 2015 10:53:37 +0000 (11:53 +0100)
commit9490f01e247169a93262054074409ad73d71c4da
tree6c0db7e91045a3efe93ffad0e82dde5e87245de5
parentcd52c2a4b5c43631e429d06dce12e08b0cab477f
clk: scpi: add support for cpufreq virtual device

The clocks for the CPUs are provided by SCP and are managed by this
clock driver. So the cpufreq device needs to be added only after the
clock get registered and removed when this driver is unloaded.

This patch manages the cpufreq virtual device based on the clock
availability.

Signed-off-by: Sudeep Holla <sudeep.holla@arm.com>
Acked-by: Stephen Boyd <sboyd@codeaurora.org>
Cc: Mike Turquette <mturquette@baylibre.com>
Cc: Liviu Dudau <Liviu.Dudau@arm.com>
Cc: Lorenzo Pieralisi <lorenzo.pieralisi@arm.com>
Cc: Jon Medhurst (Tixy) <tixy@linaro.org>
Cc: linux-clk@vger.kernel.org
drivers/clk/clk-scpi.c
This page took 0.048332 seconds and 5 git commands to generate.