[U-Boot] [PATCH 2/2] rockchip: dts: rk3399-puma: add a 'xhci, port-power' stringlist for USB1

Philipp Tomsich philipp.tomsich at theobroma-systems.com
Mon Nov 6 22:04:41 UTC 2017


USB1 is connected to the on-module USB 3.0 hub and power to the hub
should be controlled via setting/clearing the FEAT_POWER flag in the
root hub.

This adds a 'xhci,port-power' stringlist to enable the infrastructure
in xhci.c to find and control the fixed regulator associated with
control of the USB hub.

Signed-off-by: Philipp Tomsich <philipp.tomsich at theobroma-systems.com>
---

 arch/arm/dts/rk3399-puma.dtsi | 1 +
 1 file changed, 1 insertion(+)

diff --git a/arch/arm/dts/rk3399-puma.dtsi b/arch/arm/dts/rk3399-puma.dtsi
index 45400fd..84b4fce 100644
--- a/arch/arm/dts/rk3399-puma.dtsi
+++ b/arch/arm/dts/rk3399-puma.dtsi
@@ -545,6 +545,7 @@
 
 &dwc3_typec1 {
 	status = "okay";
+	xhci,port-power = "usbhub_enable";
 };
 
 &vopb {
-- 
2.1.4



More information about the U-Boot mailing list