cpufreq: Add DVFS support for Armada 37xx
authorGregory CLEMENT <gregory.clement@free-electrons.com>
Thu, 14 Dec 2017 15:00:05 +0000 (16:00 +0100)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Sat, 16 Dec 2017 16:11:43 +0000 (17:11 +0100)
commit92ce45fb875d7c3e021cc454482fe0687ff54f29
tree10216546caafc1b3c915e7cd579db150b6983bc7
parentd71f617af7849e65884e2a5bd590807ca6b905b8
cpufreq: Add DVFS support for Armada 37xx

This patch adds DVFS support for the Armada 37xx SoCs

There are up to four CPU frequency loads for Armada 37xx controlled by
the hardware.

This driver associates the CPU load level to a frequency, then the
hardware will switch while selecting a load level.

The hardware also can associate a voltage for each level (AVS support)
but it is not yet supported

Tested-by: Andre Heider <a.heider@gmail.com>
Acked-by: Viresh Kumar <viresh.kumar@linaro.org>
Signed-off-by: Gregory CLEMENT <gregory.clement@free-electrons.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
drivers/cpufreq/Kconfig.arm
drivers/cpufreq/Makefile
drivers/cpufreq/armada-37xx-cpufreq.c [new file with mode: 0644]