Commit 410ac5d8 authored by Peter Chen's avatar Peter Chen Committed by Luis Henriques

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

commit 2de9dd03 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: default avatarPeter Chen <peter.chen@freescale.com>
Signed-off-by: default avatarShawn Guo <shawn.guo@linaro.org>
Signed-off-by: default avatarLuis Henriques <luis.henriques@canonical.com>
parent 4a3082e1
...@@ -45,6 +45,7 @@ reg_usb_otg1_vbus: regulator@0 { ...@@ -45,6 +45,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 {
...@@ -55,6 +56,7 @@ reg_usb_otg2_vbus: regulator@1 { ...@@ -55,6 +56,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