[PATCH 5/6] ARM: dts: Improve cros-tps65090 power scheme

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




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@xxxxxxxxxxxxxxx>
---
 arch/arm/boot/dts/cros-tps65090.dtsi | 12 ++++++------
 1 file changed, 6 insertions(+), 6 deletions(-)

diff --git a/arch/arm/boot/dts/cros-tps65090.dtsi b/arch/arm/boot/dts/cros-tps65090.dtsi
index 99df15e..14418b0 100644
--- a/arch/arm/boot/dts/cros-tps65090.dtsi
+++ b/arch/arm/boot/dts/cros-tps65090.dtsi
@@ -30,12 +30,12 @@
 	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>;
 };
-- 
2.0.0.rc2

--
To unsubscribe from this list: send the line "unsubscribe devicetree" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Device Tree Compilter]     [Device Tree Spec]     [Linux Driver Backports]     [Video for Linux]     [Linux USB Devel]     [Linux PCI Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [XFree86]     [Yosemite Backpacking]
  Powered by Linux