cpufreq: at32ap: add frequency table
authorHans-Christian Egtvedt <egtvedt@samfundet.no>
Mon, 16 Sep 2013 13:26:41 +0000 (18:56 +0530)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Mon, 30 Sep 2013 18:18:45 +0000 (20:18 +0200)
commit848cb944213e88e4929a7efcc1c92bb6b6445353
treec41d9a73c97159a6e028c983d6518677e712a8bc
parent2e6a5c80e6fa8fd3af6c2ffc5ad6073e798a1690
cpufreq: at32ap: add frequency table

This patch adds a dynamically calculated frequency table to the at32ap driver.
In short the architecture can scale in power of two between a maximum and
minimum frequency. Min, max, and the steps in between are added to the table.

Signed-off-by: Hans-Christian Egtvedt <egtvedt@samfundet.no>
Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
drivers/cpufreq/at32ap-cpufreq.c