]> git.ipfire.org Git - thirdparty/kernel/stable.git/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)
committerLuis Henriques <luis.henriques@canonical.com>
Mon, 23 Mar 2015 15:16:59 +0000 (15:16 +0000)
commit 40f737791d4dab26bf23a6331609c604142228bd upstream.

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.

Signed-off-by: Peter Chen <peter.chen@freescale.com>
Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
Signed-off-by: Luis Henriques <luis.henriques@canonical.com>
arch/arm/boot/dts/imx6qdl-sabresd.dtsi

index 40ea36534643c84d7761c01a340df6fbef70e105..c3752cdb8b93b9b1fc5727cc4e3cb7ba44fa52b3 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 {