cpufreq: cpufreq-dt: extend with platform_data
authorThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Sun, 19 Oct 2014 09:30:28 +0000 (11:30 +0200)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Mon, 20 Oct 2014 22:51:01 +0000 (00:51 +0200)
commit34e5a5273d6aa0ee8836bd5d6111b135ffae6931
tree7317dc2b6efc5e4f407be166f652ee51c54d4340
parent51315cdfa0521fff3059cec5fb8ffecc7f37cba7
cpufreq: cpufreq-dt: extend with platform_data

This commit extends the cpufreq-dt driver to take a platform_data
structure. This structure is for now used to tell the cpufreq-dt
driver the layout of the clocks on the platform, i.e whether all CPUs
share the same clock or whether each CPU has a separate clock.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Acked-by: Viresh Kumar <viresh.kumar@linaro.org>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
drivers/cpufreq/cpufreq-dt.c
include/linux/cpufreq-dt.h [new file with mode: 0644]