Skip to content

Commit cec785a

Browse files
Michal Peciothierryreding
authored andcommitted
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 <[email protected]> Signed-off-by: Thierry Reding <[email protected]>
1 parent 40384c8 commit cec785a

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

arch/arm/boot/dts/nvidia/tegra124-nyan.dtsi

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -716,6 +716,7 @@
716716
regulator-name = "+5V_USB_HS";
717717
regulator-min-microvolt = <5000000>;
718718
regulator-max-microvolt = <5000000>;
719+
regulator-boot-on;
719720
gpio = <&gpio TEGRA_GPIO(N, 4) GPIO_ACTIVE_HIGH>;
720721
enable-active-high;
721722
gpio-open-drain;
@@ -727,6 +728,7 @@
727728
regulator-name = "+5V_USB_SS";
728729
regulator-min-microvolt = <5000000>;
729730
regulator-max-microvolt = <5000000>;
731+
regulator-boot-on;
730732
gpio = <&gpio TEGRA_GPIO(N, 5) GPIO_ACTIVE_HIGH>;
731733
enable-active-high;
732734
gpio-open-drain;

0 commit comments

Comments
 (0)