Skip to content
/ linux Public

Commit 12535a5

Browse files
diogoivoSasha Levin
authored andcommitted
arm64: tegra: smaug: Add usb-role-switch support
[ Upstream commit dfa9378 ] The USB2 port on Smaug is configured for OTG operation but lacked the required 'usb-role-switch' property, leading to a failed probe and a non-functioning USB port. Add the property along with setting the default role to host. Signed-off-by: Diogo Ivo <diogo.ivo@tecnico.ulisboa.pt> Signed-off-by: Thierry Reding <treding@nvidia.com> Signed-off-by: Sasha Levin <sashal@kernel.org>
1 parent 1da904e commit 12535a5

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

arch/arm64/boot/dts/nvidia/tegra210-smaug.dts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1724,6 +1724,8 @@
17241724
status = "okay";
17251725
vbus-supply = <&usbc_vbus>;
17261726
mode = "otg";
1727+
usb-role-switch;
1728+
role-switch-default-mode = "host";
17271729
};
17281730

17291731
usb3-0 {

0 commit comments

Comments
 (0)