PM / OPP: Add support for opp-suspend
authorViresh Kumar <viresh.kumar@linaro.org>
Sat, 13 Jun 2015 09:40:21 +0000 (15:10 +0530)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Fri, 7 Aug 2015 01:06:15 +0000 (03:06 +0200)
commitad656a6a8b1c8b4b2e723646e0402867f2f45395
tree1921c832e5b9f4698b5dbbcbe62006021cb1c07f
parent064416586190cb058d4c76a4e26b1996f434b6ca
PM / OPP: Add support for opp-suspend

With "operating-points-v2" bindings, it's possible to specify the OPP to
which the device must be switched, before suspending.

This patch adds support for getting that information.

Reviewed-by: Stephen Boyd <sboyd@codeaurora.org>
Reviewed-by: Bartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com>
Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
drivers/base/power/opp.c