OpenCloudOS-Kernel/drivers/usb
Chunfeng Yun 4602f3bff2 usb: common: add USB GPIO based connection detection driver
Due to the requirement of usb-connector.txt binding, the old way
using extcon to support USB Dual-Role switch is now deprecated
when use Type-B connector.
This patch introduces a USB GPIO based connection detection driver,
used to support Type-B connector which typically uses an input GPIO
to detect USB ID pin, and try to replace the function provided
by the extcon-usb-gpio driver

Signed-off-by: Chunfeng Yun <chunfeng.yun@mediatek.com>
Tested-by: Nagarjuna Kristam <nkristam@nvidia.com>
Reviewed-by: Linus Walleij <linus.walleij@linaro.org>
Link: https://lore.kernel.org/r/1567070558-29417-11-git-send-email-chunfeng.yun@mediatek.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2019-09-03 19:01:04 +02:00
..
atm USB: atm: cxacru: convert to use dev_groups 2019-08-09 07:55:45 +02:00
c67x00 USB: add SPDX identifiers to all remaining Makefiles 2017-11-07 15:53:48 +01:00
cdns3 usb: cdns3: fix spelling mistake: "cnfiguration" -> "configuration" 2019-09-03 15:46:46 +02:00
chipidea usb: chipidea: msm: Use device-managed registration API 2019-09-03 15:53:27 +02:00
class Merge 5.3-rc7 into usb-next 2019-09-02 19:31:18 +02:00
common usb: common: add USB GPIO based connection detection driver 2019-09-03 19:01:04 +02:00
core Merge generic_lookup_helpers into usb-next 2019-09-03 17:11:07 +02:00
dwc2 USB: Changes for v5.4 merge window 2019-09-02 19:20:57 +02:00
dwc3 usb: dwc3: remove generic PHY calibrate() calls 2019-09-03 15:54:56 +02:00
early drivers: Remove explicit invocations of mmiowb() 2019-04-08 12:01:02 +01:00
gadget USB: Changes for v5.4 merge window 2019-09-02 19:20:57 +02:00
host xhci-ext-caps.c: Add property to disable Intel SW switch 2019-09-03 15:56:03 +02:00
image scsi: usb: image: microtek: use sg helper to iterate over scatterlist 2019-06-20 15:21:32 -04:00
isp1760 usb: add a HCD_DMA flag instead of guestimating DMA capabilities 2019-08-21 10:03:35 -07:00
misc Merge 5.3-rc4 into usb-next 2019-08-12 07:42:51 +02:00
mon docs: usb: rename files to .rst and add them to drivers-api 2019-06-20 14:28:36 +02:00
mtu3 usb: Remove dev_err() usage after platform_get_irq() 2019-07-30 20:29:18 +02:00
musb usb: add a HCD_DMA flag instead of guestimating DMA capabilities 2019-08-21 10:03:35 -07:00
phy USB: Changes for v5.4 merge window 2019-09-02 19:20:57 +02:00
renesas_usbhs usb: add a HCD_DMA flag instead of guestimating DMA capabilities 2019-08-21 10:03:35 -07:00
roles usb: roles: get usb-role-switch from parent 2019-09-03 18:00:43 +02:00
serial USB: serial: option: add the BroadMobi BM818 card 2019-08-15 13:46:22 +02:00
storage usb-storage: use hcd_uses_dma to check for DMA capabilities 2019-09-03 15:26:09 +02:00
typec Merge generic_lookup_helpers into usb-next 2019-09-03 17:11:07 +02:00
usbip usbip: Implement SG support to vhci-hcd and stub driver 2019-09-03 16:00:38 +02:00
Kconfig usb: common: create Kconfig file 2019-09-03 19:00:39 +02:00
Makefile USB: Changes for v5.4 merge window 2019-09-02 19:20:57 +02:00
usb-skeleton.c usb: usb-skeleton: make comment block in line with coding style 2019-08-21 09:57:36 -07:00