]> git.hungrycats.org Git - linux/commitdiff
ARM: imx6qdl-sabresd: set swbst_reg as vbus's parent reg
authorPeter Chen <peter.chen@freescale.com>
Fri, 6 Mar 2015 08:04:20 +0000 (16:04 +0800)
committerSasha Levin <sasha.levin@oracle.com>
Sat, 28 Mar 2015 14:22:20 +0000 (10:22 -0400)
[ Upstream commit 40f737791d4dab26bf23a6331609c604142228bd ]

USB vbus 5V is from PMIC SWBST, so set swbst_reg as vbus's
parent reg, it fixed a bug that the voltage of vbus is incorrect
due to swbst_reg is disabled after boots up.

Cc: stable@vger.kernel.org
Signed-off-by: Peter Chen <peter.chen@freescale.com>
Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
Signed-off-by: Sasha Levin <sasha.levin@oracle.com>
arch/arm/boot/dts/imx6qdl-sabresd.dtsi

index baf2f00d519adf8e763129509b1dd912535d4f5f..b57e554dba4e6623452d634c6ad1920f5ae5a81b 100644 (file)
@@ -35,6 +35,7 @@
                        regulator-max-microvolt = <5000000>;
                        gpio = <&gpio3 22 0>;
                        enable-active-high;
+                       vin-supply = <&swbst_reg>;
                };
 
                reg_usb_h1_vbus: regulator@1 {
@@ -45,6 +46,7 @@
                        regulator-max-microvolt = <5000000>;
                        gpio = <&gpio1 29 0>;
                        enable-active-high;
+                       vin-supply = <&swbst_reg>;
                };
 
                reg_audio: regulator@2 {