diff options
author | Shaocheng Wang <shaocheng.wang@mediatek.corp-partner.google.com> | 2023-02-17 15:42:25 +0800 |
---|---|---|
committer | Rex-BC Chen <rex-bc.chen@mediatek.com> | 2023-02-22 03:18:11 +0000 |
commit | ed2b6a5a17fd71e6069f3aa017341694e77df777 (patch) | |
tree | 25abac3deb3bacdb6b83a4ab03c29fb636f0a37c /src/soc/amd/glinda/mca.c | |
parent | 8b4154c1d2914c67d76cd9467457ea3d2815f47a (diff) |
soc/mediatek/mt8188: Fix USB2 detection issue
MT8188 supports port0/port1 download. The hardware needs a trapping pin
to select the port to use. When port1 is selected, the phy of port1 will
be switched to port0. That is, port1 connector will be the physical line
of port0. Since port0 phy isn't initialized in coreboot, switch back to
port1 phy.
BUG=b:269059211
TEST=can detect USB2 devices in depthcharge.
Change-Id: Ic97d0bd9d0233883196b2e73ac2a22cd8ea9466b
Signed-off-by: Shaocheng Wang <shaocheng.wang@mediatek.corp-partner.google.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/73170
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Rex-BC Chen <rex-bc.chen@mediatek.com>
Reviewed-by: Yu-Ping Wu <yupingso@google.com>
Reviewed-by: Yidi Lin <yidilin@google.com>
Diffstat (limited to 'src/soc/amd/glinda/mca.c')
0 files changed, 0 insertions, 0 deletions