]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
PM / OPP: Add support to parse "operating-points-v2" bindings
authorViresh Kumar <viresh.kumar@linaro.org>
Wed, 29 Jul 2015 10:53:02 +0000 (16:23 +0530)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Fri, 7 Aug 2015 01:04:23 +0000 (03:04 +0200)
commit274659029c9de5b11678d3a52a45e3dbc9177a48
treeb2d5a274a34cd97e805f5859d0a1da82d728c7c7
parent23dacf6d2e993551ef3ae0629baf6f473930513c
PM / OPP: Add support to parse "operating-points-v2" bindings

This adds support in OPP library to parse and create list of OPPs from
operating-points-v2 bindings. It takes care of most of the properties of
new bindings (except shared-opp, which will be handled separately).

For backward compatibility, we keep supporting earlier bindings. We try
to search for the new bindings first, in case they aren't present we
look for the old deprecated ones.

There are few things marked as TODO:
- Support for multiple OPP tables
- Support for multiple regulators

They should be fixed separately.

Reviewed-by: Bartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com>
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>
drivers/base/power/opp.c