cpufreq: ti-cpufreq: omap36xx use "cpu0","vbb" if run in multi_regulator mode
authorH. Nikolaus Schaller <hns@goldelico.com>
Wed, 11 Sep 2019 17:47:11 +0000 (19:47 +0200)
committerViresh Kumar <viresh.kumar@linaro.org>
Thu, 10 Oct 2019 10:41:51 +0000 (16:11 +0530)
commit42e52616f382a455d64629b156685d5adc21ce85
tree3d7624e756bdd79c21150b76abcbea4e9dc0d79c
parent6ddf6c91e6f884e55d3bb3dcf84ead5bfed273ce
cpufreq: ti-cpufreq: omap36xx use "cpu0","vbb" if run in multi_regulator mode

In preparation for using the multi_regulator capability of
this driver for handling the ABB LDO for OPP1G of the omap36xx
we have to take care that the (legacy) vdd-supply name is
cpu0-supply = <&vcc>;

To do this we add another field to the SoC description table which
optionally can specify a list of regulator names.

For omap36xx we define "cpu0-supply" and "vbb-supply".

The default remains "vdd-supply" and "vbb-supply".

Signed-off-by: H. Nikolaus Schaller <hns@goldelico.com>
Acked-by: Tony Lindgren <tony@atomide.com>
Acked-by: Rob Herring <robh@kernel.org>
Tested-by: Adam Ford <aford173@gmail.com>
Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
Documentation/devicetree/bindings/cpufreq/ti-cpufreq.txt
drivers/cpufreq/ti-cpufreq.c