mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-12-14 14:34:28 +08:00
4602f3bff2
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>
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
|