Skip to content

Commit f24a2ac

Browse files
jckuothierryreding
authored andcommitted
arm64: tegra: Fix USB_VBUS_EN0 regulator on Jetson TX1
USB host mode is broken on the OTG port of Jetson TX1 platform because the USB_VBUS_EN0 regulator (regulator@11) is being overwritten by the vdd-cam-1v2 regulator. This commit rearranges USB_VBUS_EN0 to be regulator@14. Fixes: 257c804 ("arm64: tegra: jetson-tx1: Add camera supplies") Cc: stable@vger.kernel.org Signed-off-by: JC Kuo <jckuo@nvidia.com> Reviewed-by: Jon Hunter <jonathanh@nvidia.com> Signed-off-by: Thierry Reding <treding@nvidia.com>
1 parent 476e23f commit f24a2ac

1 file changed

Lines changed: 10 additions & 10 deletions

File tree

arch/arm64/boot/dts/nvidia/tegra210-p2597.dtsi

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1663,16 +1663,6 @@
16631663
vin-supply = <&vdd_5v0_sys>;
16641664
};
16651665

1666-
vdd_usb_vbus_otg: regulator@11 {
1667-
compatible = "regulator-fixed";
1668-
regulator-name = "USB_VBUS_EN0";
1669-
regulator-min-microvolt = <5000000>;
1670-
regulator-max-microvolt = <5000000>;
1671-
gpio = <&gpio TEGRA_GPIO(CC, 4) GPIO_ACTIVE_HIGH>;
1672-
enable-active-high;
1673-
vin-supply = <&vdd_5v0_sys>;
1674-
};
1675-
16761666
vdd_hdmi: regulator@10 {
16771667
compatible = "regulator-fixed";
16781668
regulator-name = "VDD_HDMI_5V0";
@@ -1712,4 +1702,14 @@
17121702
enable-active-high;
17131703
vin-supply = <&vdd_3v3_sys>;
17141704
};
1705+
1706+
vdd_usb_vbus_otg: regulator@14 {
1707+
compatible = "regulator-fixed";
1708+
regulator-name = "USB_VBUS_EN0";
1709+
regulator-min-microvolt = <5000000>;
1710+
regulator-max-microvolt = <5000000>;
1711+
gpio = <&gpio TEGRA_GPIO(CC, 4) GPIO_ACTIVE_HIGH>;
1712+
enable-active-high;
1713+
vin-supply = <&vdd_5v0_sys>;
1714+
};
17151715
};

0 commit comments

Comments
 (0)