summaryrefslogtreecommitdiffstats
path: root/drivers/opp
diff options
context:
space:
mode:
authorViresh Kumar <viresh.kumar@linaro.org>2016-02-09 10:30:39 +0530
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>2016-02-10 01:11:54 +0100
commit6a0712f6f199e737aa5913d28ec4bd3a25de9660 (patch)
tree5591576208af1bcf27a90beaec4b64895bb703b8 /drivers/opp
parentd54974c2513f487e9e70fbdc79c5da51c53e23da (diff)
PM / OPP: Add dev_pm_opp_set_rate()
This adds a routine, dev_pm_opp_set_rate(), responsible for configuring power-supply and clock source for an OPP. The OPP is found by matching against the target_freq passed to the routine. This shall replace similar code present in most of the OPP users and help simplify them a lot. 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>
Diffstat (limited to 'drivers/opp')
0 files changed, 0 insertions, 0 deletions