Hi Rafael/Stephen,
The bindings are reviewed now and here is the code to parse them. The first patch is a minor cleanup and other two contain the real stuff.
Rebased over: v4.4-rc1 + OPP debugfs support patch. Tested-on: Exynos 5250, dual core A15.
V1->V2: - Fixed locking - NUL terminate strings instead of sprintf - Remove NULL checkers for the routines - constify 'versions' - s/EINVAL/EBUSY - updated comments over routines - Use of_property_read_u32_index() instead of allocating arrays - remove dev_opp for failures
Viresh Kumar (3): PM / OPP: Add missing doc comments PM / OPP: Parse 'opp-supported-hw' binding PM / OPP: Parse 'opp-<prop>-<name>' bindings
drivers/base/power/opp/core.c | 301 +++++++++++++++++++++++++++++++++++++++--- drivers/base/power/opp/opp.h | 11 +- include/linux/pm_opp.h | 22 +++ 3 files changed, 318 insertions(+), 16 deletions(-)