cpufreq: dt: Don't use generic platdev driver for tango
authorMarc Gonzalez <marc_gonzalez@sigmadesigns.com>
Tue, 18 Jul 2017 16:48:39 +0000 (18:48 +0200)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Sat, 22 Jul 2017 00:20:59 +0000 (02:20 +0200)
commit9dbd224f9e4e3285a1aba4c3c5683cee20e3c30c
tree536c31f02d3fbba0e7f001dd07bdfb247ccd8d8d
parentbb33270c02a9bb32d81a8dc83f8f2f3aea796404
cpufreq: dt: Don't use generic platdev driver for tango

On tango platforms, firmware configures the CPU clock, and Linux is
then only allowed to use the cpu_clk_divider to change the frequency.
Build the OPP table dynamically at init, in order to support whatever
firmware throws at us.

Signed-off-by: Marc Gonzalez <marc_gonzalez@sigmadesigns.com>
Acked-by: Viresh Kumar <viresh.kumar@linaro.org>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
arch/arm/boot/dts/tango4-smp8758.dtsi
drivers/cpufreq/Kconfig.arm
drivers/cpufreq/Makefile
drivers/cpufreq/cpufreq-dt-platdev.c
drivers/cpufreq/tango-cpufreq.c [new file with mode: 0644]