]> git.karo-electronics.de Git - linux-beck.git/commitdiff
ARM: dts: Improve Peach Pit and Pi power scheme
authorJavier Martinez Canillas <javier.martinez@collabora.co.uk>
Mon, 18 Aug 2014 18:26:51 +0000 (13:26 -0500)
committerKukjin Kim <kgene.kim@samsung.com>
Mon, 18 Aug 2014 19:14:57 +0000 (14:14 -0500)
The DeviceTree files for the Peach Pit and Pi machines have
a simplistic model of the connections between the different
regulators since not all the tps65090 regulators get their
input supply voltage from the VDC. DCDC1-3, LD0-1 and fet7
parent supply is indded VDC but the fet1-6 get their input
supply from the DCDC1 and DCDC2 output voltage rails.

Update the DeviceTree to better reflect the real connections
between tps65090 regulators. Having this information in the
DTS is useful since FETs are switches that don't provide an
output voltage so the regulator core needs to fetch the FET
parent output voltage if the child voltage is queried.

Signed-off-by: Javier Martinez Canillas <javier.martinez@collabora.co.uk>
Acked-by: Mark Brown <broonie@linaro.org>
Acked-by: Doug Anderson <dianders@chromium.org>
Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
arch/arm/boot/dts/exynos5420-peach-pit.dts
arch/arm/boot/dts/exynos5800-peach-pi.dts

index 7b1ed2c1baf566bb66b7de4bf81a5e066119c1cf..ab0614841113a304abc4856d522dce22f7b9f015 100644 (file)
                                vsys2-supply = <&vbat>;
                                vsys3-supply = <&vbat>;
                                infet1-supply = <&vbat>;
-                               infet2-supply = <&vbat>;
-                               infet3-supply = <&vbat>;
-                               infet4-supply = <&vbat>;
-                               infet5-supply = <&vbat>;
-                               infet6-supply = <&vbat>;
-                               infet7-supply = <&vbat>;
+                               infet2-supply = <&tps65090_dcdc1>;
+                               infet3-supply = <&tps65090_dcdc2>;
+                               infet4-supply = <&tps65090_dcdc2>;
+                               infet5-supply = <&tps65090_dcdc2>;
+                               infet6-supply = <&tps65090_dcdc2>;
+                               infet7-supply = <&tps65090_dcdc1>;
                                vsys-l1-supply = <&vbat>;
                                vsys-l2-supply = <&vbat>;
 
index a587dd6dbcc549869f81bd7d1a889a1558d3b097..9ae98aa8b1714dc69a11f15ec7b40a7c0b41dbb5 100644 (file)
                                vsys2-supply = <&vbat>;
                                vsys3-supply = <&vbat>;
                                infet1-supply = <&vbat>;
-                               infet2-supply = <&vbat>;
-                               infet3-supply = <&vbat>;
-                               infet4-supply = <&vbat>;
-                               infet5-supply = <&vbat>;
-                               infet6-supply = <&vbat>;
-                               infet7-supply = <&vbat>;
+                               infet2-supply = <&tps65090_dcdc1>;
+                               infet3-supply = <&tps65090_dcdc2>;
+                               infet4-supply = <&tps65090_dcdc2>;
+                               infet5-supply = <&tps65090_dcdc2>;
+                               infet6-supply = <&tps65090_dcdc2>;
+                               infet7-supply = <&tps65090_dcdc1>;
                                vsys-l1-supply = <&vbat>;
                                vsys-l2-supply = <&vbat>;