]> git.baikalelectronics.ru Git - kernel.git/commit
PM / OPP: Add ti-opp-supply driver
authorDave Gerlach <d-gerlach@ti.com>
Fri, 15 Dec 2017 04:25:28 +0000 (22:25 -0600)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Sun, 17 Dec 2017 18:17:44 +0000 (19:17 +0100)
commitd25f146e4e31183247804fbc4162cef6c7377a6a
treec5dd78bb910d24826a8e00a22ede865598a8ae34
parent93c0720e2803e4f380a1b0bd46cc791709ef466e
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>
drivers/opp/Makefile
drivers/opp/ti-opp-supply.c [new file with mode: 0644]