Re: [PATCH 2/3] ARM: dts: rockchip: rock2: Setup usb vbus-supply
Am Mittwoch, 5. April 2017, 16:06:11 CEST schrieb Sjoerd Simons: > Now that the rockchip usb phy has a vbus-supply property use that to > control the vbus regulator on rock2. > > Signed-off-by: Sjoerd SimonsI've queued this for 4.13 . Not eligible for 4.12, as the patch alone (when testing my tree or armsoc) would regress the sata-bridge, due to the regulator-always-on going away. Heiko
Re: [PATCH 2/3] ARM: dts: rockchip: rock2: Setup usb vbus-supply
Am Mittwoch, 5. April 2017, 16:06:11 CEST schrieb Sjoerd Simons: > Now that the rockchip usb phy has a vbus-supply property use that to > control the vbus regulator on rock2. > > Signed-off-by: Sjoerd Simons I've queued this for 4.13 . Not eligible for 4.12, as the patch alone (when testing my tree or armsoc) would regress the sata-bridge, due to the regulator-always-on going away. Heiko
[PATCH 2/3] ARM: dts: rockchip: rock2: Setup usb vbus-supply
Now that the rockchip usb phy has a vbus-supply property use that to control the vbus regulator on rock2. Signed-off-by: Sjoerd Simons--- arch/arm/boot/dts/rk3288-rock2-square.dts | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/arch/arm/boot/dts/rk3288-rock2-square.dts b/arch/arm/boot/dts/rk3288-rock2-square.dts index a23a94811be8..8ed25e9f60bc 100644 --- a/arch/arm/boot/dts/rk3288-rock2-square.dts +++ b/arch/arm/boot/dts/rk3288-rock2-square.dts @@ -125,10 +125,6 @@ gpio = < RK_PB6 GPIO_ACTIVE_HIGH>; pinctrl-names = "default"; pinctrl-0 = <_vbus_drv>; - /* Always on as the rockchip usb phy doesn't have a vbus-supply -* property -*/ - regulator-always-on; regulator-name = "vcc_host"; }; @@ -279,6 +275,10 @@ status = "okay"; }; + { + vbus-supply = <_usb_host>; +}; + _host0_ehci { status = "okay"; }; -- 2.11.0
[PATCH 2/3] ARM: dts: rockchip: rock2: Setup usb vbus-supply
Now that the rockchip usb phy has a vbus-supply property use that to control the vbus regulator on rock2. Signed-off-by: Sjoerd Simons --- arch/arm/boot/dts/rk3288-rock2-square.dts | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/arch/arm/boot/dts/rk3288-rock2-square.dts b/arch/arm/boot/dts/rk3288-rock2-square.dts index a23a94811be8..8ed25e9f60bc 100644 --- a/arch/arm/boot/dts/rk3288-rock2-square.dts +++ b/arch/arm/boot/dts/rk3288-rock2-square.dts @@ -125,10 +125,6 @@ gpio = < RK_PB6 GPIO_ACTIVE_HIGH>; pinctrl-names = "default"; pinctrl-0 = <_vbus_drv>; - /* Always on as the rockchip usb phy doesn't have a vbus-supply -* property -*/ - regulator-always-on; regulator-name = "vcc_host"; }; @@ -279,6 +275,10 @@ status = "okay"; }; + { + vbus-supply = <_usb_host>; +}; + _host0_ehci { status = "okay"; }; -- 2.11.0