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.toms...@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

_______________________________________________
U-Boot mailing list
U-Boot@lists.denx.de
https://lists.denx.de/listinfo/u-boot

Reply via email to