Commit 8a590d73 authored by Stanley Chang's avatar Stanley Chang Committed by Chanwoo Choi
Browse files

extcon: add Realtek DHC RTD SoC Type-C driver

This patch adds the extcon driver for Realtek DHC (digital home center)
RTD SoCs type-c module. This can be used to detect whether the port is
configured as a downstream or upstream facing port. And notify the status
of extcon to listeners.

Link: https://lore.kernel.org/lkml/20230904051253.23208-2-stanley_chang@realtek.com/


Signed-off-by: default avatarStanley Chang <stanley_chang@realtek.com>
Signed-off-by: default avatarChanwoo Choi <cw00.choi@samsung.com>
parent 8a749fd1
Loading
Loading
Loading
Loading
+11 −0
Original line number Diff line number Diff line
@@ -191,4 +191,15 @@ config EXTCON_USBC_TUSB320
	  Say Y here to enable support for USB Type C cable detection extcon
	  support using a TUSB320.

config EXTCON_RTK_TYPE_C
	tristate "Realtek RTD SoC extcon Type-C Driver"
	depends on ARCH_REALTEK || COMPILE_TEST
	depends on TYPEC
	select USB_COMMON
	help
	  Say Y here to enable extcon support for USB Type C cable detection
	  when using the Realtek RTD SoC USB Type-C port.
	  The DHC (Digital Home Hub) RTD series SoC contains a type c module.
	  This driver will detect the status of the type-c port.

endif
+1 −0
Original line number Diff line number Diff line
@@ -25,3 +25,4 @@ obj-$(CONFIG_EXTCON_SM5502) += extcon-sm5502.o
obj-$(CONFIG_EXTCON_USB_GPIO)	+= extcon-usb-gpio.o
obj-$(CONFIG_EXTCON_USBC_CROS_EC) += extcon-usbc-cros-ec.o
obj-$(CONFIG_EXTCON_USBC_TUSB320) += extcon-usbc-tusb320.o
obj-$(CONFIG_EXTCON_RTK_TYPE_C) += extcon-rtk-type-c.o
+1792 −0

File added.

Preview size limit exceeded, changes collapsed.