Commit 2ad915e
committed
usb: typec: tipd: Do not request duplicate role switches
The cd321x on M2 and M1 and M2 Pro/Max/Ultra devices generate additional
interrupts with data and power updates. Data and power status registers
change but only in unknown bits.
When connecting an USB3 device the bit 31 in TPS_REG_DATA_STATUS is set.
The publically available TRMs for TPS65981, TPS65982, TPS65986,
TPS65987DDH and TPS65988DH describe bit 31 as reserved.
The updated power status has bits 8-11 set. The TPS65987DDH and
TPS65988DH TRM specifies bits 8-9 but 0b11 is a reserved value.
The power status update interrupt arrives 1 second after the initial
plug status interrupt. This exceeds the debounce delay of 500 ms and
results in a repeated USB role switch to host mode.
The DWC3 apple glue driver disconnects the bus at this time.
Signed-off-by: Janne Grunau <j@jannau.net>1 parent 99231e1 commit 2ad915e
1 file changed
Lines changed: 2 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
841 | 841 | | |
842 | 842 | | |
843 | 843 | | |
844 | | - | |
| 844 | + | |
| 845 | + | |
845 | 846 | | |
846 | 847 | | |
847 | 848 | | |
| |||
0 commit comments