PM / OPP: Parse 'opp-supported-hw' binding
authorViresh Kumar <viresh.kumar@linaro.org>
Wed, 9 Dec 2015 02:31:46 +0000 (08:01 +0530)
committerAlex Shi <alex.shi@linaro.org>
Fri, 8 Apr 2016 03:22:24 +0000 (11:22 +0800)
commitae6a227802225358803c9749a703d11741229c86
tree6b5f99a2bd4ab2f0a0a1194821ca00b21f7795fa
parentd03b18f790c87a0ab9385ba33ba4f706630cc198
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>
(cherry picked from commit 7de36b0aa51a5a59e28fb2da768fa3ab07de0674)
Signed-off-by: Alex Shi <alex.shi@linaro.org>
drivers/base/power/opp/core.c
drivers/base/power/opp/opp.h
include/linux/pm_opp.h