Skip to content

Commit c03e017

Browse files
committed
extcon: rt8973a: Add Richtek RT8973A extcon driver
This patch add support for Richtek RT8973A which is Micro USB Switch OVP and i2c interface. The RT8973A is a USB port accessory detector and switch that is optimized to protect low voltage system from abnormal high input voltage (up to 28V) and supports high speed USB operation. Also, RT8973A support 'auto-configuration' mode. If auto-configuration mode is enabled, RT8973A would control internal h/w patch for USB D-/D+ switching. Signed-off-by: Chanwoo Choi <cw00.choi@samsung.com> Signed-off-by: Seung-Woo Kim <sw0312.kim@samsung.com> Acked-by: Kyungmin Park <kyungmin.park@samsung.com>
1 parent fbae30d commit c03e017

4 files changed

Lines changed: 956 additions & 0 deletions

File tree

drivers/extcon/Kconfig

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,18 @@ config EXTCON_PALMAS
7070
Say Y here to enable support for USB peripheral and USB host
7171
detection by palmas usb.
7272

73+
config EXTCON_RT8973A
74+
tristate "RT8973A EXTCON support"
75+
depends on I2C
76+
select IRQ_DOMAIN
77+
select REGMAP_I2C
78+
select REGMAP_IRQ
79+
help
80+
If you say yes here you get support for the MUIC device of
81+
Richtek RT8973A. The RT8973A is a USB port accessory detector
82+
and switch that is optimized to protect low voltage system
83+
from abnormal high input voltage (up to 28V).
84+
7385
config EXTCON_SM5502
7486
tristate "SM5502 EXTCON support"
7587
depends on I2C

drivers/extcon/Makefile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,4 +10,5 @@ obj-$(CONFIG_EXTCON_MAX14577) += extcon-max14577.o
1010
obj-$(CONFIG_EXTCON_MAX77693) += extcon-max77693.o
1111
obj-$(CONFIG_EXTCON_MAX8997) += extcon-max8997.o
1212
obj-$(CONFIG_EXTCON_PALMAS) += extcon-palmas.o
13+
obj-$(CONFIG_EXTCON_RT8973A) += extcon-rt8973a.o
1314
obj-$(CONFIG_EXTCON_SM5502) += extcon-sm5502.o

0 commit comments

Comments
 (0)