]> git.ipfire.org Git - people/ms/u-boot.git/commitdiff
rockchip: dts: rk3399-puma: add a 'tsd, usb-port-power' stringlist for USB1
authorPhilipp Tomsich <philipp.tomsich@theobroma-systems.com>
Wed, 22 Nov 2017 16:15:19 +0000 (17:15 +0100)
committerPhilipp Tomsich <philipp.tomsich@theobroma-systems.com>
Thu, 30 Nov 2017 21:55:27 +0000 (22:55 +0100)
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 <philipp.tomsich@theobroma-systems.com>
Tested-by: Jakob Unterwurzacher <jakob.unterwurzacher@theobroma-systems.com>
arch/arm/dts/rk3399-puma.dtsi

index 96bd4fec01d1734560b779324f4a79e492592bb2..0f5e6ac57ee1e6589c6064ea7f62407e7bc6ccc3 100644 (file)
 
 &dwc3_typec1 {
        status = "okay";
+       tsd,usb-port-power = "usbhub_enable";
 };
 
 &vopb {