Skip to content

Commit

Permalink
PM / OPP: Add ti-opp-supply driver
Browse files Browse the repository at this point in the history
Introduce a ti-opp-supply driver that will use new multiple regulator
support that is part of the OPP core This is needed on TI platforms like
DRA7/AM57 in order to control both CPU regulator and Adaptive Body Bias
(ABB) regulator. These regulators must be scaled in sequence during an
OPP transition depending on whether or not the frequency is being scaled
up or down.

This driver also implements AVS Class0 for these parts by looking up the
required values from registers in the SoC and programming adjusted
optimal voltage values for each OPP.

Signed-off-by: Dave Gerlach <d-gerlach@ti.com>
Acked-by: Viresh Kumar <viresh.kumar@linaro.org>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
  • Loading branch information
Dave Gerlach authored and Rafael J. Wysocki committed Dec 17, 2017
1 parent 212b728 commit 9a835fa
Show file tree
Hide file tree
Showing 2 changed files with 426 additions and 0 deletions.
1 change: 1 addition & 0 deletions drivers/opp/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,4 @@ ccflags-$(CONFIG_DEBUG_DRIVER) := -DDEBUG
obj-y += core.o cpu.o
obj-$(CONFIG_OF) += of.o
obj-$(CONFIG_DEBUG_FS) += debugfs.o
obj-$(CONFIG_ARM_TI_CPUFREQ) += ti-opp-supply.o
Loading

0 comments on commit 9a835fa

Please sign in to comment.