Tried that repeatedly, usb-storage still comes up in high speed mode. (I temporarily disabled VBUS_5V0_USBC by simulation an over-current via the FLG pin. I hope that was what you had in mind).
I also run one trial with changing vbus-2-supply to &vdd_usb2_5v in tegra186-quill-power-tree-p3310-1000-a00-00.dtsi (contrary to bbasu’s suggestion in https://devtalk.nvidia.com/default/topic/1001771/jetson-tx2/no-usb-support-on-custom-base-carrier-board/post/5117706/#5117706 without getting different behaviour.
pinctrl@3520000 {
vbus-0-supply = <&vdd_usb0_5v>;
vbus-1-supply = <&vdd_usb1_5v>;
<b> vbus-2-supply = <&vdd_usb2_5v>;</b>
vbus-3-supply = <&battery_reg>;
vddio-hsic-supply = <&battery_reg>;
avdd_usb-supply = <&spmic_sd3>;
vclamp_usb-supply = <&spmic_sd2>;
avdd_pll_erefeut-supply = <&spmic_sd2>;
};
As all three power branches get switched correctly, I wonder if I am looking in the right place.
Is tegra186-quill-kernel-4.9.dtsi relevant for my configuration?
ports {
usb2-0 {
status = "okay";
mode = "otg";
};
usb2-1 {
status = "okay";
mode = "host";
vbus-supply = <&vdd_usb1_5v>;
};
usb2-2 {
status = "disabled";
mode = "host";
vbus-supply = <&vdd_usb2_5v>;
};
usb3-0 {
nvidia,usb2-companion = <2>;
status = "disabled";
};
usb3-1 {
nvidia,usb2-companion = <1>;
status = "okay";
};
usb3-2 {
status = "disabled";
};
};