mirror of
https://github.com/torvalds/linux.git
synced 2026-06-11 08:03:05 +02:00
Try to get the maximum PD revision which Type-C controller can support from DT, and use this value to init the PD negotiated revision instead of hard coded values 0x0300 (PD3.0). This can fix at least the following two Type-C controllers issues: 1. FUSB302 failed to response PD Message "Get Source Cap Ext" if used the default negotiated revision PD_MAX_REV (PD_REV30) with MacBook (test on macOS 12.2.1). 2. ET7301B failed to detect the voltage status of the measured CC pin for vRd-3.0 if used the default negotiated revision PD_MAX_REV (PD_REV30) with some Type-C DP monitors. Signed-off-by: Frank Wang <frank.wang@rock-chips.com> Signed-off-by: William Wu <william.wu@rock-chips.com> Change-Id: I2c9bcc06ff2b3d678a6eab5013cec7f45cbda3dd |
||
|---|---|---|
| .. | ||
| atm | ||
| c67x00 | ||
| cdns3 | ||
| chipidea | ||
| class | ||
| common | ||
| core | ||
| dwc2 | ||
| dwc3 | ||
| early | ||
| gadget | ||
| host | ||
| image | ||
| isp1760 | ||
| misc | ||
| mon | ||
| mtu3 | ||
| musb | ||
| phy | ||
| renesas_usbhs | ||
| roles | ||
| serial | ||
| storage | ||
| typec | ||
| usbip | ||
| Kconfig | ||
| Makefile | ||
| usb-skeleton.c | ||