extcon: add Realtek DHC RTD SoC Type-C driver
authorStanley Chang <stanley_chang@realtek.com>
Mon, 4 Sep 2023 05:12:47 +0000 (13:12 +0800)
committerChanwoo Choi <cw00.choi@samsung.com>
Fri, 6 Oct 2023 02:25:11 +0000 (11:25 +0900)
commit8a590d7371f02ba37d073bed9f988f529f95a03c
treeb1c0133b3729f2594f27cf29f91a2eed827a01f2
parent8a749fd1a8720d4619c91c8b6e7528c0a355c0aa
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>
drivers/extcon/Kconfig
drivers/extcon/Makefile
drivers/extcon/extcon-rtk-type-c.c [new file with mode: 0644]