mb/msi/ms7d25,7eo6: Fix USB 3.x port mapping
The USB-C port is Gen2x2 and occupies two USB3.x line pairs. The missing second pair caused all the ports to be shifted by one and port 10 not being enabled as USB3.x capable. As a result one of the JUSB3 ports was working in HighSpeed only.
@miczyg1, how can we prove or validate that this patch fixes the issue? I'm completely fine merging based on any tests, your test posted here, my test if I understand how to do that, or maybe even a community test if there is an issue associated.
@miczyg1, how can we prove or validate that this patch fixes the issue? I'm completely fine merging based on any tests, your test posted here, my test if I understand how to do that, or maybe even a community test if there is an issue associated.
The issue has been reported on matrix. The test is simple: USB 3.x device should be visible in the system with USB 3.x speed in any USB 3.x capable port.
The main cause of the changes was the USB 3.x port 10 present on JUSB3, associated with USB 2.0 port 10. When a USB 3.x device was connected to this port, it always appeared as USB 2.0 device (in USB2.0 port 10) instead of USB 3.x device (in USB 3.x port 10).
I have verified the changes using Windows USB Device Tree Viewer. Can also be verified using lsusb on Linux (the device would appear under 3.0 root hub instead of 2.0 root hub).