PM / OPP: Initialize OPP table from device tree
authorShawn Guo <shawn.guo@linaro.org>
Tue, 4 Sep 2012 23:09:12 +0000 (01:09 +0200)
committerRafael J. Wysocki <rjw@sisk.pl>
Sun, 9 Sep 2012 20:06:33 +0000 (22:06 +0200)
commitb496dfbc94ab86f970ef0167eaabe51f930aa5fb
tree3ce7bdb6847fbcff3f46935ebc5b5c17da23d31d
parentec971ea5f2426a0bf9d5cca9a103743918c12978
PM / OPP: Initialize OPP table from device tree

With a lot of devices booting from device tree nowadays, it requires
that OPP table can be initialized from device tree.  The patch adds
a helper function of_init_opp_table together with a binding doc for
that purpose.

Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
Acked-by: Rob Herring <rob.herring@calxeda.com>
Signed-off-by: Rafael J. Wysocki <rjw@sisk.pl>
Documentation/devicetree/bindings/power/opp.txt [new file with mode: 0644]
drivers/base/power/opp.c
include/linux/opp.h