mirror of
https://github.com/torvalds/linux.git
synced 2026-05-22 06:01:53 +02:00
ARM: tegra: nyan: Maintain power to USB ports on boot
USB ports are turned on by the firmware as it looks for disks to boot, ensure that they aren't power cycled before the xHCI driver comes up. This enables USB devices to be ready for use faster and reduces wear and risk of data loss on storage devices. A particularly annoying case was booting from a mechanical disk, which takes time to spin up again. Vendor kernel also kept these ports powered, and by the same means. Signed-off-by: Michal Pecio <michal.pecio@gmail.com> Signed-off-by: Thierry Reding <treding@nvidia.com>
This commit is contained in:
parent
40384c840e
commit
cec785a7f2
|
|
@ -716,6 +716,7 @@ vdd_usb1_vbus: regulator-usb1 {
|
|||
regulator-name = "+5V_USB_HS";
|
||||
regulator-min-microvolt = <5000000>;
|
||||
regulator-max-microvolt = <5000000>;
|
||||
regulator-boot-on;
|
||||
gpio = <&gpio TEGRA_GPIO(N, 4) GPIO_ACTIVE_HIGH>;
|
||||
enable-active-high;
|
||||
gpio-open-drain;
|
||||
|
|
@ -727,6 +728,7 @@ vdd_usb3_vbus: regulator-usb3 {
|
|||
regulator-name = "+5V_USB_SS";
|
||||
regulator-min-microvolt = <5000000>;
|
||||
regulator-max-microvolt = <5000000>;
|
||||
regulator-boot-on;
|
||||
gpio = <&gpio TEGRA_GPIO(N, 5) GPIO_ACTIVE_HIGH>;
|
||||
enable-active-high;
|
||||
gpio-open-drain;
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user