PM / OPP: Parse 'opp-supported-hw' binding
authorViresh Kumar <viresh.kumar@linaro.org>
Wed, 9 Dec 2015 02:31:46 +0000 (08:01 +0530)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Thu, 10 Dec 2015 22:08:51 +0000 (23:08 +0100)
commit7de36b0aa51a5a59e28fb2da768fa3ab07de0674
treea46061b13b61ebf6c8c31ddb92f95590828dedae
parentdc4e7b1fa20a840d2317fcfdaa1064fc09d2afcb
PM / OPP: Parse 'opp-supported-hw' binding

OPP bindings allow a platform to enable OPPs based on the version of the
hardware they are used for.

Add support to the OPP-core to parse these bindings, by introducing
dev_pm_opp_{set|put}_supported_hw() APIs.

Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
Tested-by: Lee Jones <lee.jones@linaro.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