Commit eef91cd
committed
phy: apple: atc: Initialize USB2 PHY for host mode during probe
Now that the upstream Type-C PHY code is getting wider testing we got
reports of USB devices plugged in during boot or those plugged in for
the first time after boot occasionally not working correctly.
For yet to determined reasons this issue disappears if the USB2 PHY is
brought up for USB host mode once during probe. This could be related to
the bootloader (m1n1) initializing the USB-C ports for device mode in
our test environment. On the other hand Sven has discovered that MacOS
sets dwc3 (but not xhci) up and tears it immediately down during boot
even if no device is connected.
Reported-by: James Calligeros <jcalligeros99@gmail.com>
Reported-by: Sven Peter <sven@kernel.org>
Fixes: 8e98ca1 ("phy: apple: Add Apple Type-C PHY")
Signed-off-by: Janne Grunau <j@jannau.net>1 parent 99a157d commit eef91cd
1 file changed
+18
-5
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1788 | 1788 | | |
1789 | 1789 | | |
1790 | 1790 | | |
1791 | | - | |
| 1791 | + | |
1792 | 1792 | | |
1793 | | - | |
1794 | | - | |
1795 | | - | |
1796 | | - | |
1797 | 1793 | | |
1798 | 1794 | | |
1799 | 1795 | | |
| |||
1808 | 1804 | | |
1809 | 1805 | | |
1810 | 1806 | | |
| 1807 | + | |
| 1808 | + | |
| 1809 | + | |
| 1810 | + | |
| 1811 | + | |
| 1812 | + | |
| 1813 | + | |
| 1814 | + | |
| 1815 | + | |
1811 | 1816 | | |
1812 | 1817 | | |
1813 | 1818 | | |
| |||
2226 | 2231 | | |
2227 | 2232 | | |
2228 | 2233 | | |
| 2234 | + | |
| 2235 | + | |
| 2236 | + | |
| 2237 | + | |
| 2238 | + | |
| 2239 | + | |
| 2240 | + | |
| 2241 | + | |
2229 | 2242 | | |
2230 | 2243 | | |
2231 | 2244 | | |
| |||
0 commit comments