power: smb5: initialize Type-C to DRP mode on boot
When the device is shutdown/reboot with a charger connected, some of the
charger related PMIC configurations won't get reset because VBUS is
present.
This can cause issues like detecting a sink device. Currently, Type-C/PMIC
is always forced into sink mode right before shutdown, which, if not
altered after boot, will fail subsequent sink device connections.
Fix it by resetting Type-C to DRP mode on boot.
CRs-Fixed: 2364374
Change-Id: Ibed56ca63582e60f0b0f9e738bd1f01a3cca799a
Signed-off-by:
Harry Yang <harryy@codeaurora.org>
Loading
Please register or sign in to comment