Commit 2de9dd03 authored by Peter Chen's avatar Peter Chen Committed by Shawn Guo

ARM: imx6sl-evk: set swbst_reg as vbus's parent reg

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: default avatarPeter Chen <peter.chen@freescale.com>
Signed-off-by: default avatarShawn Guo <shawn.guo@linaro.org>
parent 40f73779
...@@ -52,6 +52,7 @@ reg_usb_otg1_vbus: regulator@0 { ...@@ -52,6 +52,7 @@ reg_usb_otg1_vbus: regulator@0 {
regulator-max-microvolt = <5000000>; regulator-max-microvolt = <5000000>;
gpio = <&gpio4 0 0>; gpio = <&gpio4 0 0>;
enable-active-high; enable-active-high;
vin-supply = <&swbst_reg>;
}; };
reg_usb_otg2_vbus: regulator@1 { reg_usb_otg2_vbus: regulator@1 {
...@@ -62,6 +63,7 @@ reg_usb_otg2_vbus: regulator@1 { ...@@ -62,6 +63,7 @@ reg_usb_otg2_vbus: regulator@1 {
regulator-max-microvolt = <5000000>; regulator-max-microvolt = <5000000>;
gpio = <&gpio4 2 0>; gpio = <&gpio4 2 0>;
enable-active-high; enable-active-high;
vin-supply = <&swbst_reg>;
}; };
reg_aud3v: regulator@2 { reg_aud3v: regulator@2 {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment