linux/drivers/usb
Frank Wang 765b15bf79 usb: typec: tcpm: amend pd negotiated revision
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
2023-01-11 09:49:04 +08:00
..
atm
c67x00
cdns3 usb: cdns3: fix race condition before setting doorbell 2021-10-06 15:55:46 +02:00
chipidea usb: chipidea: ci_hdrc_imx: fix potential error pointer dereference in probe 2021-12-01 09:18:59 +01:00
class usb: usbtmc: Fix bug in pipe direction for control transfers 2022-03-23 09:13:29 +01:00
common FROMGIT: usb: common: usb-conn-gpio: Allow wakeup from system suspend 2022-06-22 15:28:39 +00:00
core USB: quirks: add quirk auto suspend for Sonix webcam 2022-09-28 16:34:26 +08:00
dwc2 usb: dwc2: gadget: Disable nak interrupt when get first isoc in token 2022-12-19 09:37:39 +08:00
dwc3 usb: dwc3: gadget: fix deadlock in kick transfer 2022-11-16 16:09:26 +08:00
early Revert "usb: early: convert to readl_poll_timeout_atomic()" 2021-12-22 09:30:56 +01:00
gadget usb: gadget: uvc: wait for req complete before free req 2022-11-16 10:13:37 +08:00
host usb: host: ehci-platform: fix companion-device leak for rockchip 2022-10-11 16:38:35 +08:00
image
isp1760
misc usb: ftdi-elan: fix memory leak on device disconnect 2022-01-27 10:53:58 +01:00
mon
mtu3 usb: mtu3: fix interval value for intr and isoc 2022-01-11 15:25:02 +01:00
musb usb: musb: tusb6010: check return value after calling platform_get_resource() 2021-11-26 10:39:08 +01:00
phy usb: phy: tahvo: add IRQ check 2021-09-15 09:50:40 +02:00
renesas_usbhs usb: renesas_usbhs: Fix superfluous irqs happen after usb_pkt_pop() 2021-07-28 14:35:44 +02:00
roles usb: roles: Call try_module_get() from usb_role_switch_find_by_fwnode() 2021-05-14 09:49:55 +02:00
serial USB: serial: simple: add Nokia phone driver 2022-04-08 14:39:46 +02:00
storage Merge tag 'ASB-2022-06-05_12-5.10' of https://android.googlesource.com/kernel/common 2022-07-15 17:58:38 +08:00
typec usb: typec: tcpm: amend pd negotiated revision 2023-01-11 09:49:04 +08:00
usbip usbip:vhci_hcd USB port can get stuck in the disabled state 2021-09-18 13:40:33 +02:00
Kconfig
Makefile
usb-skeleton.c