Commit f24a2acc authored by JC Kuo's avatar JC Kuo Committed by Thierry Reding
Browse files

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: 257c8047 ("arm64: tegra: jetson-tx1: Add camera supplies")
Cc: stable@vger.kernel.org
Signed-off-by: default avatarJC Kuo <jckuo@nvidia.com>
Reviewed-by: default avatarJon Hunter <jonathanh@nvidia.com>
Signed-off-by: default avatarThierry Reding <treding@nvidia.com>
parent 476e23f4
Loading
Loading
Loading
Loading
+10 −10
Original line number Diff line number Diff line
@@ -1663,16 +1663,6 @@
		vin-supply = <&vdd_5v0_sys>;
	};

	vdd_usb_vbus_otg: regulator@11 {
		compatible = "regulator-fixed";
		regulator-name = "USB_VBUS_EN0";
		regulator-min-microvolt = <5000000>;
		regulator-max-microvolt = <5000000>;
		gpio = <&gpio TEGRA_GPIO(CC, 4) GPIO_ACTIVE_HIGH>;
		enable-active-high;
		vin-supply = <&vdd_5v0_sys>;
	};

	vdd_hdmi: regulator@10 {
		compatible = "regulator-fixed";
		regulator-name = "VDD_HDMI_5V0";
@@ -1712,4 +1702,14 @@
		enable-active-high;
		vin-supply = <&vdd_3v3_sys>;
	};

	vdd_usb_vbus_otg: regulator@14 {
		compatible = "regulator-fixed";
		regulator-name = "USB_VBUS_EN0";
		regulator-min-microvolt = <5000000>;
		regulator-max-microvolt = <5000000>;
		gpio = <&gpio TEGRA_GPIO(CC, 4) GPIO_ACTIVE_HIGH>;
		enable-active-high;
		vin-supply = <&vdd_5v0_sys>;
	};
};