From: Philipp Tomsich Date: Wed, 22 Nov 2017 16:15:19 +0000 (+0100) Subject: rockchip: dts: rk3399-puma: add a 'tsd, usb-port-power' stringlist for USB1 X-Git-Url: http://git.dujemihanovic.xyz/?a=commitdiff_plain;h=884ad05d34c49ac6c8e21346a63a627c6c9d4c52;p=u-boot.git rockchip: dts: rk3399-puma: add a 'tsd, usb-port-power' stringlist for USB1 USB1 is connected to the on-module USB 3.0 hub and power to the hub (actually it's a reset signal, modeled as a fixed regulator, that will be released) should be enabled only during the first probing of the device to avoid the hub from entering its low-power mode (where it tries to attach on a fixed interval, but we always miss the timeslot when U-Boot has the controller listening). This adds a 'tsd,usb-port-power' stringlist to enable the infrastructure in the board-specific usb_hub_reset_devices to find and control the fixed regulator associated with control of the USB hub. Signed-off-by: Philipp Tomsich Tested-by: Jakob Unterwurzacher --- diff --git a/arch/arm/dts/rk3399-puma.dtsi b/arch/arm/dts/rk3399-puma.dtsi index 96bd4fec01..0f5e6ac57e 100644 --- a/arch/arm/dts/rk3399-puma.dtsi +++ b/arch/arm/dts/rk3399-puma.dtsi @@ -544,6 +544,7 @@ &dwc3_typec1 { status = "okay"; + tsd,usb-port-power = "usbhub_enable"; }; &vopb {