summaryrefslogtreecommitdiff
path: root/drivers/extcon/Kconfig
diff options
context:
space:
mode:
authorStanley Chang <stanley_chang@realtek.com>2023-09-04 13:12:47 +0800
committerChanwoo Choi <cw00.choi@samsung.com>2023-10-06 11:25:11 +0900
commit8a590d7371f02ba37d073bed9f988f529f95a03c (patch)
treeb1c0133b3729f2594f27cf29f91a2eed827a01f2 /drivers/extcon/Kconfig
parent8a749fd1a8720d4619c91c8b6e7528c0a355c0aa (diff)
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: Stanley Chang <stanley_chang@realtek.com> Signed-off-by: Chanwoo Choi <cw00.choi@samsung.com>
Diffstat (limited to 'drivers/extcon/Kconfig')
-rw-r--r--drivers/extcon/Kconfig11
1 files changed, 11 insertions, 0 deletions
diff --git a/drivers/extcon/Kconfig b/drivers/extcon/Kconfig
index 8de9023c2a38..5f869eacd19a 100644
--- a/drivers/extcon/Kconfig
+++ b/drivers/extcon/Kconfig
@@ -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