+10
−0
drivers/usb/misc/vbus-extcon-genoa.c
0 → 100644
+276
−0
Loading
Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more
Add support for genoa extcon notifier driver which helps to
provide extcon notification to internal drivers based on vbus
detect on genoa msm VBUS_DETECT gpio GPIO19, which is connected
to VBUS of USB type C connector.
The driver handles interrupt on GPIO 19 and register extcon
device for USB and USB_HOST such that dwc3-msm.c can register
VBUS/ID notifier callbacks for cable connection status.
This driver in addition drives GPIOS based on connect D+/D- lines
to Genoa or USB type C connector.
Change-Id: I700f7d98916b96e702bff7937b4600da4a55c331
Signed-off-by:
AKASH KUMAR <quic_akakum@quicinc.com>