Skip to content

Commit 9a835fa

Browse files
dgerlachrafaeljw
authored andcommitted
PM / OPP: Add ti-opp-supply driver
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>
1 parent 212b728 commit 9a835fa

File tree

2 files changed

+426
-0
lines changed

2 files changed

+426
-0
lines changed

drivers/opp/Makefile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,3 +2,4 @@ ccflags-$(CONFIG_DEBUG_DRIVER) := -DDEBUG
22
obj-y += core.o cpu.o
33
obj-$(CONFIG_OF) += of.o
44
obj-$(CONFIG_DEBUG_FS) += debugfs.o
5+
obj-$(CONFIG_ARM_TI_CPUFREQ) += ti-opp-supply.o

0 commit comments

Comments
 (0)