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

Commit e7345e81 authored by Manu Gautam's avatar Manu Gautam Committed by Jack Pham
Browse files

usb: type_c: pericom: Allow enabling chip using GPIO



Driver currently assumes that ENB pin of Pericom chip
is connected to one of the GND pin of type-c receptacle.
Though this allows automatically enabling pericom chip
on plug insertion, but this is recommended by hardware
team due to side effects of leaving a receptacle pin
floating. In addition to this, as per pericom HPG, chip
is reset only on Power-On and when chip is disabled and
then enabled again using ENB pin then it must be reset
using i2c writes. This indirectly enforces the need
to have software control the ENB pin using GPIO.

Change-Id: Iea14f79fd7e7379a3f338922f497440fef0eee37
Signed-off-by: default avatarManu Gautam <mgautam@codeaurora.org>
parent 49355d74
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