Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 8b6c0be8 authored by Manu Gautam's avatar Manu Gautam
Browse files

usb: type_c: Add type-c driver for TI chip



TI chip supports detection of type-c chargers using I2C interface.
Add driver for TI type-c chip to detect and notify type-c chargers
to USB driver using power supply framework.
Also provide an option to disable the TI chip during suspend if state
is not-attached using DT or module param.
Command to enable this at runtime:
  echo 1 >  /sys/module/type_c_ti/parameters/disable_on_suspend
Only side-effect of enabling suspend during LPM is that ID High->Low
transition (or host cable connection) won't be detected when device
is in suspend state. Cable detection will happen when system wakes-up.

Change-Id: I69010ee391543831aa54fd869abbbe06cfb6b594
Signed-off-by: default avatarManu Gautam <mgautam@codeaurora.org>
parent bb29ea15
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment