PM / OPP: get/put regulators from OPP core
authorViresh Kumar <viresh.kumar@linaro.org>
Tue, 9 Feb 2016 05:00:33 +0000 (10:30 +0530)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Wed, 10 Feb 2016 00:11:53 +0000 (01:11 +0100)
commit9f8ea969d5cfdd4353d2adb004e8e2286b984369
tree89a110d6f65b74a62667b490e241bc3968dad687
parent388f7b1d6e8ca06762e2454d28d6c3c55ad0fe95
PM / OPP: get/put regulators from OPP core

This allows the OPP core to request/free the regulator resource,
attached to a device OPP. The regulator device is fetched using the name
provided by the driver, while calling: dev_pm_opp_set_regulator().

This will work for both OPP-v1 and v2 bindings.

This is a preliminary step for moving the OPP switching logic into the
OPP core.

Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
Reviewed-by: Stephen Boyd <sboyd@codeaurora.org>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
drivers/base/power/opp/core.c
drivers/base/power/opp/opp.h
include/linux/pm_opp.h
This page took 0.028638 seconds and 5 git commands to generate.