mirror of
git://git.kernel.org/pub/scm/linux/kernel/git/xiang/erofs.git
synced 2026-10-29 05:12:59 +01:00
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 <[email protected]> Tested-by: Nagarjuna Kristam <[email protected]> Reviewed-by: Linus Walleij <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Greg Kroah-Hartman <[email protected]>
14 lines
362 B
Makefile
14 lines
362 B
Makefile
# SPDX-License-Identifier: GPL-2.0
|
|
#
|
|
# Makefile for the usb common parts.
|
|
#
|
|
|
|
obj-$(CONFIG_USB_COMMON) += usb-common.o
|
|
usb-common-y += common.o
|
|
usb-common-$(CONFIG_TRACING) += debug.o
|
|
usb-common-$(CONFIG_USB_LED_TRIG) += led.o
|
|
|
|
obj-$(CONFIG_USB_CONN_GPIO) += usb-conn-gpio.o
|
|
obj-$(CONFIG_USB_OTG_FSM) += usb-otg-fsm.o
|
|
obj-$(CONFIG_USB_ULPI_BUS) += ulpi.o
|