PM / OPP: Rename OPP nodes as opp@<opp-hz>
authorViresh Kumar <viresh.kumar@linaro.org>
Wed, 11 Nov 2015 02:40:57 +0000 (08:10 +0530)
committerAlex Shi <alex.shi@linaro.org>
Fri, 8 Apr 2016 03:22:03 +0000 (11:22 +0800)
commit068d12e6dda9460ac0be82d25b9ec2dccbf7f197
tree94693a24bb86721ab50776d74aa35bc76351324e
parent2e86d07d460dbb7949fceffdac7845395d22b4d6
PM / OPP: Rename OPP nodes as opp@<opp-hz>

It would be better to name OPP nodes as opp@<opp-hz> as that will ensure
that multiple DT nodes don't contain the same frequency. Of course we
expect the writer to name the node with its opp-hz frequency and not any
other frequency.

And that will let the compile error out if multiple nodes are using the
same opp-hz frequency.

Suggested-by: Stephen Boyd <sboyd@codeaurora.org>
Reviewed-by: Stephen Boyd <sboyd@codeaurora.org>
Acked-by: Rob Herring <robh@kernel.org>
Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
(cherry picked from commit 754dcf35f34698661801ae1d391efa02affe83a7)
Signed-off-by: Alex Shi <alex.shi@linaro.org>
Documentation/devicetree/bindings/opp/opp.txt