]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitb263734bb69cb0145ef6e7c7c65e09f6ade1db0b
treea46061b13b61ebf6c8c31ddb92f95590828dedae
parente5dece2b881f34ea47b17427672e2a979d2525a0
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